Bapi to create characteristics combination?

Hi all!
Anyone knows if there is any bapi to create characteristics combinations?
If there is not, i guess i´ll have to use a 'call transaction' with the old-fashioned batch input method.
Thanks everybody for reading.
wlundgren

Not sure if this answer helps you. I am going through the same process of identifying this and i found a way easier then using call transaction. Whey you use the transaction /SAPAPO/MC62 for the first time for a given master planning object structure it generates a program in the background.  You can get the name of the program when you get the screen for creating the Charateristics combination ( looking up system status). You should be able to copy of this program and make the necessary modifications to suit your needs.  THis is a good process when the CVC's are to be created interactively and a few at a time.
Another alternative is to use the BW process and load the data into a cube and use the cube to create charateristics combination. You can link all this activities uing a process chain ( a BW functionality). We have used this process extensively and works well when you have to create multiple charateristics combination in one go. Let me know if this helps and if you need more details we can discuss.

Similar Messages

  • BAPI for Creating a PM order(iw34) with reference to a Notification

    Hi All,
    Could anyone help to find the BAPI for creating a PM order with reference to a notification Number.
    I will explain my requirement :
    I want to create a notification from an external Application where i got the BAPI BAPI_ALM_NOTIF_CREATE and keeping this created notification number as Referece or for this notification number  i need a create a PM order.Usually this process in done transaction IW34 in R/3.
    But with the BAPI BAPI_ALM_ORDER_MAINTAIN i can create a PM order but this BAPI doesn't have a input parameter "Notification number ".So i can't use this BAPI.
    Could any suggest for a BAPI where i can create a PM order with reference to a Notification Number.
    Regards,
    Sid

    Hi,
    I have tried with the FM CO_IH_ORDER_GENER_2 but when i executes it gives a error message
    "<i>Service/maintenance order type PM02 not completely maintained in plant
    Message no. IW216
    Diagnosis
    For the selected order type and plant, no check control is maintained in Plant Maintenance/Service in 'Availability Check for Materials, PRTs and Capacities'.
    Procedure
    A check control must be maintained for this combination of order type and plant</i>"".
    And even have a doubt what to enter in this input parameter "GEWRK_OBJTYP"  .
    Kindly help me to solve this issue.
    Regards,
    Sid

  • {SOLVED] Create characteristics with BAPI_CREATE_BATCH

    Hello,
    In my program I create a batch before a good receipt. This good receipt is created with the bapi 'BAPI_GOODSMVT_CREATE'. In this last bapi I'm able to add the batch number.
    If I create the batch I have also to add some characteristics. So I have looked for an example and found one. The example I follow is "Batch create and characteristics via BAPI (example)".
    http://www.sapfans.com/forums/viewtopic.php?t=125320&highlight=bapibatchcreate.
    The creation of the batch number and the creation of the objectkey works fine but when I come to the form 'extract_original_batch' with the bapi 'BAPI_OBJCL_GETDETAIL' I receive the following error message "Assignment does not exist or is not valid on".
    The class it self is valid till 31129999 and I'm able to assign values during a good receipt with MIGO.
    What could be wrong or has an other example to find out what's the problem.
    This is what I inserting into the bapi:
    p_matnr = '0000010393'  a valid materialnumber
    p_werks = '0010'
    p_charg = '0001000125'
    w_object = 00000000000001039300100001000125
    p_class  = 'ZMMGASOPSLAG'
    p_klart  = '023'
    Here is a part of the program.
          FORM build_object_key                                         *
    FORM build_object_key
       TABLES
          p_it_messages          LIKE it_messages[]
          p_it_object            STRUCTURE bapi1003_object_keys
       USING
          P_WERKS                LIKE EKPO-werks
          P_MATNR                LIKE EKPO-matnr
          P_WA_ONTV_BEST_LGORT   LIKE EKPO-lgort
          P_charg                LIKE mcha-charg
          p_ebeln                LIKE EKPO-ebeln
          p_ebelp                LIKE EKPO-ebelp
       CHANGING
          p_object               LIKE bapi1003_key-object.
    DATA: BEGIN OF XEMSEG OCCURS 1.
            INCLUDE STRUCTURE BAPIRET2.
    DATA: END OF XEMSEG.
      CLEAR XEMSEG.
    build the object key
      CLEAR: it_object.
      REFRESH: it_object.
      it_object-key_field = 'MATNR'.
      it_object-value_int = p_matnr.
      APPEND it_object.
      it_object-key_field = 'WERKS'.
      it_object-value_int = p_werks.
      APPEND it_object.
      it_object-key_field = 'CHARG'.
      it_object-value_int = p_charg.
      APPEND it_object.
      CALL FUNCTION 'BAPI_OBJCL_CONCATENATEKEY'
           EXPORTING
                objecttable    = 'MCHA'
           IMPORTING
                objectkey_conc = p_object
           TABLES
                objectkeytable = it_object
                return         = XEMSEG.
      IF not xemseg is initial.
           PERFORM ins_errors
              TABLES
                 it_messages
                 xemseg
               USING
                  p_ebeln
                  p_ebelp.
       ENDIF.
    ENDFORM.
    Kind regards,
    Richard Meijn
    Message was edited by: R. Meijn

    Srinivas,
    Thanks for your reply,
    I have tried both commits with and without wait. Both didn't work but I have look and tried the hole day.
    After some headache I have maybe found the solution. I will try it out.
    My conclusion is the following.
    The BAPI 'BAPI_BJC_CONCATENATEKEY' creates the key as shown in the table INOB but the bapi don't stores the key.
    In my program I have to create a good movement. This is also done with a BAPI. When this BAPI is finalised the key is stored in the INOB table. So my conclusion is that the key is created with the BAPI 'bapi_goodsmvt_create' when necessary.
    After the creation of the key I could follow the example to modify the characteristics.
    If everything is working I will explain the solution.
    Kind Regards,
    Richard Meijn

  • Looking for Idoc / BAPI to create measurement document in PM IK11

    Hi All
    I am working on interface development wherein I need to use a BAPI or IDOC or combination of both to create measurement document in PM.
    Do you guys know how can we do it easier way. Is it that I can post idoc directly or need to post it using a BAPI.
    I am trying to avoid any BDC or CT for this purpose. Please guide on how to do that.
    Amol

    I don't find them listed in the BOR, but look at function modules named like: BAPI_MP*.
    You might be able to utilize these for both the measurement point and the measurement document.  At another assignment, I had a situation with IDOCs that could call up to 12 BDC/CT sessions, etc.  I wrote a function module that was triggered by the inbound IDOC start process, and I utilized BDC and CT to do the IK01, IK11, etc.  Using a BAPI would have been better, but the code was really pretty simple for the measurement stuff, since the transactions are simple and easily recorded.

  • BAPI to create credit memo requests in SAP

    Hi All,
    I have a requirement to create Credit memo request in SAP SD. I'm trying to use the BAPI which is used for Sales order creation - BAPI_SALESORDER_CREATEFROMDAT2 since credit memos are also sales orders of diff. sales document type. However, the BAPI throws an error as follows
    "Unpermitted combination of business object BUS2032 and sales doc. category K". 
    Does this mean that the business object BUS2032 does not support creation of cerdit memo request ? If yes, can anyone suggest an alternate BAPI  to be used to address this requirement ?
    Thanks,
    Venkat.

    Hi Venkatesh,
    Thanks you for your post, your post has helped me a ton in my work, Infact I was working on BAPI to
    Create Credit Memo request i.e BAPI_SALESORDER_CREATEFROMDAT2 as expected i got the same error as "Unpermitted combination of business object BUS2032 and sales doc. category K" and i tried on  other BAPI it worked, Just i need to know BUS2032 doesn't support Credit Memo Request, How we can find it
    to what Sales document it support?

  • CRM - Bapi for creating relationship between BPs with sales area data

    Hi
    I am looking for BAPI for creating relationship between business partners with sales area data in CRM 5.0.
    Example - I would like to create relationship type CRMH03.
    Bapi BUPR_RELATIONSHIP_CREATE does not allow for maintaining sales area data (Sales org, distribution channel, division).
    Does anybody know such a bapi?
    Regards
    Radek

    Hey Radek,
    I am actually looking for the same functionality. Were you able to find a solution although no one replied to your question in this thread? If so, it would be very helpful for me to know. Maybe you have to combine more BAPIs in order to add the organization information to the relationship. But I have no idea how.
    Best Regards
    Mirko

  • What is Characteristics combination & Combination value key? in TC:"MC(B"

    Hi
    What is Characteristics combination & Combination value key? in TC:"MC(B"
    How to create this data?
    Regards
    Nitin

    Hi
    Transaction code is : MC9B correct?
    Could you please explain it little bit elaborately.
    Thanks

  • No new characteristics combinations were loaded

    Hi,
    When I try to create CVC for Planning object structure from a  Infocube i am getting message "No new characteristics combinations were loaded".
    I checked the infocube, it contains data. I also cheked the datasource extraction in RSA3 transaction, it is also working fine.
    What else we can check to resolve this issue.
    thanks and regards
    Mruugesan

    Hi Venkanta,
    I am facing the same problem. I have created the 8 characteristics, 5 navigational attributes in MPOS. The same characteristics along with sales history is available in my infocube.
    I uploaded the data from a flat file. It was successful. And available in infocube too.
    I am facing problem while uploading the data from infocube to planing area. I used /SAPAPO/TSCUBE to upload the data. It's showing below warning message
    " 53 combinations of infocube are not contained in the BasisPlObStru"
    and below that it's displaying all the CVCs.
    Then I tried to create the CVCs with /SAPAPO/MC62. I tried to create CVCs from the infocube. Based on my selection criteria it's showing number of hits = 53. But while executing it's showing "No new CVCs where created". I deleted old CVCs then tried again. Still the same story.
    Note: While uploading the flat file data to infocube I used date format as YYYYWW(in flat file) and converted to WW.YYYY while uploading.
    Please suggest, I am stuck.
    Pratyusa

  • BAPI for create IR and GR

    Hi All,
    I would like to use the BAPI to create the IR and GR.
    But i don't know which BAPI is use for create the IR and GR . Could you mind give any information about this?
    Regards,
    Luke

    Hi Luke,
    The function module "BAPI_GOODSMVT_CREATE " would perform the task.  Please refer to the following link.
    http://www.sap-img.com/abap/bapi-goodsmvt-create-to-post-goods-movement.htm
    Regards.

  • BAPI to create Excise Invoice and Commercial Invoice

    Hi All,
    Can u tell me the BAPI for creating Excise and Commercial Invoice.
    Moderator message: please do some research before asking.
    [Rules of engagement|http://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]
    [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers]
    Edited by: Thomas Zloch on Mar 2, 2011 5:56 PM

    Hi,
    You can make the appropriate setting in Customizing for Excise Duty, by choosing Basic Settings -> Maintain Excise Groups, and selecting Create EI (Create Excise Invoice Automatically)
    Also maintain the default excise and series group in the configuration.
    Logistics general>Tax on Goods Movement>India>Basic Settings>Maintain Excise groups. For your Excise group maintain the check Excise invoice during Billing.
    After maintaining the same also maintain the default values in Logistics general>Tax on Goods Movement>India>Business transactions>Outgoing Excise invoices-->Maintain Default Excise groups and Series groups.
    Regards,

  • Creating a combined view of two spatially indexed tables

    Hi All,
    I'm using oracle 10g and C++ occi to store and retrieve data. I have two tables that are identical in structure, they have an SDO_GEOM column where I store lat/long/altitude info. When I store the data using a stored procedure, the data is put into the correct table. I now want to retrieve the data using a spatial operator - I use SDO_NN to retrive data within a given distance of a lat/long/altitude point. This works fine for a single or multiple tables as I use a stored function to give me the data back as an object. I now have a requirement to list all the data from both tables - I thought I could do this by creating a combined view but I understand this cannot be done with spatial data - I habe also tried using the join operator but I am having problems since the columns for each table are identical. Is there any workaround for this - the combined view will not have any spatial operators run on it, I just need to return each row (the spatial data can be returned as individual lat/long/alt instead of as a SDO_GEOM. A second idea I had would be to return all the data using a ref cursor - this works for a single table but I do not understand how I can open the cursor with a select from two tables with identical column names.
    Unfortunately it is a requirement that the tables are seperate so combining the two tables into one is not an option.
    Thanks in advance for any help anyone can offer,
    Cheers,
    Rob

    You can create a UNION ALL view:
    CREATE TABLE cola_markets_1 (
    mkt_id NUMBER PRIMARY KEY,
    name VARCHAR2(32),
    shape SDO_GEOMETRY);
    CREATE TABLE cola_markets_2 (
    mkt_id NUMBER PRIMARY KEY,
    name VARCHAR2(32),
    shape SDO_GEOMETRY);
    CREATE VIEW v1 AS
    SELECT * FROM cola_markets_1 UNION ALL SELECT * FROM cola_markets_2;
    If both tables have a spatial index on their shape column, a query plan will look
    like:
    explain plan for SELECT c.mkt_id, c.name FROM v1 c WHERE SDO_NN(c.shape, SDO_GEOMETRY(2003, NULL, NULL, SDO_ELEM_INFO_ARRAY(1,1003,3), SDO_ORDINATE_ARRAY(4,6, 8,8)) , 'sdo_num_res=1') = 'TRUE';
    0 SELECT STATEMENT     |           |
    1 VIEW               | V1          |
    2 UNION-ALL          |           |
    3 TABLE ACCESS BY INDEX ROWID| COLA_MARKETS_1
    4 DOMAIN INDEX     | COLA_SPATIAL_IDX_1
    5 TABLE ACCESS BY INDEX ROWID| COLA_MARKETS_2
    6 DOMAIN INDEX     | COLA_SPATIAL_IDX_2
    However, the above SDO_NN query will return 2 rows (one from each table),
    because it can only work on one table, it won't return the nearest neighbor
    from the combined view without some tweaks. For example, to return the
    top one, you may try:
    select * from (SELECT c.mkt_id, c.name FROM v1 c WHERE SDO_NN(c.shape, SDO_GEOMETRY(2003, NULL, NULL, SDO_ELEM_INFO_ARRAY(1,1003,3), SDO_ORDINATE_ARRAY(4,6, 8,8)) , 'sdo_num_res=1') = 'TRUE' order by sdo_geom.sdo_distance(c.shape, SDO_GEOMETRY(2003, NULL, NULL, SDO_ELEM_INFO_ARRAY(1,1003,3), SDO_ORDINATE_ARRAY(4,6, 8,8)), 0.0001)) where rownum < 2;
    Note that you can only pass literals or bind variables into the second input parameter
    of spatial operators (including SDO_NN), when a UNION ALL view is used. i.e. the following
    query won't work right now:
    SELECT c.* FROM v1 c, another_table b WHERE b.id =1 and SDO_NN(c.shape, b.shape, 'sdo_num_res=1')= 'TRUE';

  • BAPI to create Scheduling Agreement of VA31

    Dear gurus,
    I need to find the BAPI or Function Module to create Scheduling Agreement of VA31 from the uploaded data. I know that I can use BAPI_SALESORDER_CREATEFROMDAT2 to create the sales order of VA01. Can I use the same bapi to create the scheduling agreement of VA31? Both of the screens seems to look quite the same but their order types are different. Any suggestion on this?
    Thank you for your help. Have a nice day.
    Best Regards,
    Hedy

    Hi,
    FM
    BAPI_CUSTSCHEDULAGREE_CONFDELV
    Functionality
    You can use this method to make a delivery confirmation in the SD scheduling agreement
    Example
    1. Generating delivery for a scheduling agreement item.
    2. Changing a delivery item.
    3. Posting of goods issue for delivery.
    4. Deleting a delivery item or a delivery.
    Regards,
    Venkatesh

  • BAPI for creating scheduling agreement with reference to Contract agreement

    Hi All ,
    Can anyone please suggest if there is any BAPI for creating scheduling agreement with reference to the contract agreement number.
    Thanks for your help.
    Vadivukkarasi

    Hi,
       Check this BAPI <b>BAPI_AGREEMENT_MAINTAIN.</b>
    check these
    BAPI_CUSTSCHEDULAGREE_CONFDELV Customer Sched. Agreement: Confirmation of Delivery; Document Flow Upd
    BAPI_SALES_DEL_SCHEDULE_CREATE BAPI for creation of releases in scheduling agreements
    Regards

  • BAPI to create SNP planned order based on start date

    Hi,
    I am looking for a BAPI to create SNP planned order based on the order start date. There is BAPI BAPI_MOSRVAPS_CREATESNPORDER which can be used to create SNP planned order based on the end date but not based on the start date.
    Also would be great if some one can share how do they create SNP Planned orders using BAPI BAPI_MOSRVAPS_CREATESNPORDER in case if GR processing time is defined in the product master and workdays for GR to be respected according to the calendar.
    Regards,
    Venkat

    Hello Mr.Venkat,
    Hope you recognize me.
    Please check out the BAdi below.
    BAdi - APO_BAPI_BUS10503 (this is the BAdi for ManufactOrderAPS  BAPI which contains the SNPorder BAPI)
    Method - CHANGE_SAVEMULTIPLE2
    In this method parameter IT_ORDER_HEAD contains Order start date input option.
    For GR time please check this (not sure if it will help).
    Same BAdi/ same method
    Parameter IV_PLANNING_MODE_USAGE contains field PLANNING_MODE.
    Value 1 for PLANNING_MODE corresponds to "Observance of parameters from the product master".
    This may make it respect the GR time in product master
    Good luck with the above
    Regards,
    Ashok

  • Problem using BAPI to create Service Confirmation in CRM

    Good afternoon all.
    I have raised this is CRM forum too, just thought it best to ask the broader ABAP community the question too.
    We are encountering a problem using a BAPI to create a transaction in CRM, specifically:
    I am trying to create a Service Confirmation (BUS2000117) in a CRM system using the BAPI BAPI_BUSPROCESSND_CREATEMULTI.
    The BAPI succeeds in creating the header of the transaction, but I cannot make the BAPI create any other data in the transaction such as partners or items.
    Just want to be sure that I am not being foolish...has anyone succeeded in using this BAPI to create an error-free Service Confirmation?
    Regards
    Nick

    I am going to pop this thread into General ABAP forum too.
    Nick

Maybe you are looking for