Application Development 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: 

Set parameter and call transaction

Former Member
0 Kudos

Hi.

To use the call transaction with the skip first screen option we have to use the set parameter statement. Depending on the PID which the technical specs of the fields contain, it is possible to preset these values. My query is that if the screen contains checkboxes and a lot of them, how do i select them?

Please advice as this is a part of my project.

Regards....

1 ACCEPTED SOLUTION

Former Member
0 Kudos

hi,

Even the checkboxes have a paremeter id, set the parameter id of that check box with value 'X'.

regards,

Navneeth K.

11 REPLIES 11

Former Member
0 Kudos

hi,

Even the checkboxes have a paremeter id, set the parameter id of that check box with value 'X'.

regards,

Navneeth K.

0 Kudos

Hi Navneeth,

I have checked the technical specs and there is no Parameter ID field. If there is one could you tell me how i could get it because when i press F1 the help screen shows up with "Process data?"

Regards,

Prem.

Former Member
0 Kudos

Hi,

If the check boxes doesn't have PID you can do the recording and assign the values through the recording and then use call transation.

Reward if helpful.

0 Kudos

Hi Uma,

I need to set these values dynamically. This means that a recording might not work. Maybe if you could provide me with the example with the situation that i've mentioned in this post to Sudheer, i'd be grateful.

Thanks and Regards,

Prem.

Former Member
0 Kudos

Hi,

You can use the Internal table,

The internal table will hold the data same as a BDC, you can pass the Screen name and the program name with the Screen fields and their values ..

Look at the below link

http://www.s001.org/ABAP-Hlp/abapcall_transaction.htm

Regards

Sudheer

0 Kudos

Hi Sudheer,

ITAB might be a working solution. But I'm not doing a BDC transaction. In the first screen on TCODE XK02, there are checkboxes. I need to check them before i use the call transaction statement. Please provide me with the ITAB structure and the field value for maybe address, presuming that i need to select that value and then skip the first screen.

Thanks for the reply.

Regards,

Prem.

raymond_giuseppi
Active Contributor
0 Kudos

For filling parameters without parameter ID

- Fill a BDCDATA table and then CALL TRANSACTION USING

- Submit the REPORT behind the transaction WITH parameters = values

Regards

0 Kudos

Hi,

Here is what's given in the help of "Call transaction".

Example

CALL TRANSACTION 'SP01'.

Addition 1

... AND SKIP FIRST SCREEN

Effect

Skips the first screen in the transaction (provided all the required fields have been assigned values by the SPA/GPA mechanism).

I need to know how to assign values to the transaction XK02. It's got checkboxes and it must skip the first screen.

Please help.

A BDC table disables the GUI status and I am unable to go back to the calling program.

Thanks and Regards,

Prem.

Former Member
0 Kudos

Hi prem ,

Use a BDC instead of call transaction. do the recording of your requirement and prepare a BDC program.Use submit statement to call the BDC program.

regards

Sourabh Verma

Former Member
0 Kudos

Hi All,

I have maked all your answers as helpful and good. But i still need just one more answer to the same question. I have created the BDC table and passed the data to it using the call transaction using itab. Now the values are coming on the screen but it is still not skipping the first screen. I still have to submit the OK code that is programmed. Is there a way that we could skip the first screen and return to the main program that called it on finishing?

Thanks and Regards,

Prem.

Former Member
0 Kudos

Thanks for all the answers