2 Replies Latest reply: Mar 1, 2012 11:49 AM by Gustavo Hermoza Azaldegui RSS

RV_ORDER_FLOW_INFORMATION

Gustavo Hermoza Azaldegui
Currently Being Moderated

Hello,

 

I have a invoice of sale (SD) with two positions ( 10 and 11 )

The two positions refer to the same accounting document (FI)

Accounting is correct!

 

I can not find a relationship in  table "BSEG"  to select the BUZEI that corresponds to the position of the invoice (SD)

Or a BAPI or a function that return the correct buzei or correct accounting point.

 

 

If we look at each position of invoice SD is the same accounting document (FI)  and  I have reviewed the characteristics defined in VKOA and can not find a relationship.

 

 

I use this function "RV_ORDER_FLOW_INFORMATION" but I dont get to relationship with invoice position.

Only I have "accounting document".

 

 

Since the transaction VF03 when selecting any of the two positions.

Next, the system  run the function "AC_DOCUMENT_RECORD.

EXPORTING

   I_AWTYP = 'VBRK'

  I_AWREF = VBRK-VBELN

  I_AWORG = VBRK-LOGSYS

  I_BUKRS = VBRK-BUKRS

 

Then: You select accounting document (FI) and  the system  run the function "FI_DOCUMENT_RECORD '.

 

Best regards,

Gustavo

Actions