Skip to Content

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

Cost Center in order item (vbap)

Hi,

we want to add a cost center in the order item depending on certain item categories (vbap-pstyv).

Therefore, we used  USEREXIT_MOVE_FIELD_TO_COBL (see several other discussions here ...)

Unfortunatly, the USING-Parameter 'us_vbap' is not filled every time when this Exit is called (for example not in case called from VBAK_PRUEFEN (SAPFV45K)). That's seems to be the reason why this does not work.

You can solve this problem manually (but not a suitable solution):

Once you go to tab ""Account Assignment" (Item data, VA01), the problem is solved.In this case the USEREXIT_COBL_RECEIVE_VBAP takes over the cost center (kostl) from COBL to VBAP.

Besides, we use and  USEREXIT_COBL_SEND_ITEM to show the field in the account assignment data (item).

Any advices?

Has anyone implemented succesfully a similiar logic?

Many thanks

Martin

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question