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

Reg. BDC

Former Member
0 Likes
414

Hi,

I am going through the work that is done by previous developer and have a question. He is trying to update some values on delivery through BDC by call transaction statement. I see before the BDC, he is using the statement "PERFORM bdcnodata USING nodata" .The perform statement contains the below code:(with data declaration in the global, DATA: nodata_character VALUE '/'.)

FORM bdc_nodata USING p_nodata.

nodata_character = p_nodata.

ENDFORM. "BDCNODATA

Can you tell me what the above statement does? I understand about the other BDC code but coud not figure out why is this needed? Please give your input.

Thanks a lot!

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
390

Hi,

he is trying to assing a value to the variable.

If you give little more clear about your question as well the code, we can help u.

regards,

sri..

3 REPLIES 3
Read only

Former Member
0 Likes
391

Hi,

he is trying to assing a value to the variable.

If you give little more clear about your question as well the code, we can help u.

regards,

sri..

Read only

0 Likes
390

You're better off doing a where-used on the nodata_character variable, all the form does is set the global variable nodata_character with the value of the import parameter

Since a single line form is pretty pointless, I wouldn't be surprised if this isn't needed at all

Read only

Former Member
0 Likes
390

hi

I think its a parameter field in the transaction you r calling.

By default the value for that parameter is '/', where as if user enters any value or the text file hav any value, prog. take it.

Do the where used on 'nodata_character' nd find out how it used in the remaining prog.

If u send us the complete code, that ll be helpful.

Thank-You

reward points if helpful

regards

vinsee