2006 Feb 06 12:57 PM
hi,
I'm using bapi BAPI_INCOMINGINVOICE_CREATE/BAPI_INCOMINGINVOICE_PARK
to create invoices.
But I want create as "SAVE AS COMPLETE" status. Those 2 FM's don't do that.
I saw that they use FM MRM_INVOICE_CREATE where I think I can change parameters I_RBSTAT_NEW to 'B' and maybe achive what I want.
Am I right?
thank you
joseph
2006 Feb 06 1:47 PM
Hello Joseph,
What you say is correct it gives call to FM MRM_INVOICE_CREATE, however it pass parameter 5 in the field RBSTAT. so u will not be able to change the field unless u can copying the BAPI and making the necessary changes in the perform statement in the BAPI
PERFORM mrm_invoice_create_call USING s_rbkpv
tab_frseg[]
tab_co[]
tab_ma[]
c_rbstat_posted
space
CHANGING invoicedocnumber fiscalyear
return[]
f_subrc.
Hello Joseph,
What you say is correct it gives call to FM MRM_INVOICE_CREATE, however it pass parameter 5 in the field RBSTAT. so u will not be able to change the field unless u can copying the BAPI and making the necessary changes in the perform statement in the BAPI
PERFORM mrm_invoice_create_call USING s_rbkpv
tab_frseg[]
tab_co[]
tab_ma[]
c_rbstat_posted
space
CHANGING invoicedocnumber fiscalyear
return[]
f_subrc.
2006 Feb 06 1:11 PM
2006 Feb 06 1:47 PM
Hello Joseph,
What you say is correct it gives call to FM MRM_INVOICE_CREATE, however it pass parameter 5 in the field RBSTAT. so u will not be able to change the field unless u can copying the BAPI and making the necessary changes in the perform statement in the BAPI
PERFORM mrm_invoice_create_call USING s_rbkpv
tab_frseg[]
tab_co[]
tab_ma[]
c_rbstat_posted
space
CHANGING invoicedocnumber fiscalyear
return[]
f_subrc.
2006 Feb 06 1:56 PM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |