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

Set Parameter

Former Member
0 Likes
638

When trying to open a contract from a program I am facing problem.

The Transaction is VA43 for which I write the following lines:

SET PARAMETER ID 'AUN' FIELD lv_vbeln.

CALL TRANSACTION 'VA43' AND SKIP FIRST SCREEN.

where lv_vbeln is defined :

DATA: lv_vbeln LIKE vbak-vbeln

MY PROBLEM is that VA43 doesnt get the value I sent it. Even checked in Debug. Pl. let me know what should be done.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
557

Hi,

use the following..

SET PARAMETER ID <b>'KTN'</b> FIELD VBAK-VBELN.

Thanks,

Naren

3 REPLIES 3
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
557

Please try parameter id KTN . If you do F1 help on the field in transaction VA43. It will show you the parameter ids for the various SD documents.

Regards,

Rich Heilman

Read only

Former Member
0 Likes
557

Use KTN as parameter id...

The following parameters are available for the individual document types:

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
558

Hi,

use the following..

SET PARAMETER ID <b>'KTN'</b> FIELD VBAK-VBELN.

Thanks,

Naren