01-02-2015 7:38 AM
I have tried to use parameter id AUN, but It doesn't work.
How set parameter id when VA01 create order with reference number ( contact number ) ??
DATA: LV_DOC_TYPR TYPE AUART VALUE 'OR',
LV_CONTRACT TYPE VBELN VALUE '0040001561'.
SET PARAMETER ID 'AAT' FIELD LV_TYPE.
SET PARAMETER ID 'AUN' FIELD LV_CON.
CALL TRANSACTION 'VA01' AND SKIP FIRST SCREEN.
01-02-2015 9:11 AM
Hi,
As per my information, to create a Order, you have to pass a Order Type first (due to Mandatory Information).
And after that you have to Select the "Create With Reference" Tool from the Tool bar,
There you have to pass the Reference Order No.
As per the your code, it will not work.
You have to create a BDC program where you have to pass the Order type and then in reference window, you have to pass the Ref Order No. and then you have to display the next screen to user to do the changes on the document window.
Regards.
Praveer.
01-02-2015 7:48 AM
Hi,
Do you want to pass the below contract value as referece?if yes then where you are passing this value?
LV_CONTRACT TYPE VBELN VALUE '0040001561'
Please explain in detailed.
Thanks,
Sree
01-02-2015 8:54 AM
01-02-2015 9:11 AM
Hi,
As per my information, to create a Order, you have to pass a Order Type first (due to Mandatory Information).
And after that you have to Select the "Create With Reference" Tool from the Tool bar,
There you have to pass the Reference Order No.
As per the your code, it will not work.
You have to create a BDC program where you have to pass the Order type and then in reference window, you have to pass the Ref Order No. and then you have to display the next screen to user to do the changes on the document window.
Regards.
Praveer.