BAPI for ME21N with Material Configuration

Hi friends,
I need to create a Z Program which will create the purchase order and during creation of purchase order it will also make the configuration of material in Material Data. I know the BAPI name BAPI_PO_CREATE1, but it will not do the configuration in Material Data.
I have tryed the BDC but it is working for only one line item only.
Please suggest any suitable way for the solution.
Thanks in advance.
Krishan

Can you explain what exactly you mean by Material Configuration?
BAPI_PO_CREATE1 is the right bapi for ME21N.
YOu cannot do a BDC on this tansaction as it is a SAP Enjoy transaction.
Regards,
ravi

Similar Messages

  • BAPI FOR CREATION OF MATERIAL VARIANT IN SAP

    Dear All,
    Can anoy one please provide me name of BAPI to create material variant.This is required when we create material variant for a configurable material, characteristics values are added in MRP 3 View  .

    i am not clear what youn are looking for.
    Say material X is KMAT,
    Material Y you have created as a variant of X by entering the conf material X in MRP3 view and setting the char values
    Material Z you have created as a variant of X by entering the conf material X in MRP3 view and setting the char values different than Y
    Now Y and Z are material variants of X, now tell me exactly what you are looking for?

  • Bapi For Bom and material Bom in cs71

    Hi,
        In CS71 we have 2 pushbuttons on the top ie create/copy BOM and create/copy Material BOM.   for these 2 funtions i need Bapi or FM for the functionality of those 2 pushbuttons.
    Duplicate thread Continue with this one - Re: How to search for BAPI or FM for some requirement
    Edited by: kishan P on Aug 20, 2010 11:54 AM

    I tried to find BAPI for transaction CS71, but it seems that its no available.
    Try using BDC method for the same.
    Regards,
    Lalit Mohan Gupta.

  • Error in BAPI for ME21N

    Hi,
    I have developed a Z program for ME21N by using BAPI( BAPI_PO_CREATE1). When I executive it always shows
    "Please enter items first. No instance of object type PurchaseOrder has been created. External reference: Document contains no items".
    Would you suggest how can I solve this problem
    Best Regards
    Mahabub

    Hi mahaboob,
    Before creating Z program  , first  execute Function module itself in se37 by passing required parameters with help of functional consultant and if any errors occurs , functional consultant can easily idetifies and resolves it. After successfully execution, develop the Zprogram.
    Place the parameters what you are passing , so that i can help you if you need.
    Regards,
    Ravi

  • Assign Source of supply is not working for contract with material group

    Dear Experts,
    I have searched all the threads and gone through before posting my query. So i would ask moderators to go through the thread properly before rejecting this.
    We have value contracts with respect to a particular material group without material and with item category W in the contract item, Please note that for the materials with this material group, the source determination is not set and source list is also not maintained.
    When we create PR for the material with this contract, and when we click on assign source of supply contracts used to get popped up, but recently from few days, when we click on assign source of supply we are getting an error " no source found for this item ".
    Can anybody help on this.
    Regards

    @ Biju,
    As mentioned earlier, we are not creating PR with reference to contract.
    first we are creating contract with item category W (material group), without material and plant details.
    we create PR with or without material with account assignment K and with the material group in the transaction ME51N, and after inputting all the fields, we click on assign source of supply, it was proposing the existing contracts with respect to material group earlier, but it is not happening for particular material group(it is working for all other material groups)
    Hope it is clear.
    @ Dev Patra,
    we are using DIEN-Service material types and we assign that particular material group to only service material type.
    we have not ticked, source list in the material master, we donot have any source list for the materials under that material group.( please check the note 457110- question number 14.)
    Regards

  • BAPI for creation of material documents/movements

    Hi Everebody:
    I need some help regarding to bapis for the creation of mateial documents and/or movements. I have been trying to implement bapi BAPI_GOODSMVT_CREATE, but this bapi does not have (import) the posting time in document, which is very important for my porpuse.
    So, I would appretiate a lot any information anybody could give about any bapi I could use to create material documents or material movements but incluidng the posting time in document (field MKPF-OIB_BLTIME).
    Regards

    You can check MB_CREATE_GOODS_MOVEMENT which has mkpf as inporting parameter.

  • FM/BAPI for creation of Material Document (similar to Transaction MB1C)

    Hi Gurus,
    Good day.
    Are you guys aware of FMs / BAPIs that can produce Material Documents (similar to the Function of Transaction MB1C)?
    Thank you very much!
    Best regards.
    Brando

    hi
    in addition to BAPI_GOODSMVT_CREATE ,you can try user exits as well like
    MBCF0005 Material document item for goods receipt/issue slip
    MBCF0002 Customer function exit: Segment text in material document item
    MB_CF001 Customer Function Exit in the Case of Updating a Mat. Doc
    hope this helps
    regards
    Aakash Banga

  • Function Module/BAPI for Posting with Residual Clearing

    Hello All,
    I want to know whether any Function Module/BAPI avaialble for posting with residual clearing (FB05). Can we do residual clearing using the FM "Posting_Interface_Clearing"?
    Please let me know how this can be handled.
    Thanks in advance.
    With Regards,
    Senthil.

    Hi senthil ,
    Look at these threads
    POSTING_INTERFACE_CLEARING
    bapi for Transfer posting with clearing
    BAPI_ACC_GL_POSTING_POST for FB05
    Question about POSTING_INTERFACE_CLEARING and POSTING_INTERFACE_START
    Regards,
    Gaurav

  • BAPI for MIGO with respect to Outbound delivery or Stk trfer pur order

    please let me know is there any standard BAPI for MIGO transaction with respect to Outbound delivery or Stock transfer purchase order

    try these...
    BAPI_OUTB_DELIVERY_CONFIRM_DEC
    BAPI_OUTB_DELIVERY_SAVEREPLICA
    BAPI_OUTB_DELIVERY_SPLIT_DEC

  • Bapi for association with Equipment serial number and return order

    Hi,
    I wanted to know if there was a BAPI which has an association between
    Equipment serial number and return order .As I want the association between Euipment serial number and return order to show in the Equipment Serial history.
    Could you please help with this.
    Thanks & Regards,
    MJohn.
    Edited by: mjohn02 on Feb 15, 2012 10:38 AM

    Hi Sandeep
    I want create a return delivery  for the material with the same serial number  for which i have created original delivery but the system is not allowing it is giving me error message as return delivery not possible with same serial number.How do i go forward.
    Regards
    T.Srikanth

  • For report with material and workcenter

    my client reqd a report for the materials plan order and production generate for the period with respective week in specific workcenter.
    Hence for the plan order order and production order i am useing PLAF and AFPO but i am expecting a excelent tips  to get a workcenter wise report .As for the materials defined with production version i am getting by production line but for non production version material how do i fetch.
    Input will be plant and workcenter on the basis of that generated count  of plan orders and count of production orders need to appear.
    expecting a help from SAP PP gurus.............

    Hi,
    Before developing customized report please check with std. report COOIS.
    First give input as  List = order Header , profile, select Production order check box  alone  & workcenter/plant/date & excute .
    Then try with planned order check Box ,
    This will give sepearte list for Both production & plant order.
    u can use change layout option to design report  output as u need
    Please check & come back
    Regards
    pradeep

  • Bapi for customer wise material stock on date

    hi all,
    is there any bapi to find customer wise material stock as on date.as logic as MB5B

    Hi Kumar,
    MB5B is a report RM07MLBD  u can copy it to Z, do the logic as you required.. instead of searching for new.. & buliding the logic from the scratch..  so that u will get all the Functionality of MB5B
    Regards

  • BAPI for transfer with posting -FB05 (transaction f-04)

    We are running R/3 4.7.
    Does anyone know if there is a BAPI that will do a transfer with clearing for GL accounts? The SAP transaction for GL transfer with clearing is F-04. If so could you let me know the name of the BAPI.
    Thank you
    Chris

    Hi Christopher,
    Have a glance at the link below, here you can find list of BAPI's
    http://www.sapbapi.com/bapi-list/
    Regards,
    Soundarya.

  • Order as Direct material check is not coming for shoppingcart with material

    Hi,
    We are using portal indpendent navigation screen (NWBC) SRM 7.0 extended classic scenario. Order as direct material check box is not coming in item data of shopping cart for shopping against the material. I checked every thing but not able to get the check box for order as direct material.
    Please advise what to do.
    (N. Kiran Kumar)

    Hi,
    Please check that the component configuration has not hidden the field, it is under the following configuration:
    General Information About the Application and Component
    Application: /SAPSRM/WDA_L_FPM_GAF
    Web Dynpro Component: /SAPSRM/WDC_DODC_SC_I_BD
    Window Information: IV_L_FPC_CA_DETAILS
    View Information: V_DODC_SC_I_BD
    Configuration ID: /SAPSRM/WDCC_FPM_DODC_SC_I_BD_WI
    Component Element you are looking for is ORDER_DIRECT_MAT_LABEL
    Also check if someone has hidden the field using WD customizing onscreen, right click over the screen and choose 'User Settings', here check if any fields are hidden.
    Regards,
    Jason

  • BAPI for Posting with clearing

    Hi all,
    Is there any BAPI which can do posting with clearing?Generally we can acheive this through a transaction F-04.BAPI required which can acheive the functionality of F-04.Any Inputs will be highly appreciated with points.
    Thanks and Regards
    Kiran

    hi,
    check this function module.
    POSTING_INTERFACE_CLEARING.

Maybe you are looking for

  • Why do I need to "pushstart" this Sawtooth?

    I just bought a Sawtooth from a thrith shop for $25. It was dead, had no RAM, and no Drives, but that was ok since I planned to swap the gear from my Blue & White. The RAM from the Blue & White didn't work, but the power supply, and a new 512 meg sti

  • Upgraded to Yosemite, lost YouTube

    While I'm enjoying the new Yosemite update, I've run into one problem. Whenever I try to watch something on YouTube, most of the time the video plays with only sound and a black screen.  I've had to completely close out of Safari and reopen the windo

  • Bug: renaming a file on desktop.

    When I click on a desktop icon to rename it, the text disappears.  I have to click the icon and then CMD-I if I want to see what I want to rename.  This started happening on with the first update to Lion -- 10.7.1 and got carried over in 10.7.2.

  • Disatisfied notebook owner with an aftersales support

    Is Toshiba making its customers victims of its success? Generally reliable products resulting in a poor aftersales support? I have been using laptops for business and pleasure for several years without fault and as the satisfied owner of Toshiba TVs

  • I forgot my security question answers what can i do

    I wanted to buy an album and the iTunes Store asked me my security answers but i don´t remeber them