‎2007 Oct 05 9:07 AM
Hi all,
here is the some part of the vd01 transaction record. There will be no data in these screens and I want to pass it but it does not pass when run the session.
SAPMF02D 0326 X BDC_CURSOR RF02D-KUNNR
BDC_OKCODE =VW
SAPMF02D 0324 X BDC_CURSOR KNVP-PARVW(01)
BDC_OKCODE =VW
The program code for this screen is:
PERFORM BDC_DYNPRO USING 'SAPMF02D' '1326'.
PERFORM BDC_FIELD USING 'BDC_OKCODE' '=VW'.
PERFORM BDC_DYNPRO USING 'SAPMF02D' '1324'.
PERFORM BDC_FIELD USING 'BDC_OKCODE' '=VW'.
Is there anything I have missed?
Thanks.
‎2007 Oct 05 9:14 AM
Hi
You had writen in the correct way
what problem ur facing in that
‎2007 Oct 05 9:18 AM
Hi, thanks.
When I have run the session and when it comes to these screens I have to hit enter key. I do not want that.
It should go itself.
What can I do...
Thanks.
‎2007 Oct 05 9:38 AM
hi Deniz.
The OK_code should be
BDC_OKCODE = '/00' "Enter key . you can check this in SHDB
REWARD IF HELPFUL.
‎2007 Oct 05 9:46 AM
Hi
PERFORM BDC_DYNPRO USING 'SAPMF02D' '1326'.
PERFORM BDC_FIELD USING 'BDC_OKCODE' '=VW'.
PERFORM BDC_DYNPRO USING 'SAPMF02D' '1324'.
PERFORM BDC_FIELD USING 'BDC_OKCODE' '=VW'.
in the above your passing the OK_CODE that means if you do some action on that only it passes to the next scren
if that action is related to =VW then only it wil alllow to go to the next screen
so i think if you remove that it will pass directly
<b>Reward if usefull/</b>