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

Skip first screen

Former Member
0 Likes
3,179

hi all,

i have a 'ztcode' with obligatory fields. i want to call 'ztcode' from another program using the following:

call transaction 'ztcode' and skip first screen.

is there a way to avoid error since obligatory fields will not be filled up if above code is executed?

thanks,

sid

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,800

use <b>submit report</b> via selection scree.

for syntex of submit just click f1 on submit.

8 REPLIES 8
Read only

Former Member
0 Likes
1,801

use <b>submit report</b> via selection scree.

for syntex of submit just click f1 on submit.

Read only

Former Member
0 Likes
1,800

ONE way is by using SET AND GET PARAMETER IDS.

in the calling program use

SET PARAMETER ID (See help on this)

and that value will be populated automatically to this field.but this field should have an PARAMETER ID.

to assign a parameter id,go to that field data element there you have to assign a parameter id.

and then in the calling program use SET parameter ID 'z1' value <VALUE>.

or

you can use SUBMIT with that program name.

Regards

srikanth

Message was edited by: Srikanth Kidambi

Read only

Former Member
0 Likes
1,800

Hi,

use submit program via selection-screen.

Regards

amole

Read only

Former Member
0 Likes
1,800

Hi

u have to fill the mandatory flds

by using 'set parameter id '

Read only

former_member404244
Active Contributor
0 Likes
1,800

Hi Sid,

U can use SET AND GET PARAMETER IDS.

write like this.

SET PARAMETER ID value field-value.

call transaction 'ZTCODE' and skip first screen.

U need to create a parameter id for this field.

Regards,

Nagaraj

Read only

aris_hidalgo
Contributor
0 Likes
1,800

Hi Sid,

As others have said, you can use the SUBMIT statement via selection-screen and fill up the obligatory fields. Sorry I'm at home so I cannot give specific examples.

Hope this helps...

P.S. Please award points for useful answers.

Read only

0 Likes
1,800

hi all,

thanks 4 d reply. submit is ok. right now im trying to learn the set parameters statement. can u tell me exactly how it works by example. i can't seem follow the sap help documents. in my report program 'ZTCODE' i put this:

parameters p_maktx like makt-maktx memory id pmakt
                  obligatory.

and then at another program, 'ZCALLER', i called 'ZTCODE' which points to my program, as follows:

set parameter id 'pmaktx' field 'REM'.
      call transaction 'ZTCODE'
        and skip first screen.

i ran the 'ZCALLER' and as soon as it called 'ZTCODE' the program stops with the message 'make an entry in all required fields'. can u tell me what i missed?

thanks,

sid

Read only

Former Member
0 Likes
1,800

Hi Sid,

parameters p_maktx like makt-maktx memory id pmakt

obligatory.

set parameter id <b>'P_MAKTX'</b> field 'REM'.

call transaction 'ZTCODE'

and skip first screen.

or

set parameter id <b>'PMAKT'</b> field 'REM'.

call transaction 'ZTCODE'

and skip first screen.

Best regards,

Prashant

Message was edited by: Prashant Patil