SAP Function WB2_OPEN_SALES_BILLING - F/M to calculate the open sales billing (TEW)

Parameter Reference Type Length Default Optional Text
I_BUFREF C C 0 ' ' X
I_DOC_NUMBER VBELN C 10 X Sales and Distribution Document Number
I_DOC_TYPE WB2_DOC_TYPE C 2 X Document Type
I_ITEM POSNR N 6 X Item number of the SD document
I_NAME TFDIR-FUNCNAME C 30 X Function module name
I_OPEN_SCENARIO WB2_OPEN_SCENARIO C 2 X Scenario for Calculating Open Logistics Documents
I_READ_DB C C 0 ' ' X
I_STEP WB2_STEP C 4 X Business scenario read from table TB2BADD (Optional)
I_TEW C C 0 ' ' X
I_TEW_TYPE WB2_TEW_TYPE C 4 X Function module name
I_TKONN TKONN C 10 X Trading contract: Trading contract number
I_TPOSN TPOSN N 6 X Trading contract: item number

Parameter Reference Type Length Text
E_REF_FIELD C C 0
E_VALUE C C 0

Functionality
This function module is used in Trading Contract and Trading ExecutionWorkbench to calculate the open sales billing quantity.