cancel
Showing results for 
Search instead for 
Did you mean: 

OBBH Subsitution available for table MARA, MSEG?

former_member1278972
Participant
0 Kudos

HI,

The substitution function seem like can be used to substitute a value for table BSEG or header table BKPF only. Am I correct?

I need to write a substitution with check table for MARA and MSEG. How am I archeive this?

I write:-

Prerequisite:

MARA-MATKL = 'RAW005' AND MSEG-BWART = '201'

Subsitution:

G/L: Constant value 5200001

System does not allow to save, because of this:-

Formula cannot be saved because it is incomplete

Message no. SFB503

Diagnosis

You have attempted, either through explicit save or by exiting the Formula Builder, to save a formula that is not complete and not without syntax errors.

Procedure

Correct the formula so that the status light is "Green" and save the formula once again. Or exit the Formula Builder using the function "Cancel", without saving the changes.

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

vivek_srivastava12
Active Contributor
0 Kudos

Hi,

Substitution can be written for FI Table BSEG and BKPF, if you want to check other tables also then write code with the help of ABAPer by using User Exit.

Br,Vivek

former_member1278972
Participant
0 Kudos

Hi,

Thank you for your guidance. May I know, is there any user exit suite my requirement? Or, I need to create from scratch?

Thanks

former_member191564
Active Contributor
0 Kudos

Dear expert

n OB28, go into your validation rule, select the display mode, select your step and click on menu Extras - Expert Trace - Set Break point. Go into a new screen and try reporting the transaction. The system will stop in your validation rule. Get the help of an abaper to check the code. Or you can keep clicking on F5 to trace whats happening.

Regards

Ajeesh.s

vivek_srivastava12
Active Contributor
former_member1278972
Participant
0 Kudos

Dear,

Yes, you are right. Thanks you so much.

Answers (0)