05-09-2006 11:03 PM
I want to use 'Call Transaction' to execute the transaction /sapapo/scc_tl1 in Change Mode. I want to skip the first screen. I have added 'and skip first screen' to the CALL TRANSACTION but it still stops on the first screen. The first screen has three buttons: Display, Change and Create. The function key assigned to Change is F6. What is the code to select the F6 key so the first screen can be bypassed.
Thanks and best regards,
Sandy
05-10-2006 4:48 AM
THE ONLY THINK U HAVE TO DO IS RECORD THE TRANSACTION FOR
CHANGE MODE. AND FILL INTERNAL TABLE OF TYPE BDCDATA AND CALL TRANSACTION.
EXAMPLE: I CALLED SE93 IN CHANGE MODE. COPY AND RUN THE FOLLOWING PROGRAM, U CAN UNDERSTAND WHAT IAM TELLING.
REPORT ZTESTH messAGE-ID ZV.
DATA: IBDCTAB TYPE TABLE OF BDCDATA WITH HEADER LINE.
IBDCTAB-PROGRAM = 'SAPLSEUK'.
IBDCTAB-DYNPRO = '390'.
IBDCTAB-DYNBEGIN = 'X'.
IBDCTAB-FNAM = 'BDC_OKCODE'.
IBDCTAB-FVAL = '=CHNG'.
APPEND IBDCTAB.
IBDCTAB-PROGRAM = 'SAPLSETX'.
IBDCTAB-DYNPRO = '0120'.
IBDCTAB-DYNBEGIN = 'X'.
IBDCTAB-FNAM = 'BDC_OKCODE'.
IBDCTAB-FVAL = '=NEXT'.
APPEND IBDCTAB.
CALL TRANSACTION 'SE93' USING IBDCTAB.
05-09-2006 11:07 PM
hi Sandy,
use <b>Leave to screen 'scr_no'</b>.
Regards,
Santosh
Note: Reward Points if helpful
05-09-2006 11:15 PM
ok code cannot be passed with call transaction.
Identify the relevant transaction for change mode.
In general suffix with 1 is create and 2 is change.
If you cannot find any relevant transaction for change try with BDC table with first screen data.
Hope this helps..
thanks,
vamshi tallada
05-10-2006 3:55 AM
This transaction doesn't exist in any of our systems, but you can try this:
Go to SE93 and enter your transaction code. The second screen will show you the underlying program name. Go to SE80 and display this program. Look at all the transactions that call the program. One or more transactions may call the change screen of the program (or the first screen in change mode). If so, you can use this transaction instead of the one you are using.
Rob
05-10-2006 4:28 AM
Sandy,
1. You need to find the transaction that puts the document in the CHANGE mode, some thing like VA02 for a sales order.
2. You need to find the parameter id's for the fields on the first screen and the set the values for those using SET PARAMETER statement.
3. Now, you can use the CALL TRANSACTION SKIP FIRST SCREEN statement and the system will directly throw you on to the second screen.
Regards,
Ravi
Note : Please mark the helpful answers
05-10-2006 4:48 AM
THE ONLY THINK U HAVE TO DO IS RECORD THE TRANSACTION FOR
CHANGE MODE. AND FILL INTERNAL TABLE OF TYPE BDCDATA AND CALL TRANSACTION.
EXAMPLE: I CALLED SE93 IN CHANGE MODE. COPY AND RUN THE FOLLOWING PROGRAM, U CAN UNDERSTAND WHAT IAM TELLING.
REPORT ZTESTH messAGE-ID ZV.
DATA: IBDCTAB TYPE TABLE OF BDCDATA WITH HEADER LINE.
IBDCTAB-PROGRAM = 'SAPLSEUK'.
IBDCTAB-DYNPRO = '390'.
IBDCTAB-DYNBEGIN = 'X'.
IBDCTAB-FNAM = 'BDC_OKCODE'.
IBDCTAB-FVAL = '=CHNG'.
APPEND IBDCTAB.
IBDCTAB-PROGRAM = 'SAPLSETX'.
IBDCTAB-DYNPRO = '0120'.
IBDCTAB-DYNBEGIN = 'X'.
IBDCTAB-FNAM = 'BDC_OKCODE'.
IBDCTAB-FVAL = '=NEXT'.
APPEND IBDCTAB.
CALL TRANSACTION 'SE93' USING IBDCTAB.
05-10-2006 5:38 AM
Hi !
... AND SKIP FIRST SCREEN is only properly working if you can set ALL obligatory fields of the entry screen (i.e. by SET PARAMETER)
AND
if the called transaktion goes to the next screen only by pressing ENTER !!
There's no chance to use (AND SKIP FIRST SCREEN) if the transaction needs any other function-code then the ENTER-Key.
You can check that in the dialog.
Fill all the fields and press ENTER. If the transaction does not change to the next screen you'll have to use
a CALL TRANSACTION USING....
Regards
Rainer
Some pionts would be nice if that helped a bit.
10-10-2006 12:56 PM
Hi,
I have the same problem of skipping the first screen for the transaction /sapapo/scc_tl1 on APO.I tried BDC recording,but it does not work.If you have got the solution,please let me know.
regards,
Priya.