Header alternative LSMW

Good day gurus,
I am trying to upload routing data through LSMW Direct Input method and I encountered the message "No header alternative for specified object exists".
What would cause this? How can I remedy it?
Thanks in advance

Hi Villa,
chk this BAL_OBJECT_SUBOBJECT  it wil Checks  whether object and subobject exist and the combination is allowed
APPL_LOG_WRITE_SINGLE_MESSAGE With this function module you write a single message, without parameters, in local memory. If no header entry has yet been written for the object or sub-object, it is created. If you do not specify an object or sub-object with the call, the most recently used is assumed
see this link
http://www.123eng.com/forum/viewtopic.php?p=18812
thanks
karthik

Similar Messages

  • CP_BD_DIRECT_INPUT_PLAN for changing - Error: No header alternative exists

    Hi all,
    I want use the FM CP_BD_DIRECT_INPUT_PLAN for changing routings, but I get error-messages "No header alternative for specified object exists".
    I use this FM with ECC 6.0, release 7.0 without problems (only sequence 0 and many operations).
    In this case is it ECC 6.0 and release 7.01 and I have alternate sequences and operations.
    Does anyone know this problem and can help me?
    Thankyou.
    Best regards
    Peter

    Hi,
    the cause of this message is a change number (rc271_di_imp-aennr), which has an valid-from date different to the valid-from date of the work plan (aenr-datuv was the 01 September 2010 and plko-datuv the 10 November 2010).
    By clearing of the change number into structure rc271_di_imp structure appears this message does not occur.
    Regards
    Peter

  • CP_BD_DIRECT_INPUT_PLAN for changing - Error: No header alternative

    Hi all,
    I want use the FM CP_BD_DIRECT_INPUT_PLAN for changing routings, but I get error-messages "No header alternative for specified object exists".
    I use this FM with ECC 6.0, release 7.0 without problems (only sequence 0 and many operations).
    In this case is it ECC 6.0 and release 7.01 and I have alternate sequences and operations.
    Does anyone know this problem and can help me?
    Thankyou.
    Best regards
    Peter

    Hi,
    the cause of this message is a change number (rc271_di_imp-aennr), which has an valid-from date different to the valid-from date of the work plan (aenr-datuv was the 01 September 2010 and plko-datuv the 10 November 2010).
    By clearing of the change number into structure rc271_di_imp structure appears this message does not occur.
    Regards
    Peter
    Edited by: Peter Loeff on Nov 10, 2010 4:33 PM

  • LSMW ECC 6.0

    Hello all,
    Am using direct upload program RCPTRA02 to upload routings via LSMW, ECC 604
    I am uploading headers, operations and material assignments. I keep coming across the following error:
    C\ 001
    No header alternative for specified object exists
    Anyone got any idea as to what this relates to/means?
    I read OSS 872680, but is no used for me.
    Please, please help me,
    Many thanks.

    Hi Bianca,
    Fill the PLKO_DI_DS-PLNAL field,
    which is mandatory if your PLKO_DI_DS-ACTTYP is "V" or "H".
    Hope it helps.

  • Routing - Direct upload via LSMW

    Hello all,
    Am using direct upload program RCPTRA02 to upload routings via LSMW.
    I am uploading headers, operations and material assignments. I keep coming across the following error:
    C\ 001                                               
       No header alternative for specified object exists 
    Anyone got any idea as to what this relates to/means?
    Many thanks.

    Hi Kruna,
    I am having the same issue. I am working on SAP ECC 6.0.
    Thanks in advance
    Atul Bhardwaj

  • Classification of IFLOT & EQUI via CLB2 / CLB1

    Hi all,
    I've used CLB2 to mass populate & update classifications assigned to functional locations & equipments. This has worked well to date.
    However, I am now attempting to improve processing performance. While reviewing available functionality, I noted the availability of CLB1 to generate batch input sessions from the logical filename provided & supports essentially the same input file. 
    Experimentation proves that this transaction is essentially completely unsuitable for general use any longer since it applies the batch input sessions against transactions CL20 & CL22 which are no longer used.
    Assuming I have 800,000 updates to apply, is there a standard mechanism other than CLB2, where I configure additional logical filenames to allow streaming the updates in the background.
    regards
    Daniel

    Hi Daniel,
    Asumming you are trying to update classification data for IS-U type functional locations and devices, you can update classification data for these using ISMW - migration object OBJCLASS. Although I think this object would work for non-ISU FLs and Equipments too.
    Wherein, below fields can be defaulted depending if you are updating classification for FL or DEVICES.
    HEADER-OBJECT_TYPE = "IFLOT" or "EQUI".
    DATA-FIELD = TPLNR or EQUNR
    Other structures and fields are self explanatory. But feel free to ask follow up clarification.
    ALternately, LSMW also provides for a standard BI object (0130 classification) that may be utilized as well. Although I have not used LSMW object but have used the ISMW OBJCLASS.
    Hope this helps.
    Ash

  • How to find column names in a table

    Am learning the basics of SQL Plus.
    Have entered the following query:
    SELECT * FROM t_ebb_session;
    This gives me the following output.
    USER_ID SESSION_ID LAST_ACCE
    However LAST_ACCE is not the full name of the column as I get 'Invalid column name when I use it in a select statement.
    How do I display the full name?

    By default, SQL*Plus will set the column display width of a character column to its size in the database, and the heading will be the column name in uppercase, truncated to fit that width if necessary. (There is a different rule for numeric columns.)
    You can override this with the COLUMN command, e.g:
    COLUMN some_column_name FORMAT a30 HEADING "Alternative Name"
    Check out the SQL*Plus documentation for all the COLUMN options.

  • Follow-up question for Chris H on longtext in BDC for IW31

    Chris -
    Here's the relevant part of my code:
    PERFORM DYNPRO USING:
    'X' 'SAPLCOIH'          '3000',            "
    ' ' 'CAUFVD-KTEXT   '   SCRN_PROBLEM1,     " 1st line problem text
    ' ' 'CAUFVD-ANLZU   '   CAUFVD-ANLZU,      " System condition
    ' ' 'BDC_OKCODE'       '=LTXK'.            "
    LOOP AT i_txt INTO wa_txt.
      v_txtln_ctr_n = sy-tabix + 2.    " Chris - note that I'm bumping to "3" here
      v_txtln_ctr_c = v_txtln_ctr_n.
      CONCATENATE 'RSTXT-TXLINE('
                  v_txtln_ctr_c
             INTO v_bdc_txtln_lit.
      CONDENSE v_bdc_txtln_lit NO-GAPS.
      PERFORM DYNPRO USING:
        'X' 'SAPLSTXX'          '1100',              "
        ' ' v_bdc_txtln_lit     wa_txt,              " line of problem text
        ' ' 'BDC_OKCODE'        '=ENTR'.             "
    ENDLOOP.
    This actually works - it creates an order in which the long text begins with what is in the variable SCRN_PROBLEM1 and continues with what is in i_txt concatenated together.  So I get, for example:
    "This is the short description. a b c d e"
    where:
    scrn_problem1 = 'This is the short description'
    row 1 of i_txt = 'a'
    row 2 of i_txt = 'b'
    row 3 of i_txt = 'c'
    row 4 of i_txt = 'd'
    row 5 of i_txt = 'e'
    The only problem is that the BDC doesn't go thru on its own.  When I change 'N' to 'E', the BDC brings up a screen with the title:
    "Change order text header Alternative Language EN"
    Then, when I just "back-arrow" from this, the BDC does complete successfully and I can see the correct text saved for the order in IW32.
    What am I doing wrong to cause this "change order text header" screen to come up?  Is it the "LTXK" value of the OK-CODE in the first dynpro call above?
    Or maybe something with my default user parameters?  I had to set quite a few of these in order to get the BDC to go with just a system, priority, and short text/long text.
    I'm really hoping you can see what's going on here because I'm at a loss.
    Thanks for whatever help you can provide.  You seem to have coded this BDC before, so that's why I'm directing this question to you.
    BTW, I'd try the BAPI except the documentation specifically says it won't observe user default parameters and this is a must in our situation.
    Thanks again
    Dave

    Chris/Rich -
    My suspicion was correct.  In the last loop over the longtext itab, the ok_code must be 'TXBA', not 'ENTR'.
    Here's the code that works without any 'E' interruptions:
    PERFORM DYNPRO USING:
    'X' 'SAPLCOIH'          '3000',            "
    ' ' 'CAUFVD-KTEXT   '   SCRN_PROBLEM1,     " 1st line problem text
    ' ' 'CAUFVD-ANLZU   '   CAUFVD-ANLZU,      " System condition
    ' ' 'BDC_OKCODE'       '=LTXK'.            "
    DESCRIBE TABLE i_txt LINES v_txt_cnt.
    LOOP AT i_txt INTO wa_txt.
      v_txtln_ctr_n = sy-tabix + 2.
      v_txtln_ctr_c = v_txtln_ctr_n.
      CONCATENATE 'RSTXT-TXLINE('
                  v_txtln_ctr_c
             INTO v_bdc_txtln_lit.
      CONDENSE v_bdc_txtln_lit NO-GAPS.
      IF sy-tabix = v_txt_cnt.
        v_txt_ok = '=TXBA'.                    " no more text lines coming
      ELSE.
        v_txt_ok = '=ENTR'.                    " more text lines coming
      ENDIF.
      PERFORM DYNPRO USING:
        'X' 'SAPLSTXX'          '1100',       
        ' ' v_bdc_txtln_lit     wa_txt,        " line of problem text
        ' ' 'BDC_OKCODE'        v_txt_ok.      " ok_code
    ENDLOOP.
    The result is that the longtest display in IW32 will be what's in "SCRN_PROBLEM1" followed by all the lines that are in i_txt.
    Reagrds
    djh

  • How to refer ws-policy from wsdl

    Hi,
    Should i need to refer a ws-policy from wsdl.
    I used only one ws-policy in the request operation.
    I need to call a secured webservice(message level sec).
    The Problem is ws-security tag is not added in soap header.

    Alternatively, you can an xquery that would create the wsse security header. Then in the soap envelope to the BS pass in the header as well. Let me know if you need more information.
    Thanks,
    Patrick

  • WLC - radius down, possible to have auth none as secondary?

    Lets say i have a 5508 wlc and have configured a wlan with web-auth and radius authentication
    The one and only configured radius server goes offline. In the event this should happen, is it possible to allow clients to connect anyway? auth none as secondary?
    Appreciate any thoughts

    Chris,
    No, unfortunately not.  Once you select 802.1X (Radius) you are bound to that security type. The  controller will not allow NON EAP traffic on that WLAN unless it gets a EAP SUCCESS frame. The EAP success frame from the radius is sent to the WLC and it tell the WLC to open the controlled port to allow traffic to pass.
    Top of my head alternatives:
    You might consider another SSID with the same name with a OPEN security. Manually enable after failure of radius server
    Create the user accounts on the WLC and allow the WLC to act as your radius server.If you have a large environment may not be realistic.

  • Extract BOM data from R/3 to BW

    Hello BW Gurus,
    what is the method of extracting BOM data from R/3 into BW.
    Thanks in advance.
    rgds,
    TR PRADEEP

    Hi Pradeep,
    unfortunately you have to create something custom in order to manage BOM data in BW.
    Doing that, consider that all your BOM data is available in R/3 tables  STKO and STPO (Header and Item).
    With the table MAST you can find also the link among the combination material/plant with every BOM codes.
    At this point your might create a view (and then link it with your custom datasource) by using these tables (however you have to consider your specific needs).
    Please keep in mind that you will extract all historical data of that BOM number. So, use the "Created date" to use the BOM data you are interested in.
    By the way, access against these tables is not so feasible...try to search in your R/3 (I don't have the access now) a function module (search with BOM) that has as input parameters BOM Header, Alternative and others and gives back a table of the respective BOM items. You can create an InfoSet on the table STKO, enhance it with some code that calls the FM and writes the returned values in the Infoset (then use it to create your custom datasource !)
    Hope it helps !
    Bye,
    Roberto

  • Installing OS on G3

    Hi There, I'm a total beginner on Macs. I've got myself a G3 with a clean HD and am trying to install OS 9.0.4. The cd's spin up but don't seem to load. The only thing on screen is a small folder icon with a picture of two heads alternating with a question mark. I've tried the reboot holding the C key but no result. Anyone have any ideas?

    ZZR, Welcome to the discussion area!
    Which "iMac DV" do you have? The later DV models won't boot in OS 9.0.4.
    See KB 25517, Mac OS: Versions, builds included with PowerPC Macs (since 1998) to determine which OS shipped with your iMac. You can not use an earlier OS than that.

  • How to change the header of Material BOM in a program for alternative BOM ?

    Requirement: An Inbound IDOC creates /change/delete Alternative Material BOM. The Alternative Material BOM can have alternative values from 1 to 99.
    ISSUE: I am good with CREATE and DELETE BOM. The issue is with CHANGE of header Material BOM. The fields which we need to change in the header is the base quantity, BOM status, Lot Size from and Lot Size to. Please note that I am able to change the item details of the BOM with FM CSAI_BOM_MAINTAIN. I find no FM /BAPI which would change the header of a material BOM.
    Please NOTE that I am using BAPI_MATERIAL_BOM_GROUP_CREATE to create alternative Material BOM. This has a parameter in TABLES called "VARIANTS" which has a field CS_FUNCTION which can have value from NEW/CHG/DEL .Also ,there is another parameter in TABLES called "ITEMASSIGNMENTS" which has a field CS_FUNCTION which can have value from NEW/CHG/DEL which implies this FM will allow us to change the BOM. But this does not work when I use it for CHANGE scenario with CHG value. I debugged this BAPI and observed it requires a STNLR(Bill of Material) value . This field is not there in any of the structure. I am not sure if I am passing the right parameters to it.
    Let me know if the parameters are passed correctly for CHANGE scenario.
    Also let me know if there is any other way(FM/BAPI)  to update the Header of the Material BOM ?
    Here is the code I am using:
    *& Report  ZTEST_S_E
    REPORT  ZTEST_S_E.
    * This code will create a material BoM for the material
    * MAINMATERIAL with the components COMPON1 and COMPON2.
    * Data Declaration
    DATA:
    it_bomgroup LIKE bapi1080_bgr_c OCCURS 0 WITH HEADER LINE,
    it_variants LIKE bapi1080_bom_c OCCURS 0 WITH HEADER LINE,
    it_items LIKE bapi1080_itm_c OCCURS 0 WITH HEADER LINE,
    it_matrel LIKE bapi1080_mbm_c OCCURS 0 WITH HEADER LINE,
    it_itemas LIKE bapi1080_rel_itm_bom_c OCCURS 0 WITH HEADER LINE,
    it_return LIKE bapiret2 OCCURS 0 WITH HEADER LINE.
    * Fill the data
    * Material BoM Group Header Data
    CLEAR it_bomgroup.
    it_bomgroup-bom_group_identification = 'BAPI_SMP_COL1'.
    it_bomgroup-object_type = 'BOM'.
    it_bomgroup-object_id = 'SIMPLE1'.
    it_bomgroup-bom_usage = '1'. " YOU COULD CHANGE THE BOM USAGE TO YOUR
    *NEEDS
    it_bomgroup-ltxt_lang = sy-langu.
    it_bomgroup-technical_type = ' '.
    it_bomgroup-bom_text = 'Simple BoM - FM'.
    APPEND it_bomgroup.
    * Header Details of the different variants
    CLEAR it_variants.
    it_variants-CHANGE_NO  = '500000000349'.
    it_variants-bom_group_identification = 'BAPI_SMP_COL1'.
    it_variants-object_type = 'BOM'.
    it_variants-object_id = 'SIMPLE1'.
    it_variants-alternative_bom = '01'.
    it_variants-bom_status = '01'.
    it_variants-base_qty = '2.000'.
    it_variants-valid_from_date = sy-datum.
    it_variants-function = 'CHG'.
    APPEND it_variants.
    * Details of the items of the variants
    CLEAR it_items.
    it_items-bom_group_identification = 'BAPI_SMP_COL1'.
    it_items-object_type = 'ITM'.
    it_items-object_id = 'SIMPLE1'.
    it_items-item_no = '0010'.
    it_items-item_cat = 'L'.
    it_items-component = '030790490'.
    it_items-comp_qty = '2'.
    it_items-valid_from_date = sy-datum.
    APPEND it_items.
    CLEAR it_items.
    it_items-bom_group_identification = 'BAPI_SMP_COL1'.
    it_items-object_type = 'ITM'.
    it_items-object_id = 'SIMPLE1'.
    it_itemas-change_no = '500000000138'.
    it_items-item_no = '0020'.
    it_items-item_cat = 'L'.
    it_items-component = '030790490'.
    it_items-comp_qty = '3'.
    it_items-valid_from_date = sy-datum.
    APPEND it_items.
    * Details of the materials of the different variants
    CLEAR it_matrel.
    it_matrel-bom_group_identification = 'BAPI_SMP_COL1'.
    it_matrel-material = '030790490'.
    it_matrel-bom_usage = '1'.
    it_matrel-alternative_bom = '01'.
    APPEND it_matrel.
    * Linking items to the corresponding variants
    CLEAR it_itemas.
    it_itemas-bom_group_identification = 'BAPI_SMP_COL1'.
    it_itemas-sub_object_type = 'ITM'.
    it_itemas-sub_object_id = 'SIMPLE1'.
    it_itemas-super_object_type = 'BOM'.
    it_itemas-super_object_id = 'SIMPLE1'.
    it_itemas-valid_from_date = sy-datum.
    it_itemas-function = 'CHG'.
    APPEND it_itemas.
    * Create variants
    CALL FUNCTION 'BAPI_MATERIAL_BOM_GROUP_CREATE'
    EXPORTING
    all_error = 'X'
    TABLES
    bomgroup = it_bomgroup
    variants = it_variants
    items = it_items
    materialrelations = it_matrel
    itemassignments = it_itemas
    return = it_return.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    LOOP AT it_return.
    WRITE:/ it_return-type, it_return-id, it_return-number,
    it_return-message.
    ENDLOOP.
    Let me know if the parameters are passed correctly for CHANGE scenario.
    Also let me know if there is any other way(FM/BAPI)  to update the Header of the Material BOM ?

    Try doing something like this:
    class MyJTextArea extends JTextArea {
        public boolean keyDown(Event evt,int key) {
            if(key == 13 || key == 10) { // or whatever ascii codes enter may have
                // move carret to next line
            } else {
                super.keyDown(evt, key);
    }which means you have got to catch the enter-key before the actutal JTextArea does this.
    p.s. look at my post, maybe you can help me, too.
    http://forum.java.sun.com/thread.jsp?forum=5&thread=465803&tstart=0&trange=100

  • Better alternative to header lines, use of logical database, field-symbols

    Hello experts,
    I am wondering if theres a better and faster alternative than declaring a header line for an itab. are work areas faster?
    What is the use of logical database? can you please give me an example on how to use it in reports.
    how do I use field-symbols? I am confused on how it works.
    P.S. I recently installed SAP netweaver preview abap edition
    in my home PC and I am wondering if I could practice BDC, user exits, etc. If so, how?
    Again, thanks for all your help since I'm kinda new to ABAP.

    I always use this...It uses header lines, but at least is smaller -:)
    <b>DATA: BEGIN OF MY_TAB TYPE STANDARD TABLE OF BKPF WITH HEADER LINE.</b>
    For logical databases, you can check my blog...I always use LDB for HR programs -:)
    <a href="/people/alvaro.tejadagalindo/blog/2006/02/19/how-to-deal-with-hr-payroll-reports:///people/alvaro.tejadagalindo/blog/2006/02/19/how-to-deal-with-hr-payroll-reports
    LDB's provides a lot of information, because they gather it from a lot of different tables...
    A Field-Symbols is like a pointer in C++, like an alias for a variable...Here's a small example...
    REPORT Z_ATG_DUMMY.
    FIELD-SYMBOLS: <F1>, <F2> TYPE I.
    DATA: TEXT(20) TYPE C VALUE 'Hello, how are you?',
          NUM TYPE I VALUE 5,
          BEGIN OF LINE1,
          COL1 TYPE F VALUE '1.1e+10',
          COL2 TYPE I VALUE '1234',
          END OF LINE1,
          LINE2 LIKE LINE1.
    ASSIGN TEXT TO <F1>.
    ASSIGN NUM TO <F2>.
    DESCRIBE FIELD <F1> LENGTH <F2>.
    TEXT = 'CHAU'.
    WRITE: / <F1>, 'has length', NUM.
    WRITE: / TEXT, 'has length', NUM.
    ASSIGN LINE1 TO <F1>.
    ASSIGN LINE2-COL2 TO <F2>.
    MOVE <F1> TO LINE2.
    ASSIGN 'LINE2-COL2 =' TO <F1>.
    I just can't install SAPNWSP...I only got MiniSap...But I got all the development enviorment...Don't know about the User-Exits...Actually I don't think so...Because those "mini" systems doesn't come with any functional module.
    Greetings,
    Blag.

  • Header line item mapping issue in LSMW

    Hello experts,
    I am trying to map my data in LSMW with header and line items.My structure looks like this.
    1header col1 col2 col3 (2item) col1 col2
    1header col1 col2 col3 (2item) col1 col2
    In the line item col1 changes its posting key.
    Header is reapeating for every line items how to map the above in LSMW .
    How to upload the data only when the Reference document number is changing??
    Thanks and regards,
    Vijay Simha CR

    Hi ,
    at Step 3-->maintain source fields -->Double Click on the Key Field -->Tick the check of Selection Field....
    here you need to decide which one is the key field...if you dont have key field in  Item level then create one.
    regards
    Prabhu

Maybe you are looking for

  • Wi-Fi connection drops

    I am connecting to a company wireless network with both a Windows XP Dell Laptop and MacBook Pro. They both connect fine initially, but sometime (several times) during the day the MBP will drop the connection. I can manually choose to reconnect it an

  • Discount Condition with effect at the time of GR but not at the time of PO

    Dear All My customer requires a discount condition in a particular pricing procedure. He want the discount condition in such a way that it should be shown in PO conditions but it should not affect the net price while making purchase order. Rather it

  • Getting problem with reusable workflow

    I have one reusable workflow. it having more conditions and statements, it is associated to Case Library(Library name-- which holds all case details) .  Based on workflow outcome status cases are forwarding to next level. Case library  have case star

  • Crystal Reports 2008 - C-ISAM/ODBC Error 42000 Failed to retrieve data

    I'm hoping someone out there has a solution to this problem. I have a bunch of reports which I've converted from CR8.5 to CR2008 (SP2 + HotFixPack 2.7 Installed) Our server is currently running SCO UNIX OpenServer 5.0.7 with a C-ISAM Database serving

  • Issues - OC4J with Adobe XML/PDF Access API (XPAAJ)

    Hi, I am facing some issues with running XPAAJ with OC4J. I narrowed down the issue to the compactibility issues between the XML implementation which comes with oc4j and the ones used by adobe. In particularly the problem is caused by the xmlparserv2