BAPI or FM to create Products t-code : commpr01

HI,
Please let me know the Bapi or FM to CReate Products  the commpr01 t-code.
Thanks and Regards,

HI,
There are two different Function Modules used to create service product and material product in CRM system.
CRMXIF_PRODUCT_MATERIAL_SAVE for creating product of type material
and CRMXIF_PRODUCT_SERVICE_SAVE for creating product of type service.
Regards,
PP

Similar Messages

  • BAPI for creating product in CRM

    Hi all,
    i am looking for a BAPI to create a product in CRM.
    can anyone help me?

    Hi Neelima,
    To create product in CRM (commpr01) i use this function:
    CRMXIF_PRODUCT_MATERIAL_SAVE
    I hope this help you.
    Regards,
    Mon.

  • Jbuilder + Apache ADF = free production license code?

    Can I use Jbuilder with the Apache ADF components to create production use code with a no cost license?
    Can the Oracle 10G database be used at any level of production use with a no cost license?
    Is J2EE required for code developed end to end on Jbuilder?
    Thanks,
    JOD

    JBuilder is a Borland product which costs money.
    If you are talking about JDeveloper - than JDeveloper is free - and you can use any free libraries in it such as the Apache components.
    The only thing to be aware of is that the ADF Framework has a cost if you deploy it to non Oracle application servers.
    As far as the database goes there is the free Oracle XE database - it has some limitation in its license and features - you can read about this when you download it.
    For more information on JDeveloper and ADF pricing google for "JDeveloper pricing FAQ".

  • Unable to create Product group form T Code- MC84 in ECC 6.0

    Dear Expert,
              After Upgrade from 4.7E to ECC 6.0 we are facing problem for Tcode-MC84(Create Product Group) is opening but we are unable to Create product group..
            can any tell me what is problem for this or is there any apply SAP Note for this.
    Thanks in advance,
    Regards,
    Kumar,

    Hi,
    I think for some particular versions you can create a product group directly using T code MC84, and if u have got a material type say PROD-Product group,then use mm01 for creating a product group. And then you can do the  change in MC86 for product group.
    Refer thread:
    https://forums.sdn.sap.com/click.jspa?searchID=15761932&messageID=5854286
    Regards,
    R.Brahmankar
    Edited by: R Brahmankar on Sep 1, 2008 12:42 PM

  • T-code CO01 to create Production order:error message "No routing found"?

    I use t-code CO01 to create Production order.At the first screen I select material 72 and plant HJW1 .At the Header creen,I input the data in the General tab and press return but the sap show the error message "No routing found".But I have create the routing for the material 72 and plant HJW1.I don't know why the sap found no routing.So my question was how to found the reason about why the sap can not found the routing and how to resolve this problem.Thank you.

    Hi,
    Probably you would have created the routing today, with valid from todays date. But the order you are creating may be with start date in past and system is not able to find and valid routing for the day.
    I would suggest you to remove both the Basic "Start" and "End" and change the scheduling type to "Current date Scheduling", now enter. If system still not finding the routing, use the function "Read PP Master data".
    Regards,
    Prasobh

  • Error when creating Production Orders: -5002 Invalid Code  [OWOR.Status]

    When creating Production Orders, I receive the error: -5002 Invalid Code  [OWOR.Status] on certain of the entries. Typically 200 orders are created at once.
    What could be causing the error?

    You may check this thread to have a reference:
    Setting the repByIns to Null
    Thanks,
    Gordon

  • BAPI-To create production orders with reference to sales order & item

    Hi,
    Can anyone tell me which is the best method to create open production orders?
    Is there any BAPI available for creating production orders with reference to sales order & item.
    I tried this BAPI "BAPI_PRODORD_CREATE".
    I am getting pop up to enter serial number while executing the custom program.
    Which table contains the serial number(effectivity parameters)?.

    I have custom screen fields on notification service!
    i think a bdc is better.

  • Error while creating product cost collector in REM ?

    HI, all SAP expert,
                 I have to run repetitive manufacturing .
    I create work center of category production line and use in rate routing of semifinished material.
    In mm02 -- mrp 4 view of semifinished material , i select rem profile , production version.
    Now I create product cost collector ( t-code kkf6n) for semi. material by giving order type (yrem), production version after enter it shows error
    Error in number management (notify your system administrator)
    in help it shows
    Error in number management (notify your system administrator)
    Message no. KO162
    Diagnosis
    A system error occurred in the number management.
    Procedure
    Please contact your systems analyst or the SAP hotline.
    Edited by: Nitin Nerkar on Sep 30, 2009 12:16 PM

    Dear Nitin,
    Check whether is the number range maintained properly for the order type RM01,check the config setting in T Code
    KOT2_PKOSA.
    This is related to CO Module.
    Check and revert back.
    Regards
    Mangalraj.S

  • FM to Create Production Orders

    Hi All,
    My requirement is to create Production Orders with positions ( Components, Operations, and Documents ).
    BAPI_PRODORD_CREATE creates Procduction Orders with header data and explodes the Material if it has a valid BOM.
    In my requirement Material will not have any valid BOM. So the BAPI is not suitable for me.
    I have also tried the FM CO_ZF_PRODUCTIONORDER_CREATE but no luck.
    Does any one know other FMs to create Production Orders with positions?
    Thanks
    Bhasker.

    Bhaskar,
    Try Using one of the following BAPIs:
    BAPI_PRODORD_CREATE_CAP_REQ BAPI: Create Capacity Requirements for Production Orders
    BAPI_PRODORD_CREATE_FROM_PLORD BAPI: Convert Planned Order into Production Order
    BAPI_PRODORD_CREATE_FROM_REF BAPI: Create Production Order with Reference Order
    Do't forget to reward if useful

  • Create Production order

    I am creating production ordrer by usinf bapi_prodord_create . It is succesfull when the material exist with compoents(sub material-BOM).
    If BOM not exists how can i create procduction order ? which FM /BAPI ?
    Note :This is the interface .Third party sending material ifo BOM so i have to pass to FM .

    Hi Deva,
    Check this link -
    [https://forums.sdn.sap.com/click.jspa?searchID=32004809&messageID=8089454|Create Production Order without Material no.]
    Hope it helps.
    Regards,
    Himanshu

  • How can mass creating production orders???

    In SAP ,we can use CO01,CO09,CO07 to create production order. But by these TOCDES,we only can create one production order for one finished product once a time.
    But we now need to create more then one ,may be more then 50 production orders once a time?
    It is possible in SAP?
    I know we could conver the production orders from plan orders after MRP run.But sometimes
    for some reasons we must create produciton orders manually.And I also know in SAP some TCODE can process many production orders once a time ,like COHV,CORM, can release ,TECO many production orders once a time.
    But how can mass creating production orders once a time,not by mrp run?
    How can batch create produciton orders in SAP?
    Thanks for any reply!

    Hi,
    Use the BAPI - BAPI_PRODORD_CREATE or for internal orders BAPI_INTERNALORDER_CREATE
    Take the help of your abaper, he / she can use the above BAPI to write a custom program to mass create production order.
    Hope the above helps.
    Regards,
    Vivek
    Added
    You can also use the below BAPI's in your custom program:
    BAPI_PRODORD_RELEASE to release the orders
    BAPI_PRODORD_CHECK_MAT_AVAIL for carrying out material availability
    Edited by: Vivek on Mar 22, 2009 8:27 PM

  • Creating Production Order from Planned Order

    Hi,
    We are trying to use the BAPI 'BAPI_PRODORD_CREATE_FROM_PLORD' to create Prod. Orders. But it is failing with the message, 'Cannot be saved. Maintain serial no.' Now, the problem is there is no input parameter in this BAPI for providing the serial numbers. Our current Z program manually generates the Serial Numbers and uses BDC for 'CO48' to create the Prod. Order but has a horrible performance and for that reason we are trying to switch to BAPI instead).
    Now, the question is how best to achieve this objective: Use the BAPI to generate Prod. Orders from Planned orders with user-given serial numbers when there is no input option in the BAPI?
    I think of couple of options but not sure how good they are:
    1) Can we create/attach the serial numbers to the equipment/material first and then create production orders?
    2) Use implicit enhancement to add another parameter to BAPI and use it instead. This one seems little technically complicated because the BAPI itself calls tons of other programs (including CO48) to create Prod. Orders so the right place to insert the numbers might be difficult.
    Any clues how to solve this problem would be appreciated..
    Thank you

    Hi,
    REM manufacturing is simpler way to book the production.
    What is needed for REM is first question.
    1) REM profile
    2) Material on REM with this profile and REM tick
    3) Have normal BOM and routings/ rate routings and work center
    4) Define Production Version
    5) Define Product Cost Collector on which all costs are booked whenever you do your confirmation thro MFBF
    Having defined these master, once you run MRP you get planned order of PE type. It was earlier also callled as RS i.e Run Schedule.
    By using MFBF, backflushing transaction can book the production. REM is period based type of production booking unlike discrete where you make a production order of particular material for some dates, it is lot based production booking.
    Hope it is clear.
    Srini

  • Create product and product category

    hi,
    can anybody explain me how to create product and product category in gateway services.
    thanks&regards in advance,
    Haritha

    Hello Haritha,
    I do not know about the logic which are supposed to be used to accomplish ur business scenario.
    But Once u know the underlying code/standard FM to be used, then u can follow the below which will help u get info on how u can consume those business logic inside GW and expose it as service.
    1.Let’s code CRUDQ and Function Import operations in OData service!
    2. How To Batch Multiple Operations Into A Single Request
    3.How To... Create Complex Business Entities using the Gateway OData Channel
    4.Purchase Order: Create OData Service in the SAP NetWeaver Gateway System for CRUDQ Operations
    5. Implementing  Expand Entity/Entity Set
    6. Detailed step by step procedure for Creating Gateway Service with all the CRUD Operations and testing them in Service Explorer Part1
    7. Step by Step development for CREATE_DEEP_ENTITY operation
    U can also search in the forum for additional  info as well.
    Regards,
    Ashwin

  • Create product hierarchy & category in CRM

    Hello experts,
    I need to write a program that create product hierarchy & category in CRM 5 from flat file.
    As anyone know how to do it?
    I couldn't find any bapi, and when i tried to debug the program that transfer this data between R3 to CRM i got to dead end.
    I realy dont know how to attack this...
    regards,
    Ronen.

    USE LSMW. Even i am working on a similar thing though i need to create products in CRM from excel file. Category and hierarchy ar supplied to me. Actually there are a couple of options.
    Basically do research in SE37  with search term COMCATEGORYCREATE*    and similarly for COMCATEGORYsav*   for category  and for hierarchy replace category with 'hier' . You can then shortlist which FM is good for you and try to construct structure in your program that u can pass to the FM to get desired output.
    Thing to remember is that you first create   and then do save.
    1. Use following if input is from a *.txt  or any tab delimited file.
    INCLUDE com_product_const001.
    INCLUDE com_product_const003.
    *Excel data into Internal table
    PARAMETERS: p_infile  LIKE rlgrap-filename.
    DATA: gd_file type string.
    DATA:  prod type N.
    *Internal tabe to store upload data
    TYPES: BEGIN OF t_record,
    productid TYPE COMT_PRODUCT_ID,
    product_desc TYPE COMT_PRSHTEXTX,
    proudct_type TYPE COMT_PRODUCT_TYPE,
    prod_categoryid TYPE COMT_CATEGORY_ID,
    prod_obj_family TYPE COMT_PRODUCT_OBJECT_FAMILY,
    prod_hierarchyid TYPE COMT_HIERARCHY_ID,
    maintenance_language TYPE SY-LANGU,
    prod_base_uom TYPE COMT_BASE_UNIT,
    sales org1
    sales org2
    item category
    END OF t_record.
    TYPES : Begin of struc_mat,
            HEADER  TYPE COMT_PRODUCT_MAINTAIN_API,
            DATA    TYPE COMT_PROD_MAT_MAINTAIN_API,
            INTERLINKAGES TYPE COMT_PRODUCT_IL_API,
            CONDITIONS TYPE COM_PRODUCT_CND_API,
            DOCUMENTS TYPE COMT_PRODUCT_DOCUMENTS_API,
          END of struc_mat.
    DATA: it_record TYPE STANDARD TABLE OF t_record INITIAL SIZE 0,
    wa_record TYPE t_record,
    ls_record TYPE t_record.
    **For Unicode check active in program attributes then need to declare constants as follows:
    **class cl_abap_char_utilities definition load.
    **constants:
       con_tab  type c value cl_abap_char_utilities=>HORIZONTAL_TAB.
    *AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_INFILE.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_infile.
      CALL FUNCTION 'WS_FILENAME_GET'
        EXPORTING
          DEF_FILENAME     = 'p_infile'
          DEF_PATH         = ' '
          MASK             = '*.txt'
          MODE             = '0'
          TITLE            = 'UPLOAD TAB DELIMITED FILE'(078)
        IMPORTING
          FILENAME         = p_infile
        RC               =
        EXCEPTIONS
          INV_WINSYS       = 1
          NO_BATCH         = 2
          SELECTION_CANCEL = 3
          SELECTION_ERROR  = 4
          OTHERS           = 5.
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    *START-OF-SELECTION
    START-OF-SELECTION.
      gd_file = p_infile.
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          FILENAME                    = gd_file
      FILETYPE                      = 'ASC'
          HAS_FIELD_SEPARATOR         = 'X'
      HEADER_LENGTH                 = 0
      READ_BY_LINE                  = 'X'
      DAT_MODE                      = ' '
      CODEPAGE                      = ' '
      IGNORE_CERR                   = ABAP_TRUE
      REPLACEMENT                   = '#'
      CHECK_BOM                     = ' '
      VIRUS_SCAN_PROFILE            =
      NO_AUTH_CHECK                 = ' '
    IMPORTING
      FILELENGTH                    =
      HEADER                        =
        TABLES
          DATA_TAB                   = it_record
    EXCEPTIONS
       FILE_OPEN_ERROR               = 1
       FILE_READ_ERROR               = 2
       NO_BATCH                      = 3
       GUI_REFUSE_FILETRANSFER       = 4
       INVALID_TYPE                  = 5
       NO_AUTHORITY                  = 6
       UNKNOWN_ERROR                 = 7
       BAD_DATA_FORMAT               = 8
       HEADER_NOT_ALLOWED            = 9
       SEPARATOR_NOT_ALLOWED         = 10
       HEADER_TOO_LONG               = 11
       UNKNOWN_DP_ERROR              = 12
       ACCESS_DENIED                 = 13
       DP_OUT_OF_MEMORY              = 14
       DISK_FULL                     = 15
       DP_TIMEOUT                    = 16
       OTHERS                        = 17
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        write: 'Error' , sy-subrc .
        skip.
      ENDIF.
    END-OF-SELECTION.
    *!!! Text data is now contained within the internal table IT_RECORD
    Display report data for illustration purposes
    LOOP AT it_record INTO wa_record.
       WRITE:/     sy-vline,
       (10) wa_record-productid, sy-vline,
       (10)  wa_record-product_desc, sy-vline.
       (10) wa_record-age, sy-vline.
    ENDLOOP.
    *The field data in structure for MAT & FIN are very different . Loop at retreived data and based on product
    *type fill in the respective structure and proceed.
    *PARAMETERS: g_matnr1 TYPE comt_product_id.
    *PARAMETERS: gv_guid  AS CHECKBOX DEFAULT on.
      DATA :  gv_save  TYPE BOOLEAN VALUE 'X'.
      LOOP AT it_record INTO wa_record.
        IF wa_record-proudct_type EQ '01'.
          PERFORM init.
          PERFORM create USING wa_record.
          PERFORM save   USING gv_save.
        ELSE.
        ENDIF.
      ENDLOOP.
    2. Use excel file and use LSMW

  • Creating Production order

    Hi all,
    Can somebody help me in creating production order. After putting the name of Material, Plant and Order type(PP01) system shows a error: Material ... not found in Plant 1000(check entry). The thing is I entered product in master data which I can see in Display material in master data.
    thanks,
    Shahrokh

    HI
    did u check all the assignments, please check whether you have maintaine dthe organisational levels for this material the plant, the storage location etc. and check whether the plant is linked to the same company code where you are cretaing the production order since cost centre datas gets affected you need to check those settings
    please revert if you still got error .
    Regards
    Vignesh

Maybe you are looking for

  • How to fix -1 error in Itunes...

    how to fix -1 error in Itunes...

  • How to display arabic in forms

    hi friends I use Oracled database 10g in windows xp sp2 previously I was just change the value NLS_LANG for the following keys : HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\KEY_DevSuiteHome1 HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\KEY_OraDb10g_home1from AMERICAN_A

  • Adobe Media Encoder CS5

    Hallo, ich habe ein Problem mit Media Encoder CS5. Der Start verläuft noch normal. Wenn ich ein ca. 4GB großes MPEG2-Video hinzufügen möchte, dauert das mindestens 5 Minuten. Sobald ich die Encoder-Einstellungen ändern möchte muss ich wieder mehrere

  • How do i get my music library from cloud to my mac

    How do i transfer my libary in the cloud to my Mac

  • Oracle communications converged application server

    hello, has anyone downloaded the the new oracle communications converged application server(ims edition)...from where can i download the same... regards, harini dhanasekaran