09-09-2008 6:58 PM
Hi,
I recorder tran pa40, but based on conditions i want to skip one screen.
Present scenario
Infotype PA0105 not required for subtype 0001.
if wa_it-usrid NE ''.
PERFORM bdc_dynpro USING 'MP010500' '2000'.
PERFORM bdc_field USING 'BDC_CURSOR'
'P0105-USRID'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=UPD'.
PERFORM bdc_field USING 'P0105-BEGDA' wa_it-begda.
'04.09.2008'.
PERFORM bdc_field USING 'P0105-ENDDA'
'31.12.9999'.
PERFORM bdc_field USING 'P0105-USRID' wa_it-usrid.
'Hna'.
e
Thanks,
Asha
09-09-2008 7:02 PM
If you are skipping a screen for 1 condition you need to record 2 BDC 's one with the inclusion of the skipping screen and another with out that , if you skip via a IF condition the flow of the recording will stop it will get stuck.
09-09-2008 7:24 PM
Hi,
What is the problem you are facing. It is fine if you skip the screen based on some condition. Porvided that screen should not have mandatory fields in it.
Thanks,
Kartavya
09-22-2008 1:31 PM
09-23-2008 6:56 PM