Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Batch Input: Read fields while processing

Former Member
0 Likes
671

Hi,

I recorded a session in transaction and created a function based on this record. Is it possible to read the value of an field (which is filled by SAP)?

I need something like the opposite of the form "bdc_field".

thanks in advance

Martin

2 REPLIES 2
Read only

LucianoBentiveg
Active Contributor
0 Likes
354

Nop... you cant.

May be you can determine that value before fill BDC table.

Regards.

Read only

0 Likes
354

If the field has a parameter defined (Check the Technical Details of the field), then you can usually get the value using the ABAP statement "READ PARAMETER ID'XXX' into field y."

Ensure you put this statement immediately after your "call transaction" statement.

This won't work if your BDC session processed by program RSBDCSUB. You can only try to read it from the BDC session log records, but it has to be in a message that is returned for this to work.

Hope this helps,

Nelson