Announcement:
wanna exchange links? contact me at sapchatroom@gmail.com.
Posted by
Admin at
Reply from wnash7658 on Sep 25 at 11:38 PM The message I think tells you that your credit memo quantity is greater than the original invoice. Though I can see in my test example that HEADERDATA-invoice_ind would be blank. Regards Waza
| | | ---------------Original Message--------------- From: TIANCZ Sent: Tuesday, September 25, 2012 1:02 AM Subject: BAPI_INCOMINGINVOICE_CREATE with both 161 and 101 BAPI_INCOMINGINVOICE_CREATE with both 161 and 101 for example 1.migo 101 get 1000KG amunt 1000? 2.for some reason i have to return 400kg to the vendor ,creat a return po then migo 161 400kg amount 400? but the vendor hava no ability to deliver 2 invoice ,only one invoice amount 600? i have to run the bapi with two items to do the Invoice verification in one invoice i set the parameters as usual . return msg id M8 476 HEADERDATA-invoice_ind = 'X'. HEADERDATA-doc_type = 'RE'. HEADERDATA-DOC_DATE = wa_header-DOC_DATE. HEADERDATA-PSTNG_DATE = wa_header-PSTNG_DATE. HEADERDATA-BLINE_DATE = wa_header-BLINE_DATE. HEADERDATA-gross_amount = wa_header-gross_amount. HEADERDATA-CURRENCY = 'CNY'. HEADERDATA-ref_doc_no = wa_header-ref_doc_no. HEADERDATA-HEADER_TXT = wa_header-HEADER_TXT. HEADERDATA-ITEM_TEXT = wa_header-ITEM_TEXT. HEADERDATA-comp_code = wa_header-COMP_CODE. HEADERDATA-del_costs_taxc = 'J0'. ITEMDATA-invoice_doc_item = sy-tabix. ITEMDATA-po_number = gt_item-ebeln. ITEMDATA-po_item = gt_item-ebelp. ITEMDATA-item_amount = gt_item-dmbtr. ITEMDATA-quantity = gt_item-menge. ITEMDATA-po_unit = gt_item-meins. ITEMDATA-tax_code = 'J0'. ITEMDATA-ref_doc = gt_item-belnr. ITEMDATA-ref_doc_year = gt_item-gjahr. ITEMDATA-REF_DOC_IT = gt_item-BUZEI. APPEND ITEMDATA. | | Reply to this email to post your response. __.____._ | _.____.__ |