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

Recording

Former Member
0 Likes
909

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.

4 REPLIES 4
Read only

Former Member
0 Likes
715

Hi

You had writen in the correct way

what problem ur facing in that

Read only

0 Likes
715

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.

Read only

0 Likes
715

hi Deniz.

The OK_code should be

BDC_OKCODE = '/00' "Enter key . you can check this in SHDB

REWARD IF HELPFUL.

Read only

Former Member
0 Likes
715

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>