Application Development and Automation 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: 

Clarification needed on Substitution rule in OBBH

Former Member
0 Kudos
345

Hi All,

My requiresment is , I have replace the cost center with new cost center (from Ztable) coming from posting through FB60 in OBBH.

Can we use OBBH substitution for this requirement. Please clarify.

I tried to use user exit "U100" in ZPool with required code. Its not replacing the cost center.

Please advice.

Regards,

SekharD

1 ACCEPTED SOLUTION

nirajgadre
Active Contributor
0 Kudos
207

Hi,

you can substitute the profit center using the OBBH substitution.

In your exit U100 try to pass the data into BSEG structure based on you logic.

and also check

1. In prerequisite put the sy-tcode = 'FB60'.

2. The profit center field is usable for the use in the substitution in GB01 table.

2. T80D table contains the correct substitution program name.

3. if field profit center is not maintained in the GB01 for the substitution with class 009 type S, table BSEG, COBL and filed name then try to maintain it in VWTYGB01 using sm30 and check again.

1 REPLY 1

nirajgadre
Active Contributor
0 Kudos
208

Hi,

you can substitute the profit center using the OBBH substitution.

In your exit U100 try to pass the data into BSEG structure based on you logic.

and also check

1. In prerequisite put the sy-tcode = 'FB60'.

2. The profit center field is usable for the use in the substitution in GB01 table.

2. T80D table contains the correct substitution program name.

3. if field profit center is not maintained in the GB01 for the substitution with class 009 type S, table BSEG, COBL and filed name then try to maintain it in VWTYGB01 using sm30 and check again.