Function module for Article creation (transaction MM41)

Hello,
I have been trying to create an article which is normally done using transaction MM41.
I am trying to use BAPI_MATERIAL_SAVEDATA to do this, but since article creation is different  from regular material creation, there are fields that are not available, for example article category (MARA-ATTYP).
Another problem encountered with the BAPI is that the industry section is a required input.  For MM41 it is not a required field.
Therefore, is there an available function module aside from the BAPI mentioned above that can perform article creation?
If the BAPI above is sufficient, how can I properly populate the necessary fields?
Additional information:  requirement is developed in 4.6c.
provide the code I've been working on if asked.
Thanks in advance!

Hello Harsh
To extend the article to another distribution channel you need to populate the salesdata/salesdatax structures of the BAPI.  For example:
  CLEAR wa_salesdata.
  wa_salesdata-material            = material.
  wa_salesdata-sales_org           = salesorg.
  wa_salesdata-distr_chan          = dstchan.
  wa_salesdata-item_cat            = itemcat.
  wa_salesdata-matl_stats          = '1'.
  APPEND wa_salesdata TO i_salesdata.
  CLEAR wa_salesdatax.
  wa_salesdata-material            = material.
  wa_salesdata-sales_org           = salesorg.
  wa_salesdata-distr_chan          = dstchan.
  wa_salesdatax-item_cat            = 'X'.
  wa_salesdatax-matl_stats          = 'X'.
  APPEND wa_salesdatax TO i_salesdatax.
I believe the important data you need to have are material, sales org, and distribution channel.
Hope this helps.

Similar Messages

  • Functional module for automatic creation of pur requisition & pur order

    hello,
    what is the functional module for automatic creation of puchase requisition and automatic creation of purchase order which we will assign in action box in service order processing management.
    please let me know as early as possible
    regards,
    rajesh kumar raju

    Hi,
             Please check with following.
    IDOC_INPUT_ACC_PURCHASE_REQUI
    IDOC_INPUT_ACC_PURCHASE_ORDER
    /ISDFPS/OR_PURCHASE_ORDER_CR
    BS01_PURCHASE_DOCUMENT_CREATE
    CO_MP_CREATE_PURCHASE_ORDER
    Thanks & Regards
    Sadhu Kishore

  • BAPI/Function Module for Debtor Creation

    Hi Friends,
      Could you pls let me know the BAPI or Function Module for Debtor Creation.
    Thanks
    Ravindra

    Hi,
    I found one link for you, check out probably help you out.
    http://abap.wikiprog.com/wiki/Category:BAPI_Debtor
    Thanks,
    Krishna

  • Function module for automating creation of organizational unit

    Experts,
    I am using SRM 4.0. In my system R/3 is acting as backend.
    For creation of new organisational unit in SRM, which is not present in SRM but present in R/3 side i have to do the manual activity every time.
    Is there any function module? Which can automate this process. If there is any function module which i can use please let me know. and how can i use that also please let me know.
    By this automation every time through the program the new organization unit should created in SRM side.
    Please let me know..
    Thanks in advance. I will appriciate through rewards points.

    Hi,
    Thanks for your input. But i am planning to send one file for HR records and then from that file through program i will upload the file. IF for some user the orgaisation unit will not be found then there itself it would create the OU through Function module(If Any)... I am doing like this as the HR system is some legacy system not the R/3 system.
    So Please help me to find out  function module.
    i will appeciate for you help.
    Thanks

  • How to Debugg workflow for Article Creation using MM41 In IS Retails System

    Existing system they are using business BUS1001006,Event Created for triggering workflow when you create article using transaction code MM41.
    I could see one more business object named ZBUS100106 for triggering workflow when you Create an article.
    I just want to debugg the workflow to add some additional validations to trigger workflow when i can create article using transaction code MM41.
    Let me know how to debugg the workflow.
    Thanks in Advance.

    ZBUS100106 is nothing but Custom Business Object of BUS100106 creating by extending BUS100106.
    You can debug Business Object code thru putting breakpoint in Code and executing the Business Object thru SWO1.
    For your requirement you could possibly use SWB_COND Tcode so as to limit workflow lanches.
    Refer [this|http://mailman.mit.edu/pipermail/sap-wug/2003-November/011005.html].
    Regards
    Shital

  • Function module for f-64 transaction

    Hi,
            Is there any function module is there for f-64 transaction please let me know.
    regards,
    Naveen

    hi Naveen,
    you can park documents with POSTING_INTERFACE_DOCUMENT.
    ec

  • Function modules for delivery creation, change, deletion.

    hi all,
    anyone know and worked on function module to create/change/delete deliveries with reference to sales order/without reference of sales order.
    if any one knows about the function modules please let me know.

    BAPI_DELIVERYPROCESSING_EXEC will allow you to create an outbound delivery, but this is <b><u>not released</u></b> for customer use yet(Rel.47). Type that function module in the forum search area and you will get some sample code.

  • Remote Function module for Model creation

    Can any body give solution to this query?
    To get update the table : /sapapo/model which remote function module we can use?
    But I need this newly created model available in to the table : /sapapo/model
    Thanks
    Sasi

    Hi,
    Goto T code SE37
    Give FM name /SAPAPO/MVM_INT_SVC_CR_MOD
    Go to Function module Click Test sequence
    Give the name of Fm /SAPAPO/MVM_INT_SVC_CR_MOD
    Then give BAPI_TRANSACTION_COMMIT
    Two parameters reqd - modelid and model text
    Then will update the /SAPAPO/MODEL table

  • BAPI or Function Module for Vendor Creation.

    I have found a BAPI - "BAPI_VENDOR_CREATE" but it is of noe help for creating a vendor offline becuase it is simply calling Txn XK01.
    There is also a FM "VENDOR_INSERT" which directly inserts an entry into vendor master tables but without any validations.
    Can anyone please give me a way to create and update vendors WITHOUT using BDCs and which has all standard validations.
    If anyone has made a similar Z-object / ZBAPI, will be a great help if you could share it.

    plz try folowing fm's
    FI_WT_CREATE_VENDOR
    RM_ONETIME_VENDOR_MAINTAIN    Log.IV One time vendor data maintenance
    kanishak

  • Function Module For F-04

    Hi
    Is there any function module for F-04 transaction.
    Please help with answers.

    Hi,
    Check the following Exits
    SAPLF051                     Workflow for FI (pre-capture, release for payment)
    RFKORIEX                    Automatic correspondence
    RFEPOS00                   Line item display: Checking of selection conditions
    RFAVIS01                  Customer Exit for Changing Payment Advice Segment Text
    FEDI0001                    Function Exits for EDI in FI
    FARC0002                  Additional Checks for Archiving MM Vendor Master Data
    F180A001                  Balance Sheet Adjustment
    reward if useful
    regards,
    Anji

  • Function modules for PPM

    Hello APO gurus,
    I am new APO technical, Can anybody please suggest Remote function modules for PPM creation, change and Delete
    Thanks
    suresh

    Hi,
    These are BAPI Remote Function modules you can use for create , change and delete PPMs
    BAPI_PPMSRVAPS_GETLIST     - Read PPMs, Plans and Dependent Operations                                                  
    BAPI_PPMSRVAPS_SAVEMULTI_30A      - Maintenance of Production   Process Models and Plans.
    I hope useful for PPMs
    Thanks
    sreeni

  • Function module for creation of Installed base along with product

    Hi,
            Function module for creation of installed based with product for the business partner.

    Try
    BAPI_IBASE_CREATE
    IB_IBASE_CREATE
    IB_IBASE_CREATE_INITIAL
    CRM_IBASE_COMP_CREATE
    CRM_IBASE_CREATE
    IB_COM2_CREATE_IBASE
    IB_COM_CREATE_IBASE_INITIAL
    Regards,
    Kaushal

  • Need BAPI or function module to do FMZ1 transaction for funds commitment.

    Hi,
        I need a BAPI or function module to do FMZ1 transaction, please advise.
    Regards
    Fellow ABAPer.

    I think I found it.
    If anyone is searching for it too, we will use these one:
    CO_ZA_AVAIL_CHK_ORDER_MULTI

  • Bapi function module for ME32k Transaction

    Hi all,
            Can any one tell me what is the BAPI function module for ME32K transaction . I am trying to create service agreements in this transaction.
    Even you can tell me if any other alternative procedure is there to create the service agreements in ME32K.
    Bye
    Srinivas

    Hi srinivas p ,
    Do you find some solution for this?! I have the same problem...
    Can you help-me?
    Patrícia.

  • BAPI Function module for transaction ME32K for change

    Please let me know the name of the BAPI Function module for transaction ME32K for change the contract.

    Hi Krishan,
    I have checked but their is no BAPI called
    BAPI_CONTRACT_CHANGE.
    If I am wrong plz correct me with the procedure to view the above BAPI in SAP System.
    Regards,
    Nitin

Maybe you are looking for