Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Copy pspnr field of PA in contract to Sales order

hello experts,

This is a SD-ABAP Issue,

I have a problem in which I am totally stuck,

my client wants the field WBS which is filled in a pop  up under profit segment button in account assignment tab of contract to be copied into the sales order at time of creation.

This filed is related to Profitability Analysis and I know that i should handle it by writing a custom routine in copy control. The problem is after several times of debugging I have found the table in which data is stored PROGRAM: SAPLKEAK TABLE GT_CRITERIA but i don't know how to copy it from contract data when creating with reference to it in transaction va01.

I have found the userxits for COPA but all of them are activated only if you push the button for entering profit segment data in sales order. but what I want is to copy it straightly from contract and not maintain it in sales order.

Please help me come up with a solution.

thanks,

image 3.jpg (162068 B)
image 2.jpg (98439 B)
image 1.jpg (192352 B)
Former Member
Not what you were looking for? View more on this topic or Ask a question