‎2007 Mar 02 1:56 PM
HI!
I have a problem with the ABAP command 'set parameter id'
in case of document numbers as: 0130056-01. Here it doesn't work
whereas for document numbers like 200000189 it works well.
Any ideas?
‎2007 Mar 05 7:58 AM
The coding is given by:
SET PARAMETER ID ls_frmtyp-memoryid FIELD i_objky.
CALL TRANSACTION ls_frmtyp-tcode AND SKIP FIRST SCREEN.
where ls_frmtyp-memoryid = AUN
i_objky is the order number
ls_frmtyp-tcode = va23
Regards, Martin
‎2007 Mar 02 2:01 PM
Hi Martin,
can you show the command set parameter id as you do it in your abap?
Regards, Dieter
‎2007 Mar 02 2:03 PM
hi Martin,
which transaction are you using
check with these parameter ids if it relevant to you
AFN - Inquiry number
AGN - Quotation number
AUN - Order number
LPN - Scheduling agreement number
KTN - Contract number
AMN - Assortment number
‎2007 Mar 05 7:58 AM
The coding is given by:
SET PARAMETER ID ls_frmtyp-memoryid FIELD i_objky.
CALL TRANSACTION ls_frmtyp-tcode AND SKIP FIRST SCREEN.
where ls_frmtyp-memoryid = AUN
i_objky is the order number
ls_frmtyp-tcode = va23
Regards, Martin
‎2007 Mar 05 8:05 AM
Seems your i_objky is NUMC in that case I would change it to CHAR
‎2007 Mar 05 8:08 AM
‎2007 Mar 05 8:15 AM
hi Martin,
Try this..its working
SET PARAMETER ID 'AGN' FIELD '0130056-01'.
CALL TRANSACTION 'VA23' AND SKIP FIRST SCREEN.
‎2007 Mar 05 8:36 AM
Yes, it's working. Thank you very much!
Do you know why I have to use AGN instead of AUN?
‎2007 Mar 05 8:38 AM
Have you seen my earlier reply,
VA23 is for Quotation number and for that parameter id is AGN,
Pls check my earlier reply