Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ERROR IN BAPI_INCOMINGINVOICE_CREATE

Former Member
0 Likes
780

HI,

Passing these values to header data and item data

e_header-invoice_ind = 'x'.

e_header-doc_date = sy-datum.

e_header-pstng_date = sy-datum.

e_header-comp_code = '1505'.

e_header-currency = 'USD'.

e_header-gross_amount = '25.31'.

e_header-calc_tax_ind = 'X'.

e_header-ref_doc_no = 'Teste BAPI'.

e_header-currency = 'USD'.

t_itemdata-invoice_doc_item = '000001'. " Item

t_itemdata-po_number = '4500472005'. " Pedido

t_itemdata-po_item = '0010'. " Item Pedido

t_itemdata-tax_code = 'I0'. " Taxa IVA

t_itemdata-item_amount = '25.31'. " Montante

t_itemdata-quantity = '432'. " Quantidade

t_itemdata-po_unit = 'PCS'. " Unidade

  • t_itemdata-item_text = 'VAN-C21740'. " Texto

append t_itemdata.

Getting error System error: Error in routine MRM_DRSEG_FILL(SAPLMRMH)

Can anybody tell me what is the cause,appreciate quick response.

2 REPLIES 2
Read only

Former Member
0 Likes
433

Hi,

Populate the same data in MIRO..And check if you able to manually create the invoice..

Thanks,

Naren

Read only

0 Likes
433

Yes i can create invoice through miro