cancel
Showing results for 
Search instead for 
Did you mean: 

Functional Area substitution not working in FB50

rajesh_c7
Explorer
0 Kudos

Hello Experts,

We are facing issue in FB50 substitution for functional area. We have created a substitution and given prerequisite as BSEG-HKONT and set created for GL accounts list. If FB50 GL available in the set then it should substitute FA which we have given as constant value. It is working for all transactions. But only in FB50 we are facing issues. In FB50 also if we fill one line item completely and come to second line item and fill, the FA is updating correctly. Only the problem is when we fill all the line items in FB50 at a time, the FA is not getting updated. It sounds very strange. We checked by tracing also, the trace also worked only if we enter one line completely and going to second. If we give all line items at a time, the trace didn't worked. Please help.

Regards,

Rajesh

satyapriyanka_vana
Active Participant
0 Kudos

Hi,

Can you post your code so that we can have a better understanding.

Regards,

Priyanka.

rajesh_c7
Explorer
0 Kudos

Hi Priyanka,

Thanks for your quick response. Please find the below code:

Prerequisite: BSEG-HKONT IN AA_AIA.AFT (set created in GS01 for GL range)

Substitution: Functional Area constant value AFT

Regards,

Rajesh

satyapriyanka_vana
Active Participant
0 Kudos

I am sorry. Thought you used an EXIT for the substitution. I will try from my side then.

Regards,

Priyanka.

Accepted Solutions (1)

Accepted Solutions (1)

iklovski
Active Contributor
0 Kudos

Check, though, if note 2335762 - EnjoySAP: Substitution/validation is incorrect after you implement SAP Notes 2305067 and 2241006

is implemented in your system.

Regards,

Eli

rajesh_c7
Explorer
0 Kudos

Hi Eli,

Thanks a lot. We have implemented this note and now the issue is resolved.

Regards,

Rajesh

Answers (2)

Answers (2)

iklovski
Active Contributor

Hi,

Do you call your substitution on the line item or on the complete document?

Try calling it on complete document.

Regards,

Eli

rajesh_c7
Explorer
0 Kudos

Hi Eli,

Thanks for your response. Our substitution is at line item level. Unfortunately, the prerequisite GL account will not be accepted at complete document level as GL belongs to line item level only. Please suggest if any alternate is there.

Regards,

Rajesh

iklovski
Active Contributor
0 Kudos

You would be able to add it through user-exit, following through the set of G/Ls, importing it with G_SET_TREE_IMPORT function.

nico_dewaele
Active Contributor
0 Kudos

hi,

there are 2 fields called "functional area" in BSEG: FKBER & FKBER_LONG. are you substituting the field that you are looking at?

kr

Nico