Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

PCA substitution exit

Former Member
0 Kudos

Hi Experts,

I have a requirement to substitute the profit center in a sales order and sales contract based on different criteria( information in VBAK, VBAP, VBKD and VBPA) .

To realize this, I have created a substitution rule at app area PC and call up point 1(Create sales order) and called an exit that is created in a form pool ZRGGBS000, added my exit in GET_EXIT_TITLES.

My user exit is getting called, but COBL is not filled with the data that I need to make the decision in the exit. The criteria for the substituted profit center are firlds in VBAK, VBAP, VKBD and VBPA.

Any idea on how to access these fields in the substitution exit? or any other way to acheive this substitution?

Please be assured that helpful answers will be awarded points.

Thanks in advance.

Regards,

Naresh

1 REPLY 1

Former Member
0 Kudos

Hi,

See the documents below,

1. User Exits in SAP BW (ppt)

https://websmp104.sap-ag.de/~sapidb/011000358700005475091999

2. User Exits Examples (doc)

https://websmp104.sap-ag.de/~sapidb/011000358700005475101999

in addition to answer in your other posting, take a look

and download pdf 'enhancements in sap bw'

here you can find the steps ...

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/59069d90-0201-0010-fd81-d5e...

some weblog on enhancement

/people/sap.user72/blog/2005/02/14/logistic-cockpit--when-you-need-more--first-option-enhance-it

http://www.ko-india.com/content/weblogs/weblog_custom_fields_1.pdf

(= /people/ajay.das/blog/2005/03/28/custom-fields-and-bw-extractors-making-a-mixed-marriage-work-part-1-1

/people/ajay.das/blog/2005/03/28/custom-fields-in-standard-extractors--making-a-mixed-marriage-work--part-12 )

<b>reward points</b>

Regards