cancel
Showing results for 
Search instead for 
Did you mean: 

Empty Sales Document fields in FBL5N

Former Member
0 Kudos

Hi

I have a problem with FBL5N - the sales document fields are empty when I move the sales doc column into the ALV list. There are also other empty columns. How do I get the sales document colum populated?

Thanks!

LouisB

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi all

I still had a problem after trying the above user exit, so I logged the problem with OSS, They replied with the below this morning:

>>>

I checked again and it's not possible to have VBEL2 in FBL5N in standard. In theory, VBEL2 should become a special field, but it is only available in T021S and RFPOSXEXT as U_VBEL2.

Special Fields defined in T021S and RFPOSXEXT are not available in FBL5N.

You can get the customer line item filled with VBEL2 with the help of user-exit "EXIT_SAPLV60B_002", and only for those documents filled after the exit was activated. Even if BSID-VBEL2 was updated you can't get it displayed in FBL5N without the exit.

Please try the following:

Enhancement SDVFX002, EXIT_SAPLV60B_002 User exit for A/R line (transfer to accounting), the Function module is EXIT_SAPLV60B_002. I've entered the following code in the funct module:

xaccit-kdauf = cvbrp-aubel.

xaccit-kdpos = cvbrp-aupos.

After the Billing Doc is released to Accounting, I see that BSEG-VBEL2, BSEG-POSN2, BSID-VBEL2, and BSID-POSN2 are now filled with the Enhancement activated.

>>>>>

I will incorporate the recomendations, and update this thread with the results.

LouisB

gladys_xing
Active Contributor
0 Kudos

Hi LouisB,

is the field VBEL2 filled in the customer line in document? if not, then You can get the customer line item filled with VBEL2 with the help of

the user-exit "exit_saplv60b_008" .Please see note 301077 for more information.

Addition if there is value in customer line, but the VBEL2 in FBL5N still was displayed as empty, you could try to run the report:BALVBUFDEL for reseting

the buffer. details pls. refer to note:318028 and 215798.

Hope above infor.are helpful for you!

Best Regards,

Gladys xing

Former Member
0 Kudos

Hi Gladys

Thanks for the reply - I'll give it a go.

Regards.

LouisB

Former Member
0 Kudos

Hi Gladys

We tried this exit, but still it doesn not populate the BSEG-VBEL2 with the sales order no.

As an alternative we filled up the XREF3 with the sales order no. (from VBRP-AUBEL).

Any other workaround that is possible?

Requirement is to view the Sales order no. in the 'Sales Doc' BSEG-VBEL2 column in the Customer line item of the accounting document.

Thanks

Prachi