‎2008 Aug 18 11:01 AM
Hi,
I have a requirement such that I am displaying several Sales Order in AVL.
On clicking a perticular SO and pressing the Button, I am giving a call to VA03 as below:
CALL TRANSACTION 'VA03' AND SKIP FIRST SCREEN .
This is giving a call to VA03 and the last SO is displayed.
I want to pass the SO number along with the call as the SO may vary everytime.
Any clue as to how this could be achieved?
reagrds,
‎2008 Aug 18 11:05 AM
Hi,
Try like this,
WHEN 'VBELN'.
SET PARAMETER ID 'AUN' FIELD OUTTAB-VBELN.
CALL TRANSACTION 'VA03' AND SKIP FIRST SCREEN.
ENDCASE.
Thnaks,
Ruthra.
‎2008 Aug 18 11:05 AM
Hi,
Try like this,
WHEN 'VBELN'.
SET PARAMETER ID 'AUN' FIELD OUTTAB-VBELN.
CALL TRANSACTION 'VA03' AND SKIP FIRST SCREEN.
ENDCASE.
Thnaks,
Ruthra.
‎2008 Aug 18 11:05 AM
Before calling the VA03 transaction, use the SET statement and set the parameter AUN with the required salesorder.
Regards,
Kiran Bobbala
‎2008 Aug 18 11:08 AM
Hi,
Pass the Sales Document Number to wa-vbeln.
set parameter id 'AUN' field wa-vbeln.
Then...
CALL TRANSACTION 'VA03' AND SKIP FIRST SCREEN .
Thanks,
Durai.V
‎2008 Aug 18 11:08 AM
hiii
you can also use following code for passing particular value to tcode
SELECT SINGLE kunnr
FROM kna1
INTO w_kna1
WHERE kunnr = w_kunnr.
IF sy-subrc <> 0.
MESSAGE e015(zmsg9).
ENDIF.
SET PARAMETER ID 'KUN' FIELD w_kunnr.
CALL TRANSACTION 'XD03' AND SKIP FIRST SCREEN.regards
twinkal
‎2008 Aug 18 11:12 AM
Hi,
use SET PARAMETER ID 'id' field 'field name'
then use
CALL TRANSACTION 'tcode' and skip first screen.
here fieldname is where you are hiding the field from your workarea or internal table.
parameter id you will find in the technical help of that field by clicking on F1 on that field. then in the coming window you will click on technical help..there you will find the parameter id for that field.
Regards,
venkat