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

BDC in background

vadrevu_kk
Participant
0 Likes
820

Hi ALl,

Iam getting problem while BDC program is running in background.Its workingfine in foreground and error mode.It gives a message in background "no in put data for screen...."like that with type S and id 00.Can any one help me regarding this.

Thankss in advance.

Kiran.

Hi ALl,

Iam getting problem while BDC program is running in background.Its workingfine in foreground and error mode.It gives a message in background "no in put data for screen...."like that with type S and id 00.Can any one help me regarding this.

Thankss in advance.

Kiran.

5 REPLIES 5
Read only

FredericGirod
Active Contributor
0 Likes
771

Try to record your transaction using trans. SHDB and select the check-box "Simulate background".

Not all the dynpro runs same in background and in foreground. Always check the background simulation: when you record, and when you run bdc in foreground (there is a check box for background simulation)

Fred

Read only

0 Likes
771

Hi Fred,

I have tried this.But still iam getting same message (S 00 344) "No batch input data for screen SAPMF05A 0331" .And the sy-subrc value is 1.001.So please suugest me.

Thanks.

Kiran.

Read only

0 Likes
771

Hi Kiran,

Check all the mandatory fields in screen 'SAPMF05A 0331' are mapped accordingly.

thanks,

Saya

Read only

0 Likes
771

Hi Saya,

There are nomandataory fields in that screen. I have to populate only one field reason code.Even after recording if i test there it self its working fine in foreground and error mode,but in background it gives a message.

Please help me.

Thanks

Kiran.

Read only

Former Member
0 Likes
771

Hi,

As u want to populate a single field in that screen.

Check the screen number and note the field name then write the code like this.

<b>IF <field name > is not initial.

write the PERFORM that comes in the recording.

endif.</b>

this is because u r not populating any data to the filed in that screen.ant how this is a message.u can rectify by doing this code.

reward point if helpfull.

Thanks