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

posting excise invoices using BAPI

Former Member
0 Likes
628

I am using BAPI_GOODSMVT_CREATE to upload GR. But there is no option in this BAPI to give excise invoice number and date.

Is there any way to upload excise invoice using this BAPI?

Thanks in advance.

Subba.R

4 REPLIES 4
Read only

gouravkumar64
Active Contributor
0 Likes
587

BAPI_EXCINV_CREATE_FROMDATA use this or

see the example in this thread it may be helpful

http://scn.sap.com/thread/1151920

Read only

0 Likes
587

Hi,

Thank you for your answer.

But i tried with code having in this link  'http://scn.sap.com/thread/1151920'  ,but it's not posting the ExciseInvoices .

And for regarding  FM 'BAPI_EXCINV_CREATE_FROMDATA'    this is not having the source code .i am not sure about  it's working perfect or not.

Can you give idea how to work with BAPI_EXCINV_CREATE_FROMDATA & what are the parameters i need to pass for posting Excise invoices.

Thanks in Advance.

Subba.R

Read only

0 Likes
587

Hi,

This coding may be helpful to u,

CALL FUNCTION 'BAPI_EXCINV_CREATE_FROMDATA'

EXPORTING

    obj_header =                                   "bapi_j_1iexchdr   Excise invoice header detail

    process_flag =                              " bapi_j_1iexchdr-ref_indicator    I - for inbound and O for outbound

  TABLES

    obj_item =                                            " bapi_j_1iexcdtl   Excise invoice line item details

    return =                                               " bapiret2                   Return Parameter

    .  "  BAPI_EXCINV_CREATE_FROMDATA

>>>

For details read documentation in se37.

Gourav.

Read only

0 Likes
587

HI,

i tried with BAPI_EXCINV_CREATE_FROMDATA by passing the parameters as well, but its not giving any output.

Please give me more information regarding this.

Thanks in Advance.

Subba.R