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

SAPLSPO4 300 screen not triggering during IDOC_INPUT_ORDERS

Former Member
0 Kudos
599

Hi,

I am loading an incoming IDoc using IDOC_INPUT_ODRERS.This posting FM will in turn call the VA01 using call transaction.

According to our requirement for certain condition types popup screen should trigger .Program and screen names SAPLSPO4 300. So we have added the custom code to populate BDCDATA with these information.

Below is the code

PERFORM DYNPRO_NEW USING 'SAPLSPO4'

'0300'

CHANGING LAST_DYNPRO.

PERFORM DYNPRO_SETZEN USING 'SVALD-VALUE(1)' XKOMV-KOTXT.

PERFORM DYNPRO_SETZEN USING 'BDC_OKCODE' 'FURT'.

But this screen is not getting triggered and if we run in foreground or background mode processing is stopping there and IDoc is ending with status 51...'No batch input for Screen'

Kindly guide me in solving this issue.

Best Regards,

Pradeep

4 REPLIES 4
Read only

Former Member
0 Kudos
434

can anyone give an idea about this ?

Read only

nabheetscn
SAP Champion
SAP Champion
0 Kudos
434

at what position have you appended this data it matters. Since its just a pop up and no user inputs needed can you please create a complelete recording in VA01 for the same and check you BDCDATA structure before calling VA01 are they both same and everything is in same place.

Nabheet

Read only

0 Kudos
434

I cannot do recording because this custom code was added in the standard program LVEDAF4J.this include is mainly for populating condition records into BDCDATA table

Read only

0 Kudos
434

Hello,

You need to treat this as an Enhancement, which is will done through CMOD/SMOD.

Regards,

Abhishek