Application Development 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: 

Problems with BDC in F110v

p_2_5_6_9_6_0
Active Participant
0 Kudos

Hi Experts,

I'm running a BDC involving the structure / screen F110V. I'm using the following line of code to check my program name:

.....IF F110V-PROGN = 'RFF0AVIS' ....

However, F110V-PROGN is always a blank string and the condition is never satisfied. Am I checking the correct value off the screen field or is there a correction? How do I check the PROGN field for a particular value?

Any help would be greatly appreciated. Thanks.

7 REPLIES 7

Former Member
0 Kudos

First try recording your transaction with SHDB. Take the same value which got recorded and put in your BDC. It should work.

Thanks,

Santosh

0 Kudos

Hi Santosh,

Thanks for the quick reply.

I did, indeed, record a BDC with the said fields so that I could get the field name (PROGN).However I want to execute different logic based on the value of the F110V-PROGN.

The condition always fails due to the fact that the screen field value is always a blank.

Any comments? Thanks again.

0 Kudos

Batch input is a one way street. You can only send data to the trasnaction. You can't read data from the transaction.

Rob

p_2_5_6_9_6_0
Active Participant
0 Kudos

I am altering the BDC in my report according to the situation .Here ,the situation is I need to check the IF F110V-PROGN = 'RFFOAVIS'. and then perform a particular statement of BDC.

0 Kudos

HI,

I think you should be check the recorded code.

in your case, FNAM might be F110V-PROGN(1)

and FVAL will be 'RFFOAVIS'.

Based on this you can do your coding.

Regards

Subramanian

0 Kudos

Yes. Thanks Experts. It got the job done.

p_2_5_6_9_6_0
Active Participant
0 Kudos

Thanks for all the help