Skip to Content
author's profile photo Former Member
Former Member

MIRO BAPI

I want to find a field for RM08M-XWARE_BNK in BAPI_INCOMINGINVOICE_CREATE to map

I can not see in this BAPI. Can someone help me?

If this field is not there then does it need to be created if so then how I can create it?

Thanks!

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on May 10, 2011 at 06:00 PM

    Seems it is not being used in the BAPI you have provided but here is more info about the field you are looking for

    There is no direct relationship to other fields in any table but see the following code from MIRO

    check rm08m-referenzbelegtyp eq '1' or

    rm08m-referenzbelegtyp eq '5'.

    case rm08m-xware_bnk.

    when 1.

    rbkpv-xware = 'X'.

    rbkpv-xbnk = space.

    when 2.

    rbkpv-xware = space.

    rbkpv-xbnk = 'X'.

    when 3.

    rbkpv-xware = 'X'.

    rbkpv-xbnk = 'X'.

    endcase.

    This one sets values to two other fields based on the selection. So when you run the bapi, you better look for XWARE and XBNK and do your magic to set them as per the requirement.

    Then XWARE and XBNK are used in the structure BAPI_INCINV_SAVE_HEADER_BACKGR and the same structure used in business object bus2081 which is incoming invoice. unfortunately, this is not being used in the BAPI that you are searching for but in BAPI_INCOMINGINVOICE_SAVE.

    Read the bapi documentation for functions and restrictions.

    in other words, you can try using EXTENSIONIN parameter in bapi incoming invoice create. Search google and/or SDN for sample code. You have to do some debug and also try creating without even providing that particular indicator.

    good luck.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.