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 ME53N Purchase Order

former_member223090
Participant
0 Kudos

Hi Master, i have been looking for realice a call transaction with the "Purchasing Document Number" in all the forums i have found the solution for the "Purchase Requisition Number" but not for the "Purchasing Document Number", i have been trying with this code:

data: number type EBELN.
   number = '4399999999'.
   SET PARAMETER ID 'BES' FIELD number.
           CALL TRANSACTION 'ME53N' .


but when i execute this code the transaction dont show me anything. please can you help me with this requirement.




Thanks

1 ACCEPTED SOLUTION

Mohamed_Mukhtar
Active Contributor
0 Kudos

Hello David ,

Tcode for purchase order is ME21n/Me22n/Me23n respectively for create change and display.

data: number type EBELN.
   number = '4399999999'.
   SET PARAMETER ID 'BES' FIELD number.
           CALL TRANSACTION 'ME23N' . ->change it to Me23n.


Thanks

6 REPLIES 6

Mohamed_Mukhtar
Active Contributor
0 Kudos

Hello David ,

Tcode for purchase order is ME21n/Me22n/Me23n respectively for create change and display.

data: number type EBELN.
   number = '4399999999'.
   SET PARAMETER ID 'BES' FIELD number.
           CALL TRANSACTION 'ME23N' . ->change it to Me23n.


Thanks

0 Kudos

thanks, the solution was very simple but i dont find this in internet, i had to use the tx ME23N

Former Member
0 Kudos

Hi..

Display Purchase Requistition : ME53N / ME53

Display Purchasing Documents : ME23N / ME23

Thanks

Former Member
0 Kudos

If you do a "where used" on TCode ME23N (in SE93) then you can see how SAP calls it - this example also passes the line number

SET PARAMETER ID 'BES' FIELD i_belnr.      

SET PARAMETER ID 'BSP' FIELD i_blpos.      

CALL TRANSACTION 'ME23N' AND SKIP FIRST SCREEN.

Jonathan

Former Member

Hi,

Do you want to display which document? either Pur. Order or Purch. Requisition?

1) To call Pur. Order, you can use the below code by using ME53N

SET PARAMETER ID 'BES' FIELD EBELN.     

CALL TRANSACTION 'ME53N' AND SKIP FIRST SCREEN.


2) To call Pur. Order, you can use the below code by using ME53N

SET PARAMETER ID 'BAN' FIELD EBELN.     

CALL TRANSACTION 'ME53N' AND SKIP FIRST SCREEN.


Regards,

Vadamalai A.

Former Member

Hi,

Do you want to display which document? either Pur. Order or Purch. Requisition?

1) To call Pur. Order, you can use the below code by using ME53N

SET PARAMETER ID 'BES' FIELD EBELN.     

CALL TRANSACTION 'ME53N' AND SKIP FIRST SCREEN.


2) To call Pur. Order, you can use the below code by using ME53N

SET PARAMETER ID 'BAN' FIELD EBELN.     

CALL TRANSACTION 'ME53N' AND SKIP FIRST SCREEN.


Regards,

Vadamalai A.