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

problem while using bapi_po_create1

Hi All,

I m using bapi_po_create1 in a bsp application to create local po with account assignment = k

item category = d

material group = services.

PO gets created but g/l account and cost center is not getting reflected in neither the bsp application nor in SAP.

Your input will be of great help to me.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 26, 2006 at 10:08 AM

    have u filled the parameter given

    Parameter: POACCOUNT

    PO_ITEM = 00001

    SERIAL_NO = 01

    QUANTITY = 15.000

    GL_ACCOUNT = 0000400000

    COSTCENTER = 0000001000

    CO_AREA = 1000

    if u fill the parameter correctly and still problem persist consult the functional people. as i know

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 26, 2006 at 10:34 AM

    hi

    good

    The following authorization objects are checked when an Enjoy purchase order is created (activity 01):

    M_BEST_BSA (document type in PO)

    M_BEST_EKG (purchasing group in PO)

    M_BEST_EKO (purchasing organization in PO)

    M_BEST_WRK (plant in PO)

    -


    Transfer

    Header data

    The header data of the Enjoy purchase order is transferred in the table PoHeader.

    Item data

    The item data of the Enjoy purchase order is stored in the table PoItem (general item data). The delivery schedule lines are stored in the table PoSchedule.

    Use the table PoAccount to specify the account assignment information. If account assignments have been specified for services and limits, you show the relevant account assignment line in PoAccount in the table PoSrvAccessValues via the package number of the service or the limit.

    Services and limits

    Services, free limits and limits with contract reference can be specified in the tables PoServices, PoLimits, and PoContractLimits.

    Conditions

    Conditions are transferred in the table PoCond; header conditions in the table PoCondHeader. Price determination is reinitiated via the parameter CALCTYPE in the table PoItem.

    Vendor and delivery address

    The vendor's address can be specified individually in the table PoAddrVendor; the delivery address in the table PoAddrDelivery. If you do not make any individual specification, the fields will be populated via the central address managementfacility.

    Note

    In this method, the following restrictions apply with regard to addresses:

    Addresses can only be created with this method - they cannot be changed. You can only change address data with the method BAPI_ADDRESSORG_CHANGE.

    When you create addresses, they are not checked by the method. An Enjoy purchase order may therefore contain faulty address data.

    Partner roles

    The partners can be maintained individually via the table PoPartner (with the exception of the partner role "vendor").

    Import/export data

    Import/Export data can be specified per item in the table PoExpImpItem. Foreign trade data can only be transferred as default data for new items.

    Texts

    Header and item texts can be transferred in the tables PoTextHeader and PoTextItem. Texts for services are imported in the table PoServicesText.

    Version Management

    You can make use of the Version Management facility via the table AllVersions.

    Return

    The PO number is returned in the parameter ExpPurchaseOrder. In addition, all information except the service and export/import tables is placed in the output structures.

    Return messages

    Messages are returned in the parameter Return. This also contains information as to whether interface data has been wrongly or probably wrongly (heuristical interface check) populated. If a PO has been successfully created, the PO number is also placed in the return table with the appropriate message.

    thanks

    mrutyun^

    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.