Application Development 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: 

Call Transaction QE51N

former_member1110335
Participant
0 Kudos

Hi,

I need to call the standard transaction QE51N from my Z program.

In the Z program I determin the value of INSPECTION LOT NUMBER.

I need to pass the value of the fetched insplot to QE51N

I am doing the following....

DATA: lv_insp_lot TYPE qplos.

lv_insp_lot = '30000000010'.

SET PARAMETER ID 'QLS' FIELD lv_insp_lot.

CALL TRANSACTION 'QE51N' ANS SKIP FIRST SCREEN.

However this program calls the 1st screen of QE51N and does not pass the parameter of Inspection lot to the screen.

Heed to know how to pass the Inspection lot to the screen and skip the 1st screen.

Thanks for the help...

7 REPLIES 7

Former Member
0 Kudos

Hi,

Before calling use the CONVERSION_EXIT_ALPHA_INPUT ..

here pass lot number as input and get the output value...

that output value you have to pass in SET PARAMETER ID 'QLS' FIELD lv_insp_lot.

Regards,

venkat.

former_member1110335
Participant
0 Kudos

Thanks .... But I just tried this and it does not work....

Please let me know if there is any other way...

former_member1110335
Participant
0 Kudos

Thanks .... But I just tried this and it does not work....

Please let me know if there is any other way...

Former Member
0 Kudos

Try Parameter Ids,

'PRL' OR 'QHK' OR 'QLS'.

Sometimes parameter id different from the parameter id assigned.

Regards,

Ravi Singh

Former Member
0 Kudos

Hi

QE51n has multiple tabs , have you handled to select the "Active"  Tab for the Inspectin lot ?????  ,

raymond_giuseppi
Active Contributor
0 Kudos

Take a look at BAPIs like BAPI_INSPLOT_GETLIST and BAPI_INSPOPER_RECORDRESULTS.

Regards,

Raymond

former_member1110335
Participant
0 Kudos

Hi ...

Thanks for the suggestions ...

The multiple tabls was the issue.

So I have use call transaction and passed the BDC table...

It works.