01-06-2011 8:47 AM
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.
01-06-2011 3:42 PM
01-06-2011 3:55 PM
Hi Srikant,
For header level conditions use KONH table, for item level use the KONP table.
Regards,
Clemens
01-06-2011 5:09 PM
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
01-07-2011 7:13 AM
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.
01-07-2011 7:57 AM
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
01-07-2011 9:33 AM
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
01-07-2011 10:05 AM
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
01-07-2011 3:26 PM
Hi wizkid0319,
why do you recommend this without having done so or even having tried to do so?
Regards,
Clemens