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: 

Get parameter ID 'PRO' not working in substitution rule in background mode

Former Member
0 Kudos

Hi All

I have a substitution rule for Tcode CJ88/CJ8G and is working fine in the foreground. When I schedule it or submit the program via a batch job, the code in substitution doesnt run as it is using GET PARAMETER ID 'PRO' for the WBS element for which the settlement is being run.

Please tell me how to get the Parameter ID value in the BG mode. It is very critical for me.

Please help me.

4 REPLIES 4

Former Member
0 Kudos

The substituion works fine irrespective of you are running the transaction bg or online.

Check in debug

1.Substituion condition is fulfilled.

2.parameter id holds a value

You can put a break point in the user exit if you are calling the substituion in a exit.

Regards

Bhanu

0 Kudos

Hi Bhanu

Yes it goes to the rule both in FG and BG but the difference is that in BG, the Get Parameter ID 'PRO' doesnt return any value while in FG it does.

Hope you understand my situation.

Thanks

Former Member
0 Kudos

refer OSS note 1430115

Former Member
0 Kudos

Hi,

Just add this parameter 'PRO' in the parameter tab of transaction SU01 this will be specific to user.

Hope this helps!!!