on 2005 Jun 20 5:03 PM
Hi ALL
While creating the PO, i need to change the value of certain condition type.
I am able to do for PB00 condition, but i need to change it for other conditions.
For example, if there is any discount condition, i need to be able to change the value, when PO is getting created
Can you please help on this
Regards
Madhan Doraikannan
Hi All,
I have the same issue ... so I need someone to take care of it background instead on-line transaction??? If I don't use any function, just via GUI ... Please help. Thanks
Best regards,
Hwey Lin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Madhan,
I have the same requirements as you to get the conditions for the item level and set the value for the header file. However, I dun know how to use the method get condition as i dont really know how to define the parameter MMPUR_TKOMV. Can you kindly send me your code. Thanks for your help.
Regards,
Mervyn
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
I create PO via ME57 ->Assign vendor -> Assignments
And double click on the line item.
It will take to ME21N transaction
Regards
Madhan Doraikannan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Madhan,
how do you create your PO? Which transaction / IDOC / BAPI do you use?
Regards,
Christian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
so you are working online.
I guess you have found in item line the conditions tab.
In case you are not allowed to change some conditions, that's customizing:
Materials Management -> Purchasing -> Conditions -> Define Price Determination Process -> Define Condition Types -> Define Condition Type.
Here choose desired condition, double click (detailed view) and check box 'Value' (KAEND_WRT). Flags deletion will allow to remove a condition from a document, Qty relation will allow different unit conversions.
Regards,
Christian
Hi Christian
The condition should not be always changed.
Here is the scenorio.
when we create PO, the Purchase price is Automatically picked from Info Record.
Sometimes we have special price, so i implemented BADI
ME_PROCESS_PO_CUST to change the price and the same is working fine.
But if the INFO Record is having any discounts attached to PB00, than it doesnot allow to change the price, since the price field is greyed out in the purchase order.
In the same BADI we have
GET_CONDITIONS
SET_CONDITIONS
But i donot know how to use them, do you have idea on the same.
Please let me know, if you need further info
Regards
Madhan Doraikannan
Hi Madhan!
Your scenario is getting more and more complicate, but so you will have better answers.
I didn't found methods GET_CONDITIONS, SET_CONDITIONS in ME_PROCESS_PO_CUST (Customer enhancement?!), but most probably no changes will be done by these methods, which aren't allowed online in transaction.
But why do you use a transaction dependent BADI instead of pricing exits / pricing procedure?
If you need something out of condition reach, you can use exit with function module ME_FILL_KOMP_PO. Communication structure KOMP can be used in a formula to fill a condition without access sequence. Then condition exclusion groups can handle allowed / not allowed condition combinations.
Regards,
Christian
User | Count |
---|---|
107 | |
8 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.