‎2007 Feb 21 7:47 PM
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.
‎2007 Feb 21 8:06 PM
Hi,
Populate the same data in MIRO..And check if you able to manually create the invoice..
Thanks,
Naren
‎2007 Feb 21 8:38 PM