2012 May 04 5:10 PM
I have created the exit U911 and assigned to a Substitution step as below.
Please find the below Code:-
* Begin Insert SN1 16/04/2012 CH50840
exits-name = 'U911'.
exits-param = c_exit_param_field.
exits-title = text-226.
APPEND exits.* End Insert SN1 16/04/2012 CH50840
FORM U911 USING b_result. "#EC CALLED
CASE BKPF-BUKRS.
WHEN '1265'.
BSEG-BUPLA = 'BNG5'.
BSEG-SECCO = 'BNG5'.
b_result = 'T'.
WHEN '1266'.
BSEG-BUPLA = 'BNG6'.
BSEG-SECCO = 'BNG6'.
b_result = 'T'.
WHEN '1269'.
BSEG-BUPLA = 'BNG9'.
BSEG-SECCO = 'BNG9'.
b_result = 'T'.
ENDCASE.
ENDFORM.
It is working fine for Business Place or BSEG-BUPLA(able to substitute/ defaulted Value).
But it is not working for Section Code or BSEG-SECCO.
Please sugget..
Thanks,
Suresh N
2012 May 04 7:39 PM
Have you verified that BSEG-SECCO is a field that is allowed to be substituted?
Rob
2012 May 05 3:40 PM
Hi Rob,
Please suggest me how can i verify the BSEG-SECCO is allowed for substitution.
Can you provide me the steps.
Thanks,
Suresh
2012 May 06 11:51 AM
Hi, try implementing the substitution under the node 'BPLACE'.
I have done the same and it worked for me.
Regards,
Vijaymadhur.
2012 May 06 5:28 PM
Hi Vijaymadhur,
Could you please explore with "Substitution under the node 'BPLACE'",
This will help me.
Thanks,
Suresh
2012 May 06 5:18 PM
Please check if the field is maintaine in GB01 table and is not excluded for substitution . You will get from the description of the fields. If it exclude then remove the exclude checkbox and it should work.
You can find the maintenance view using sm30 ( if i remember the vies is v_gb01c )
2012 May 07 2:13 PM
You cannot just make a change to GB01. You must read note 842318 first. there are probably other notes to take into account as well.
Rob