Question:
Hello gurus,
I have a situation I am trying to resolve where the business would like to have the product line default into the field WWPDT in the profitability segment pop-up of the purchase order.
The scenario is:
Transaction ME21N, enter vendor, purch org, purch grp, co. code, Account code= "X", and the article number, qty and site location.
By using the account assignment "X", this triggers the need for the product line in the profitability segment, however there is a dropdown for the buyer to make a choice.
The business thought it would be helpful for the correct product line to be defaulted at this point.
The problem as I see it is there is no where to link which product line should be defaulted. I checked the material master and do not see a field to have entered, as this would seem the most logical place.
I heard that there may be a user exit that might accomplish what I am trying to do, but I do not know which one that would be.
Any help or insight is greatly appreciated.
Kind regards,
Scott
Answer:
Hi,
How's about the Material PO Text in the material master?.
Cheers,
HT
_________________
Moderator:
Answer:
Hello HT!
Are you suggesting that I enter the Product Line in the Material PO text and then link that somehow to the WWPDT field in pool table T2511?
Perhaps a custom table that this data resides in might allow the correct Product Line to be defaulted at the time of PO create......
Ideally the logic would be that a material number combined with account assignment 'X' will default to Product Line '****'.......
I guess I'm not sure of the best way to go about this. User Exit? BADI? or is there something in config??
I'm certainly open to any and all suggestions....
Regards,
Scott
Answer:
Hi,
What I thought preliminarily was that by setting up the Product Line in Material PO Text in your material master, as soon as your purchasing document is created, it will be automatically copied into your text (of course with the assumption the copying rule is properly set in customizing). If it is of your business requirement that such Product Line shall be conditionally integrated with the 'X' Account Assignment Category, then it is for sure the Material PO Text proves to be inappropriate. The workaround solution, however, is that you can set up the Z Table to keep track of these related Product Line and use the ABAP program (which is set being run in background mode) to update it into your PO.
Cheers,
HT
_________________
Moderator: