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: 

ME21N transaction variable

former_member624107
Contributor
0 Kudos
184

Hi,

am running me21n transaction, i want to get the variables holding the header details of the PO like order type vendor etc before saving....(while running tcode)..

can any one pls help me..

6 REPLIES 6

Former Member
0 Kudos
98

Please refer old purchase orders in tables

EKKO - Header data

EKPO - Item data

Use tcode SE11

Former Member
0 Kudos
98

Hi

What do you mean by variables? they are nothing but the Table fields like

EKKO-BSART and

EKKO-LIFNR

see the EKKO table fields

<b>Reward points for useful Answers</b>

Regards

Anji

0 Kudos
98

Hi ..

PO variables will be stored in standrad tables only after saving the PO.

I need the variables in which the header details of the PO is stored while v r processing the PO(before saving)....

regrads

sheeba

Former Member
0 Kudos
98

Hi Sheeba,

EKKO--->Purchasing Document Header

EKPO--->Purchasing Document Item

EKET--->Scheduling Agreement Schedule Lines

use these table.

Former Member
0 Kudos
98

Hi Sheeba,

Use Transaction Variants to make fields Mandatory, Hidden or Display. Also applicable to screens and tabstrips.

You can hide unwanted screens and fields in any of the standard SAP programs without changing any of the standard programs. Additional features such as making the variant as default on the standard SAP transaction code is only available as of 4.6x.

Transaction SHD0 - Create a variant for the required transaction by changing the layout through hiding fields and screens.

Transaction SE93 - Create a variant transaction (e.g. for VA02 = ZVA02).

Next allocate the transaction variant to this variant transaction.

In 4.6c, you can default your transaction variant as the standard variant. (SHD0 - Edit -> Activate/Deactivate as standard variant)

u can use this link....

http://sap.ittoolbox.com/groups/technical-functional/sap-dev/se93transaction-code-to-call-abap-progr...

If useful reward me with points.

Thanks

Sanket.

former_member624107
Contributor
0 Kudos
98

No approriate solutions received.

Closing the thread..

Thanks & regards,

Sheeba