‎2007 Nov 04 11:50 AM
Hi all,
I am using interactive alv.
if i select one line and press details
that must go to another screen.
In that i must skip first screen and directly go to the details of that first screen.
suppose i am using the code as follows
call transaction mm01 and skip first screen
this is giving me error.
how to solve the problem.
thanks and regards,
giri.
‎2007 Nov 04 11:56 AM
But what is the error it is giving you?... the "CALL TRANSACTION <tcod> [AND SKIP FIRST SCREEN] [USING <itab>" syntax is easy enough, but you need to set parameter IDs etc to get past the first screen in most transactions called this way.
Jonathan
‎2007 Nov 04 11:56 AM
But what is the error it is giving you?... the "CALL TRANSACTION <tcod> [AND SKIP FIRST SCREEN] [USING <itab>" syntax is easy enough, but you need to set parameter IDs etc to get past the first screen in most transactions called this way.
Jonathan
‎2007 Nov 04 12:24 PM
Hi Giri,
For this u have to set the parameter id of the screen elements of the first screen of ur transaction. This is because u r going into second screen without calling the first screen at that time u required to provide the data for mandatory fields of the first screen. To know the parameter id go to the technical info of ur field.
Regards,
Shafivullah Mohammad
‎2007 Nov 04 1:55 PM
hi giri,
For ur requirement, u can use SKIP FIRST SCREEN addition for CALL TRANSACTION Command.
Before this, u have to use SET PARAMETER ID Command to pass the required values for transaction.
Example, In transaction VA01, we have to set parameter AUN to pass the sale order number to the transaction.
<b>
AT LINE-SELECTION .
SET PARAMETER ID 'AUN' FIELD w_vbeln.
CALL TRANSACTION 'VA01' AND SKIP FIRST SCREEN .</b>
where w_vbeln contains the sale ordre number. Now VA01 runs for this sale order number..... And AUN is the PARAMETER to be set before calling VA01 TCODE.
similarly, check the PARAMETER associated with MM01 Tcode and initialize that parameter and call the code in the similar way.
To check parameter Id of MM01,
1) Enter MM01 Transaction
2) Press F1 on Material Field
3) Select Technical Info
4) u can find Parameter ID associated with this field.
check these links for full details.
call transaction...
http://help.sap.com/saphelp_47x200/helpdata/en/78/21761c51ce11d189570000e829fbbd/frameset.htm
at line selection,
http://help.sap.com/saphelp_47x200/helpdata/en/9f/dba2c435c111d1829f0000e829fbfe/frameset.htm
get/set parameter:
http://help.sap.com/saphelp_nw04/helpdata/en/5b/7bc3775d1111d295ad0000e82de14a/frameset.htm
Reward me if useful........
Harimanjesh AN