cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance 0FI_AR_3/0FI_AR_4 Datasource

Former Member
0 Kudos

Hi Experts,

I am relatively new to SAP BW, I have a requirement wherein I need to fetch invoice number into my Data source 0fi_ar_3/0fi_ar_4 standard datasource.

There is a field BSID-REBZG (Invoice no) in the standard extractor but it does not have any value in it. Can you please provide a logic to find inovice no. into the given datasource corresponding to Clearing document no.

Regards,

Monil

Accepted Solutions (0)

Answers (4)

Answers (4)

AdemGuler
Participant

Hi Monil,

Go to the tcode: cmod

Enter into the EXIT_SAPLRSAP_001

Double click on INCLUDE ZXRSAU01.

and add th following code:

when '0FI_AR_3'.

field-symbols: <0FI_AR_3> type DTFIAR_3.

loop at c_t_data assigning <0FI_AR_3>.

select single REBZG from BSID INTO (<0FI_AR_3>-REBZG)

where BELNR = <0FI_AR_3>-BELNR.

endloop.

Please try this and share the result.

BR

former_member231709
Active Contributor
0 Kudos

I think that for five years the author already all understood 🙂

Former Member
0 Kudos

Hi,

Thank you for the replies, I want to VBRK-->VBELN field into 0FI_AR_3 can you please help me identify the logic? It would be very hepful.

Regards,

Monil

Former Member
0 Kudos

Hi Monali,

Refer this thread you will get clear idea for this issue.

Thanks,

Somesh.

Former Member
0 Kudos

This message was moderated.