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.
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 '.
I am sorry.
I am not found any relationship at all BSEG-buzei (accounting document) that refers to each position of the invoice of sale (SD).
My question is how I can get the relationship for each position of the invoice for the same accounting document?
This functión "RV_ORDER_FLOW_INFORMATION" can you help me?
Thank you very much.