Problem with 2 structure in Lsmw

Hello experts,
        I am using lsmw using batch input session. I have two structure one for vendor and other for vendor details. I am not able to assign both the structures at a time.
So I am having problem in mapping the fields.
  I refered to other sites they have example with only one structure.

You can use two structures in a LSMW object  . Make sure both the structures have a common field
( unique field to link the two structures )
Re: LSMW loading multiple structured records..
All the best
Regards
Vivek

Similar Messages

  • Problem with structures

    Hi,
    this might very well be a C problem, but maybe not, because the program compiles fine and can nicely be executed seperately, it only crashes if used together with JNI. (Anyhow, I am not a C expert.)
    Okay, i am trying to make some third party C-code accessible from Java.
    The problem are lines like:
    for (i=0; i<linkage->num_words; ++i) {
    or
    for (i=0; i<linkage->num_sublinkages; ++i) {
    these lines cause JVM to just crash. The problem is that I seem not to be able to access the components of the structure "linkage". The JVM just goes down. As mentioned, the code compiles, and can be run as an executable without any problems.
    It might very well be that these components are not yet defined (I am checking whether "linkage != NULL" before executing the above lines, however. Is this the correct way to do it?). As mentioned, I am irritated by the fact that the program works fine as an executable but not when called from Java.
    Anyone any ideas?
    Thanks a lot,
    Michael

    What kind of error text JVM displayed after crash? IHere's the output:
    # An unexpected error has been detected by HotSpot Virtual Machine:
    #  SIGSEGV (0xb) at pc=0xb143fb54, pid=17935, tid=3086645936
    # Java VM: Java HotSpot(TM) Client VM (1.5.0_10-b03 mixed mode, sharing)
    # Problematic frame:
    # C  [libde_mk_qualim_parser_LinkParser.so+0x22b54]  linkage_delete+0x31
    ---------------  T H R E A D  ---------------
    Current thread (0x0919b7f0):  JavaThread "main" [_thread_in_native, id=17935]
    siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x4c8bda89
    Registers:
    EAX=0x4c8bda89, EBX=0x8c930d68, ECX=0x00000006, EDX=0x00ca70b0
    ESP=0xbfeb7174, EBP=0xbfeb719c, ESI=0x8c930d68, EDI=0x0919b7f0
    EIP=0xb143fb54, CR2=0x4c8bda89, EFLAGS=0x00010296
    Top of Stack: (sp=0xbfeb7174)
    0xbfeb7174:   b144f024 00000001 00000006 00ca64c0
    0xbfeb7184:   00000006 00000006 b7fa7ab0 8c930d68
    0xbfeb7194:   8c930d68 0919b7f0 bfeb71bc b142d09d
    0xbfeb71a4:   4c8bda89 00000001 00000006 00ca64c0
    0xbfeb71b4:   8c930d68 0919b7f0 bfeb71dc b142cb59
    0xbfeb71c4:   098f7778 bfeb721c 00000000 0919b7f0
    0xbfeb71d4:   bfeb720c b25823cd bfeb720c b25824eb
    0xbfeb71e4:   0919b8b0 bfeb7220 bfeb721c bfeb71f0
    Instructions: (pc=0xb143fb54)
    0xb143fb44:   00 c7 04 24 24 f0 44 b1 e8 27 97 c0 56 8b 45 08
    0xb143fb54:   83 38 00 7e 5c bb 00 00 00 00 be 00 00 00 00 a1
    Stack: [0xbfcbb000,0xbfebb000),  sp=0xbfeb7174,  free space=2032k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C  [libde_mk_qualim_parser_LinkParser.so+0x22b54]  linkage_delete+0x31
    C  [libde_mk_qualim_parser_LinkParser.so+0x1009d]  LinkAPI_submitNewSentence+0x57
    C  [libde_mk_qualim_parser_LinkParser.so+0xfb59]
    almost sure linkage pointer is uninitialised.Yes, I now think the same! But how can I check this in C?
    And mind that the compiled executable can be run without errors.
    Cheers,
    Michael

  • Problem with structure cell STYLE

    Hi
    I'm working a wad report with table interface i've already changed the style's structures with the STRUCTURE_CELL method, that's ok. Also i need to control the padding-left but when i tried this the style isn't be able to change it.
    It  took the style that is coming from the style class sapbexlevelh2 is its hierarchy in the structure, i checked the padding-left and i set it to 0, but the page generated putted &nbsp trying to make the distance... i would like to eliminate that space....any ideas?
    Thanks in advance

    Maria,
    If you notice the values for the cell - you would also find that there would be javascript for the arrow mark on the cell - that could be your problem which causes the &nbsp..
    Also it could be an issue with the WAD report trying to render the value in the same cell -
    http://www.xs4all.nl/~dimaroan/htl/faq1.html
    try increasing the column width...
    Arun
    Message was edited by:
            Arun Varadarajan

  • Problem with structure...

    hey there,
    im new to abap and i have the following problem:
    zps_s_mass is the structure which i need it later to show in an ALV. the program searches the table it_nexceltab for an identical entry in the table it_XXX1. if it finds an itendic entry it mutates the entry in the table it_XXX1 (it_nexceltab-instrneu).
    but then, i want to write the data in a structure with a bonus field "status" in this field i write if the mutation was a success, if it found a identical entry. i need the structure later to show in an ALV.
    the problem is, that it always overwrites my data in the structure, with every loop. but i need all entries...
    thx for any help.
    code:
    LOOP AT it_XXX1 INTO wa_XXX1.
        success = ''.
        zusatz = ''.
        name = wa_XXX1-verna.
        FIND '@' IN wa_XXX1-verna.
        IF sy-subrc = 0.
          REPLACE '@ ' IN wa_XXX1-verna WITH ''.
          zusatz = '@ '.
        ENDIF.
        LOOP AT it_nexceltab INTO wa_nexceltab.
          IF wa_XXX1-verna EQ wa_nexceltab-instralt.
            name = wa_nexceltab-instrneu.
            success = 'X'.
          ENDIF.
        ENDLOOP.
        IF zusatz EQ '@ '.
          CONCATENATE zusatz name INTO name.
          zusatz = ''.
        ENDIF.
        wa_XXX1-verna = name.
        zps_s_mass-persnr = wa_XXX1-vernr.
        zps_s_mass-nameinstr = wa_XXX1-verna.
        zps_s_mass-tabelle = 'XXX1'.
        IF success EQ 'X'.
          zps_s_mass-status = 'Mutation Erfolgreich'.
        ELSE.
          zps_s_mass-status = 'Mutation Fehlgeschlagen'.
        ENDIF.
        MODIFY it_XXX1 FROM wa_XXX1.
      ENDLOOP.
    Edited by: rafe b. on Mar 26, 2008 1:34 PM

    Hi Rafe,
    I guess I know were your conflict is caused by. It's not a structural discrepancy, but a LOOP in the LOOP problem. The inner LOOP is running always till the end, i.e. there is always information captured from the last occurence when wa_XXX1-verna equals wa_nexceltab-instralt. When the if-statement is true, there has to be an EXIT-statement, i.e. the LOOP will be exited.
    Another recommendation: It's faster an securer to use the clear-statement for to initialize a field (not <field> = '').
    I marked the critical loop in bold and added the EXIT-statement.
    LOOP AT it_XXX1 INTO wa_XXX1.
    success = ''.
    zusatz = ''.
    name = wa_XXX1-verna.
    FIND '@' IN wa_XXX1-verna.
    IF sy-subrc = 0.
    REPLACE '@ ' IN wa_XXX1-verna WITH ''.
    zusatz = '@ '.
    ENDIF.
    LOOP AT it_nexceltab INTO wa_nexceltab.
    IF wa_XXX1-verna EQ wa_nexceltab-instralt.
    name = wa_nexceltab-instrneu.
    success = 'X'.
                                 EXIT.
    ENDIF.
    ENDLOOP.
    IF zusatz EQ '@ '.
    CONCATENATE zusatz name INTO name.
    zusatz = ''.
    ENDIF.
    wa_XXX1-verna = name.
    zps_s_mass-persnr = wa_XXX1-vernr.
    zps_s_mass-nameinstr = wa_XXX1-verna.
    zps_s_mass-tabelle = 'XXX1'.
    IF success EQ 'X'.
    zps_s_mass-status = 'Mutation Erfolgreich'.
    ELSE.
    zps_s_mass-status = 'Mutation Fehlgeschlagen'.
    ENDIF.
    MODIFY it_XXX1 FROM wa_XXX1.
    ENDLOOP.
    Have success and fun,
    Heinz
    PS: Ich spreche auch Deutsch; bin aus Muenchen.

  • Problem with structure s033

    Hi, i'm using an old version 3.1h, i'm trying to use structure s033 as source, in TX. LBW0, when i display the settings of the structure i get this message "The information structure cannot be used for SAP BW", any ideas??

    Hi Sergio,
    The structure s033 is intended for use with the LIS reporting system itself and not BW as far
    as I know. So this would explain why you get the error. Maybe the note  64636
    can help you, it explains how to setup the LIS reporting.
    Best Regards,
    Des

  • Urgenttt problem with structure view !!!!

    JDeveloper was fine with me
    but from yesterday the structure view cannot contain any folder of my application
    there is no structure view and when iam click on it from View menu
    it appear but emplty ,
    also i can't see my project , and when iam click open file button
    my project contain many use cases and sequence diagram
    and when iam go for the path for it :
    E:\Jdevstudio10131\jdev\mywork\HIS application\Project1\model\project1\SequenceDiagram1.oxd_seq
    appear xml files
    like this :
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <?Oracle-JDeveloper Diagram = '1.1.2'?>
    <?Oracle-JDeveloper Artifact = '1.1'?>
    <?Oracle-JDeveloper DBDiagram = '1.1'?>
    <?Oracle-JDeveloper JCMDiagram = '1.0'?>
    <diagram
    xmlns="http://xmlns.oracle.com/jdeveloper/modeler/diagram">
    <!--This is redundant information provided by the diagrammer for the structure pane-->
    <structure
    xmlns="">
    <shape
    name="10 calls 20 set information">
    <elemRef
    name=""
    value="740e23f9-
    please urgent it is graduate project , help me
    how can i appear my application with its sub folders and see the use cases and sequences with visual view not with those xml files !!

    Sounds like something in your JDeveloper installation got messed up.
    Backup your project.
    Install JDeveloper into a new directory - and try opening your project in the new installation.

  • Problem with LSMW - G/L Account Centrally for 2 or more Company Codes.

    Hi,
    I have a problem with an LSMW  G/L Account Centrally Master Data.
    I used the Object: 0010   GL A/C Master Record, and the Method: 0001   Hier. structure.
    I can create massives Accounts but I can't create Same Accounts with differents Company Codes.
    Please, somebody can explain me, how create Same Accounts with differents Company Code in masive form with LSMW?
    Thanks and Regards!

    Try this report RFBISA10:  "Copy General Ledger Account Master Data: Send"
    or RFBISA20: "Copy G/L Account Master Data in Target Company Code: Receive"
    Bye.

  • Problem with syntaxes and structures in unicode

    1. i have a problem with syntax
    this is old syntaxes
    TRANSLATE c ...FROM CODE PAGE g1 ... TO CODE PAGE g2
    new systems should use this class instead of above
    CL_ABAP_CONV_IN_CE
    it reads data from a container and converts it to the system format.
    my old syntax is TRANSLATE header-id FROM CODE PAGE file_tab-codepage.
    i need to change to new one by using above class how to do it
    2. I have a structure are_buffer and i am working on upgrade of a old report , i have used a sap predefined structure callled arc_buffer from se11, now when i am using offset in one of the perform statement like
    PERFORM read_file USING handle_tab_wa-offset record_len
    CHANGING arc_buffer(record_len)
    error_handling
    p_message.
    but the system throws a error called ''the structure arc_buffer(record_length) does not start with character-type field''.
    i cannot change the structure becoz its sap standard structure .
    how to get out of this.

    Moderator message - Cross post locked
    Rob

  • G4 mini has a problem with its volume structure

    My G4 mini has a problem with its volume structure according to Tech Tools Deluxe. One that the application can't seem to repair. Ran it 3 times and it always hangs before it completes the fix. Never hangs in exactly the same place in the repair routine, but always hangs.
    Ran these tests because for the longest time the mini would accelerate (panic) and shut down. Installation on a new system hangs before it completes the install of all the upgrades. Any help would be appreciated.

    I realize it was not clear from the original post whether or not DiskUtility had been tried yet to fix the hard drive.
    To use DiskUtility to repair the drive, you have to boot from the original install disc that shipped with your Mini.
    1) Insert the Install disc and the shutdown the Mini.
    2) Restart the Mini and hold down the C key as soon as the startup chime or beep is heard. Hold it down until you see the "gear" spinning on the screen.
    3) Select your language, but don't proceed any farther with installation. Use the Utilities menu at the top of the screen to run DiskUtility.
    4) In DiskUtility, click once on the hard drive in the left panel, then click on the Repair Disk button in the right panel.

  • Using techtool pro found problem with "volume structure".  What to do?

    Using techtool pro found problem with "volume structure" and this was not fixed by TECHTOOL PRO.  What do you suggest I do?

    I would boot from my gray install disk (put the disk in the drive and restart holding down the C key). Then choose Utilities and run Disk Utility and click Repair Disk. As always, be sure you have a back up of your data first.

  • Problem with BW query/Structure in Xcelsius

    I Build a universe based on a BW Query with structure.
    I created an excel/live office file of this universe and data are  correctly returned.
    But when using the live office imported in Xcelsius and click on preview with the option of refresh on load enable, the column of the query with the structure does not display the description of the indicators (product A, product B, product C), but a  tecnical name (selection1, selection2, selection3).
    Any suggestions!?
    Best Regards,
    Danilo

    Hi Ingo,
    The problem in configuration in tab View in application options of Live Office
    Column Heading = Field Description (correct)
    Best Regards
    Danilo

  • SOP: Problem with ratios in Info Structure

    Hi,
    I am defining an Information Estructure (Ap: 41 - Logistic in General) and I have some fields in some tables I would like to include as ratios in my structure.
    Well, I would like to include the field "MATKL" of the table "MARA" as a ratio in my structure. The problem is that I cannot find it in any field catalogue and if I try to create my own new field catalogue, there is not any chance for selecting the mentioned table (MARA).
    We would be very grateful if someone could help with this problem.
    Thanks in advance and best regards.
    PS: I have the same problem with the fields "MATNR" and "WERKS" of the table "MSSA".

    Hi,
    Create your own field catalog using the required field and table.
    Regards
    Vineet

  • Problem with recordset structure sequence

    Hi,
    I have a problem with my file cotent conversion.
    When i specify my recordstructure sequence as R1,1,R2,*
    the file is picked up but cannot be seen in MONI.
    but when i specify as R1,1,R2,2(OR 3 OR 4)
    The file is processed and seen in MONI.
    But when i give * to any of the records processing in XI fails..
    Please let me know wht must be going wrong
    Regards
    Venkat

    Venkat,
    I tried with your file and i am receiving the xml after conversion in sxmb_moni without any problem (no matter the file size )
    Can you try the following for your file,
    Recordset name : Details
    Recordset str. : Header,1,Body,*
    Key field name : field2
    Content conversion
    Header.fieldFixedLengths     3,2,10,27,8,8,8
    Header.fieldNames     field1,field2,field3,field4,field5,field6,field7
    Header.keyFieldValue     01
    Body.fieldFixedLengths     3,2,40,110,15,2
    Body.fieldNames     field1,field2,field3,field4,field5,field6
    Body.keyFieldValue     02
    ignoreRecordsetName     true
    ~ShaBZ~

  • Problem with Addition of z field in Standard Material master LSMW

    Hi All,
    We have added couple of zfields in material master MARC table also in BMMH1 Structure for lsmw and it is working fine if we go into MM01/MM02 transaction and enter value in Zfields it is getting updated into Marc table.But it is not working when we load through Standard material master lsmw RMDATIND.
    We ran RMDATING program also we regenerated the RMDATIND program.Still it is not working.
    Anything else need to be done?Any input would be greatful.
    Thanks
    Raj.

    Any input on this?
    Thanks
    Raj.

  • Problem with JTree and memory usage

    I have problem with the JTree when memory usage is over the phisical memory( I have 512MB).
    I use JTree to display very large data about structure organization of big company. It is working fine until memory usage is over the phisical memory - then some of nodes are not visible.
    I hope somebody has an idea about this problem.

    55%, it's still 1.6Gb....there shouldn't be a problem scanning something that it says will take up 300Mb, then actually only takes up 70Mb.
    And not wrong, it obviously isn't releasing the memory when other applications need it because it doesn't, I have to close PS before it will release it. Yes, it probably is supposed to release it, but it isn't.
    Thank you for your answer (even if it did appear to me to be a bit rude/shouty, perhaps something more polite than "Wrong!" next time) but I'm sitting at my computer, and I can see what is using how much memory and when, you can't.

Maybe you are looking for