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: 
Read only

FI Substitutions (Tcode : OBBH)

Former Member
0 Likes
4,004

Hi Experts,

My requirment is to write a Subst routine(OBBH) using call point 3 which

checks for a given range of co codes (BUKRS) and reason codes(BSEG-RSTGR) NOT equal to ' ' (space) at <b>document item level.</b>

But i am unable to create a formula in pre requisite which checks for a range of co codes(BUKRS) and also Reason codes(BSEG-BUKRS as it is throwing an error.

My pre requisite formula should be like :

BKPF-BUKRS >=1000 AND BKPF-BUKRS <= 2000 AND BSEG-RSTGR <> ' '.

when i use the formula builder its not allowing me to write a space for

BSEG-RSTGR <> ' '. It only enables the commentary button

How can i acheive this? Please help.

Thanks

Dany

1 ACCEPTED SOLUTION
Read only

JozsefSzikszai
Active Contributor
0 Likes
1,992

hi Dan,

in the menu : Settings / Expert mode

than you can type : ' ' and it will work.

On the other hand in 'normal' mode just click on Constants and hit enter in the upcuming pop-up. You won't see anything but if you click on Expert mode (like above) you'll see it is working properly (except the display, which I believe is a strange program error)

hope this helps

ec

Hi Experts,

My requirment is to write a Subst routine(OBBH) using call point 3 which

checks for a given range of co codes (BUKRS) and reason codes(BSEG-RSTGR) NOT equal to ' ' (space) at <b>document item level.</b>

But i am unable to create a formula in pre requisite which checks for a range of co codes(BUKRS) and also Reason codes(BSEG-BUKRS as it is throwing an error.

My pre requisite formula should be like :

BKPF-BUKRS >=1000 AND BKPF-BUKRS <= 2000 AND BSEG-RSTGR <> ' '.

when i use the formula builder its not allowing me to write a space for

BSEG-RSTGR <> ' '. It only enables the commentary button

How can i acheive this? Please help.

Thanks

Dany

2 REPLIES 2
Read only

JozsefSzikszai
Active Contributor
0 Likes
1,993

hi Dan,

in the menu : Settings / Expert mode

than you can type : ' ' and it will work.

On the other hand in 'normal' mode just click on Constants and hit enter in the upcuming pop-up. You won't see anything but if you click on Expert mode (like above) you'll see it is working properly (except the display, which I believe is a strange program error)

hope this helps

ec

Read only

0 Likes
1,992

Hi Eric Cartman,

Thanks for the reply. But when i enter BSEG-RSTGR <> ' ' as below :

BKPF-BUKRS >=1000 AND BKPF-BUKRS <= 2000 AND BSEG-RSTGR <> ' '.

It is throwing a syntax error like " This formula was composed upto first syntax errror".

Any more suggestions please

Thanks

DAny