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: 

purchase order me21n.

srikant_dada
Explorer
0 Kudos

hello all,

in sap the purchase order(MEDRUCK) gives the conditions of all the item collectively at the last.

is it possible to identify for which items in purchase order which condition is applied........?

if yes can neone suggest me the way.

8 REPLIES 8

Former Member
0 Kudos

Hi..

please be more specific..

Clemenss
Active Contributor
0 Kudos

Hi Srikant,

For header level conditions use KONH table, for item level use the KONP table.

Regards,

Clemens

Subhankar
Active Contributor
0 Kudos

Hi,

Use the FM BAPI_PO_GETDETAIL1 to get the condition details for all the item. You will get the same in table POCOND.

Thanks

Subhankar

srikant_dada
Explorer
0 Kudos

HELLO ALL,

actually the form MEDRUCK has a standard program in SAP. If i use the item condition table to display the conditions item wise in PO, i wil have to modify standard program provided by SAP.

am i right ? if yes is their any other way other tghan modifying standard program.?

thanx all.

0 Kudos

Dear Srikant

you can creat your own y/z programme and the form routines and then in customizing you need to assign these

SPRO->MATERIAL MANAGEMENT->PURCHASING->MESSAGES->Forms (Layout Sets) for Messages->Assign Form and Output Program for Purchase Order.

here against the output type 'NEU' and the medium '1' you can give your programm name and the form routine name.

learn & share

Regards

Manish Srivastava

0 Kudos

Hi srikant,

please take this warning seriously: * Do not try to create a copy of MEDRUCK module pool *

I have been in projects where consultants tried this: It is far more complex than expected, you will never ever again have the chance for a smooth release change, and maintenance will be a disaster.

In SAP Script you can use external performs (see [Calling ABAP Subroutines: PERFORM|http://help.sap.com/saphelp_nw73/helpdata/en/d1/803279454211d189710000e8322d00/frameset.htm]), in smartforms you have a detailed guide to just your question (see [Printing Conditions|http://help.sap.com/erp2005_ehp_05/helpdata/EN/18/54986ddaeb4bd18241b6928d676ad8/frameset.htm]), for ADOBE forms I did not check.

Please use the SAP online help.

And please be aware that you can not expect an answer exactly to your question if you do not give the details: Which process, what transaction, used Form, used program, used output technique, ...

Regards,

Clemens

Former Member
0 Kudos

hi..

i think you should copy the prog. SAPFM06P to a Y program and change it. look for FM 'RV_PRICE_PRINT_HEAD'.

looking @ TKOMV and TKOMVD you should be able to figure out.

rgds

Wiz

0 Kudos

Hi wizkid0319,

why do you recommend this without having done so or even having tried to do so?

Regards,

Clemens