on 05-25-2007 10:48 AM
Hi all,
I should retrieve the gl account number linked to a certain SD invoice item. The
program starts from VBRK and VBRP data. Is there a function module which
enables to get it starting from these header lines? I already used the function
module: RV_INVOICE_ACCOUNT_DETERM ( release: 4.0 ), but in some cases it
doesn't seem to function properly ( the export table TKOMV doesn't contain a
value for the SAKN1 field ). For the invoices for which the function isn't able to
retrieve the account number, the standard accounting analysis functionality returns
the following message: account determination carried out via KOFI type. So I'm
searching for a function module that's able to retrieve the account number in these
cases also.
Thanks in advance.
Adriano.
Dear Adriano,
Try with Function Module 'SD_DETERMINE_ACCOUNT_INVOICE '.
Additional Info:
BAPIs related salesorder:
BAPI_SALESORDER_CHANGE Sales order: Change Sales Order
BAPI_SALESORDER_CONFIRMDELVRY Sales Order: Confirmation of Delivery; Document Flow Update
BAPI_SALESORDER_CREATEFROMDAT1 Sales order: Create Sales Order
BAPI_SALESORDER_CREATEFROMDAT2 Sales order: Create Sales Order
BAPI_SALESORDER_CREATEFROMDATA Create Sales Order, No More Maintenance
BAPI_SALESORDER_GETLIST Sales order: List of all Orders for Customer
BAPI_SALESORDER_GETSTATUS Sales Order: Display Status
BAPI_SALESORDER_SIMULATE Sales Order: Simulate Sales Order
FM:
MB_ADD_PURCHASE_ORDER_QUANTITY (Reading and adding open purchase order quantities)
SD_SALES_ORDER_STATUS_WWW for complete details including the delivery information.
Hope this will help.
Regards,
Naveen.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.