‎2010 Jan 18 8:19 AM
Hi
I need to go to the transaction KOB1 from my program and populate the select options parameter for all the orders.
How is this possible?
In call transaction we can use set parameter...But this is only for a single value
How can i send multiple values to that screen?
‎2010 Jan 18 8:23 AM
‎2010 Jan 18 8:31 AM
You can use fm ABAP4_CALL_TRANSACTION
Check the tables parameters, you can use parameter USING_TAB
‎2010 Jan 18 8:41 AM
Have u used it before?
I dont think multiple values can be passed
‎2010 Jan 18 8:56 AM
its same like calling a bdc transaction with bdcdata.
Just do a recording in SHDB for you transaction with sample data and populate the table as same in the recording.
‎2010 Jan 18 9:12 AM
Yeah using a BDC this can be done , but i dont want to use a BDC.
If you record in SHDB we will get the screen field names but not the parameter id's
‎2010 Jan 18 9:16 AM
I dont think that you can pass multiple values using parameter ID.
‎2010 Jan 18 9:10 AM
‎2010 Jan 18 9:15 AM
The problem with that submit program is that incase of KOB1, the selection screen is slightly different when you run the program that when u run the transacrion which is not desired.
‎2010 Jan 18 9:25 AM
‎2010 Jan 18 9:16 AM
Hi Dexter ,
You need to populate Ranges Table for this and pass this ranges table to Call Transaction.
And instead of using Call transaction I will suggest you use SUMBIT.
Consider the following Example :
RANGES : r_vbeln FOR jksddemand-vbeln.
LOOP AT it_data INTO wa_data.
r_vbeln-sign = 'I'.
r_vbeln-option = 'EQ'.
r_vbeln-low = wa_data-vbeln.
APPEND r_vbeln.
ENDLOOP.
SUBMIT rjksdordergen AND RETURN WITH vkorg IN vkorg
WITH vtweg IN vtweg
WITH spart IN spart
WITH contra IN r_vbeln
WITH doc_con IN r_doc_con
WITH issue IN matnr
WITH doc = 'JTA'
WITH testrun = ''
WITH success = 'X'
VIA SELECTION-SCREEN.
Where rjksdordergen is the program associated with thransaction JKSDORDER01 . So instead of calling this transaction , I am calling the program associated this tranasaction.
Hope this will help you.
Please revert to me if you need more help in this.
Regards,
Nikhil