how to control the call transaction step

Question: Hi everybody,

I write a ABAP/4 report and transant some parameters to call a tcode .I can perform only these : one is step by step to perform the tcode ,the other is perform the tcode no stop . But I want to control the tcode stop the output screen ,then I can see the detail information by the system return .


Program like this :
perform bdc_dynpro using 'SAPLKEC1' '0110'.
perform bdc_field using 'BDC_CURSOR' 'CEC01-CHOICE(02)'.
perform bdc_field using 'BDC_OKCODE' '=SPAC'.
perform bdc_field using 'CEC01-CHOICE(01)' ' '.
perform bdc_field using 'CEC01-CHOICE(02)' 'X'.
perform bdc_dynpro using 'SAPMKCEE' '0500'.
perform bdc_field using 'BDC_CURSOR' 'RKB1D-REPID'.
perform bdc_field using 'BDC_OKCODE' '/00'.
perform bdc_field using 'RKB1D-REPID' 'AB01'.
perform bdc_field using 'CFPART_OBJ-COTRL' 'X'.
perform bdc_dynpro using 'SAPMKCEE' '0500'.
perform bdc_field using 'BDC_OKCODE' '/EAUS'.
perform bdc_field using 'BDC_CURSOR' 'RKB1D-REPID'.
perform bdc_dynpro using 'GP2JBWI90KR7CBUO63VC5VJVTBZ' '1000'.
perform bdc_field using 'BDC_CURSOR' 'S_FIPOS-LOW'.
perform bdc_field using 'BDC_OKCODE' '=ONLI'.
perform bdc_field using 'S_FINCD-LOW' ' '.
perform bdc_field using 'S_FICTR-LOW' tmp-fictr.
perform bdc_field using 'S_FIPOS-LOW' tmp-fipos.
call transaction 'FMEL' using bdcdata mode 'N' update 'S'
messages into messtab.

At this step ,sysem return the detail of corresponding funds. But the program run continue and not stop on this step ,so I couldn't see the detail return report .

Anybody can help me ?

Thanks.

Answer:
Hi.
Possibly, this will help you:

perform bdc_dynpro using 'GP2JBWI90KR7CBUO63VC5VJVTBZ' '1000'.
perform bdc_field using 'BDC_CURSOR' 'S_FIPOS-LOW'.
***perform bdc_field using 'BDC_OKCODE' '=ONLI'.
perform bdc_field using 'S_FINCD-LOW' ' '.
perform bdc_field using 'S_FICTR-LOW' tmp-fictr.
perform bdc_field using 'S_FIPOS-LOW' tmp-fipos.
_________________
Best wishes,
Vladimir

Answer:
No, no, just change the last instruction you put, it is the easiest way :

call transaction 'FMEL' using bdcdata mode 'E' update 'S'

The Transaction will automatically stop on the last screen.
_________________
Laurent THIBERT
Business Connection Amerique

Answer:
Hi ,

I have try it .But the problem is still .
When I use mode 'E' :
call transaction 'FMEL' using bdcdata mode 'E' update 'S' .

The program run step by step and no automatically stop on the last screen.

Thanks,
mema .

Answer:
Yes, sorry, you also have to remove the last BDC_OKCODE !!!
In fact, the error the programm will occur is the BDC_OKCODE miss !!!

So remove that line :
perform bdc_field using 'BDC_OKCODE' '=ONLI'.

The end user will have to save it himself, when arriving on the last screen !

Try again.
_________________
Laurent THIBERT
Business Connection Amerique

Answer:
I have remark this statement and test again .
But the program run step by step also ,couldn't automatical stop .

thanks,
mema

Answer:
Hi,
I'm not sure about but try using mode 'A', like this:

call transaction 'FMEL' using bdcdata mode 'A' update 'S' .

Hope it helps...
mr
Copyright ?2007 - 2008 www.jt77.com