Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Problem: set parameter id

Former Member
0 Likes
1,383

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?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,004

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

8 REPLIES 8
Read only

Former Member
0 Likes
1,004

Hi Martin,

can you show the command set parameter id as you do it in your abap?

Regards, Dieter

Read only

Former Member
0 Likes
1,004

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

Read only

Former Member
0 Likes
1,005

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

Read only

0 Likes
1,004

Seems your i_objky is NUMC in that case I would change it to CHAR

Read only

0 Likes
1,004

i_objky is of type CHAR.

Read only

0 Likes
1,004

hi Martin,

Try this..its working

SET PARAMETER ID 'AGN' FIELD '0130056-01'.
CALL TRANSACTION 'VA23' AND SKIP FIRST SCREEN.

Read only

Former Member
0 Likes
1,004

Yes, it's working. Thank you very much!

Do you know why I have to use AGN instead of AUN?

Read only

0 Likes
1,004

Have you seen my earlier reply,

VA23 is for Quotation number and for that parameter id is AGN,

Pls check my earlier reply