2012 Feb 02 8:52 PM
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
2012 Feb 03 7:11 AM
2012 Feb 03 8:10 AM
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
2012 Feb 03 11:32 AM
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
2012 Feb 03 11:42 AM
Hello,
You need to treat this as an Enhancement, which is will done through CMOD/SMOD.
Regards,
Abhishek