cancel
Showing results for 
Search instead for 
Did you mean: 

Requirement to populate the Profit center field of Vendor line item thru...

Former Member
0 Kudos

Hi,

My requirement is to populate the Profit center field of Vendor line item.

For this, I want to write a substitution where based on the Business Area of Vendor line item, the system should populate the Profit center while saving.

Is it possible thru Validation & Substitutions...

Plz guide me in writing this

Points will be suitable rewarded for replies.

regards

AVM

Accepted Solutions (1)

Accepted Solutions (1)

sridevi_p
Active Contributor
0 Kudos

Hi,

U can try substituion, but whatever substitution u activate, will affect all document entry postings

sridevi

Former Member
0 Kudos

Thanx for reply.

I will make sure that this subsitution works only for specific cases like Tcode, Account type, Doc type etc.

But only problem is how to write the code in Subsitution rules.

I will manage the Pre-requisite part but what abt the subsitution rules..

Plz guide me as i have never written a subsitution earlier.

regards

sridevi_p
Active Contributor
0 Kudos

Tcode: GGB1

An example shows how to make a G/L account available for line item substitution.

GGB1

Click FA – Doc Header

Click Create Substitution icon

Enter the Text

Click Create Step icon

Click the field u want – Say - BKPF- BKTXT

Choose the option – Say :Constant value

Give description of ur step

Click Prerequisite

Double Click Structure BKPF

Double Click BKPF-AWKEY

Click Constant button

Enter the Text u want to make it appler in the Reference key

Click Substitution and enter the constant value u want

Go to Tcode: GGB4

Click Substituted Fields

Give ur table and field (Here - BKPF- BKTXT)

Do it in a similar way..if u cannot proceed, let me know the exact field values..and i can take screenshots and send u across

Thanks,

Sridevi

Former Member
0 Kudos

Sridevi,

Click Prerequisite

Double Click Structure BKPF

Double Click BKPF-AWKEY

Click Constant button - I don't see a Constant button after double clicking BKPF - AWKEY.

Please clarify again.

Thanks,

SC.

Former Member
0 Kudos

I am marking the post as answered.

Actually i did everything what u said but just forgot to activate the Substitution in GGB4.

Now its working perfectly fine & as desired.

Thanx again

regards

AVM

Answers (0)