data: ls_header like bapi_incinv_create_header, ls_item type bapi_incinv_create_item, lt_item type table of bapi_incinv_create_item, ls_tax type bapi_incinv_create_tax, lt_tax type table of bapi_incinv_create_tax, ls_return type bapiret2 , lt_return type table of bapiret2 . d...
MIRO 发票签收可用 BAPI_INCOMINGINVOICE_CREATE ,通常情况下中只需要传 itemdata,taxdata 参数。有种特殊业务,必须使用 accountingdata 参数。当按照通常情况调用接口会提示“M8 377 项目 000001 至少完成 ACCOUNTINGDATA 的一行”。 图1 报错代码截图 向上追踪堆栈可得知,不传递 accountingdata 参数程序必然报错。 问题...
发票校验BAPI_INCOMINGINVOICE_CREATE CALL FUNCTION 'BAPI_INCOMINGINVOICE_CREATE' EXPORTING headerdata = headerdata * ADDRESSDATA = IMPORTING invoicedocnumber = invoicedocnumber * FISCALYEAR = TABLES itemdata = itemdata * ACCOUNTINGDATA = * GLACCOUNTDATA = * MATERIALDATA = * TAXDATA = * WITHTAXDATA...
form frm_invoice_create2 . data: str type string. data: ls_headerdata like bapi_incinv_create_header, lt_itemdata like table of bapi_incinv_create_item, ls_itemdata like bapi_incinv_create_item, lt_return like table of bapiret2, ls_return like bapiret2, lv_invoicedocnumber like bapi...
SAP里同一家供应商在做发票校验时,是可以在一张发票里做正常采购订单和退货采购订单的数据,但是用bapi BAPI_INCOMINGINVOICE_CREATE1/BAPI_INCOMINGINVOICE_CREATE做校验时,会提示“迄今为止冲销数量大于贷出数量”, 这时候需要把抬头参数里deliv_posting和return_posting 填上才行,如下: ...
CALL FUNCTION 'BAPI_INCOMINGINVOICE_CREATE' EXPORTING headerdata = ls_headerdata IMPORTING invoicedocnumber = lv_invoicedocnumber TABLES itemdata = lt_itemdata materialdata = lt_materialdata return = lt_return. IF lv_invoicedocnumber IS NOT INITIAL . ...
CALL FUNCTION 'BAPI_INCOMINGINVOICE_CREATE' EXPORTING headerdata = ls_headerdata IMPORTING invoicedocnumber = lv_invoicedocnumber TABLES itemdata = lt_itemdata materialdata = lt_materialdata return = lt_return. IF lv_invoicedocnumber IS NOT INITIAL . ...
Hi Friends, I am using BAPI: BAPI_INCOMINGINVOICE_CREATE to create Invoice for respective service entry sheet of Purchase order. In PO level I am having multiple account
call function 'BAPI_INCOMINGINVOICE_CREATE' exporting headerdata = ls_headerdata importing invoicedocnumber = lv_invoicedocnumber tables itemdata = lt_itemdata return = lt_return. if lv_invoicedocnumber is not initial . write lv_invoicedocnumber. ...
您可以先选择创建销售订单,然后从销售订单编号创建发票吗?