Can we assign 1 flat file to 2 different structures in LSMW.

Hi all,
  Can we assign 1 flat file to 2 different structures in LSMW.
Please help.
Thanks in Advance,
Amruta.

Hi,
of course you can assign a flat file to as many LSMW structures you want.. If one structure is subordinate to the other, then all fields of your flat file are available to assign to any field in the structures.
For example, you want to create/change vendor company code data via standard upload program. There are structures BLFB1 for company code data and also BLFBW for vendor withholding tax. If your file is a flat file and contains a record for each vendor and say, up to three withholding tax types, you can assign your structure to both BLFB1 & BLFBW. You have to enter code in BLBW, though to transfer up to 3 BLBW records
Edited by: Harris Veziris on Dec 31, 2007 10:34 PM

Similar Messages

  • How can I assign image file name from Main() class

    I am trying to create library class which will be accessed and used by different applications (with different image files to be assigned). So, what image file to call should be determined by and in the Main class.
    Here is the Main class
    import org.me.lib.MyJNIWindowClass;
    public class Main {
    public Main() {
    public static void main(String[] args) {
    MyJNIWindowClass mw = new MyJNIWindowClass();
    mw.s = "clock.gif";
    And here is the library class
    package org.me.lib;
    public class MyJNIWindowClass {
    public String s;
    ImageIcon image = new ImageIcon("C:/Documents and Settings/Administrator/Desktop/" + s);
    public MyJNIWindowClass() {
    JLabel jl = new JLabel(image);
    JFrame jf = new JFrame();
    jf.add(jl);
    jf.setVisible(true);
    jf.pack();
    I do understand that when I am making reference from main() method to MyJNIWindowClass() s first initialized to null and that is why clock could not be seen but how can I assign image file name from Main() class for library class without creating reference to Main() from MyJNIWindowClass()? As I said, I want this library class being accessed from different applications (means different Main() classes).
    Thank you.

    Your problem is one of timing. Consider this simple example.
    public class Example {
        public String s;
        private String message = "Hello, " + s;
        public String toString() {
            return message;
        public static void main(String[] args) {
            Example ex = new Example();
            ex.s = "world";
            System.out.println(ex.toString());
    }When this code is executed, the following happens in order:
    1. new Example() is executed, causing an object to constructed. In particular:
    2. field s is given value null (since no value is explicitly assigned.
    3. field message is given value "Hello, null"
    4. Back in method main, field s is now given value "world", but that
    doesn't change message.
    5. Finally, "Hello, null" is output.
    The following fixes the above example:
    public class Example {
        private String message;
        public Example(String name) {
            message = "Hello, " + name;
        public String toString() {
            return message;
        public static void main(String[] args) {
            Example ex = new Example("world");
            System.out.println(ex.toString());
    }

  • THROUGH HTTP CAN WE SEND FLAT FILE IN  PI7.3?

    Hi Experts,
    We have an requirement that Through HTTP can we send flat file in PI7.3.(For EX:source side HTTP and Target side is IDOC or PROXY)
    Can any one please suggest me how can I proceed for that?
    Please let me know if there is any Documents or Blogs are there related to above requirement...
    Thanks,
    Shaik

    Hi Shaik,
    You can try following approach might help.
    Tell the sender system to use post method for HTTP connection. In post method the particular application will hit to a URL and data will be passed. Source system should pass the data same as that of Text file. Use following link which will help you to convert the data sent as text into XML. Further you can use this XML to convert further into IDOC or proxy.
    Adapter User-Module for HTTP Adapter?

  • Can we assign same  basic type to  different message type in ALE

    Hi Expert
       can we assign same idoc type to different message type?

    Hi,
    Yes you can assign the one idoc type to multiple message type. Message type nothing but it represents the kind of data we transfer.But idoc type is the format in which we transfer data. As an example in Messager types "ORDERS" and "ORDRSP"  both indicates the order related data, and in both case idoc type can be ORDERS01, ORDERS02.............
    Thanks,
    Asit Purbey.
    Edited by: Asit Purbey on Oct 12, 2009 3:07 PM

  • Can not assign ONE PFCG ROLE TO DIFFERENT ROLES

    Hi
    First I created a new Conf Key then I created a new NAV BAR by coying the standard Makrting and Sales PRO Nav Bar.
    Then I am trying to create a new buiness role( lets say ZMARKETING PRO) by copying the standard Marketing role and assigned my own created NAV BAR and Con KEY.
    I am facing an error
    " YOU CAN NOT ASSIGN ONE PFCG ROLE TO DIFFERENT ROLES"
    Just want to know the background of this error. Any help would be appreciated and points would be rewarded

    Hello Sajjid,
    Sorry we are not aware of the terminology used in your organization.
    Can you be more specific:
    are you doing Role Release,
    Org Filter changes or creating CHILD (derived) role
    Please generalise your problem.
    Regards,
    Surpreet

  • How can I upload multiple files or whole folder structures in one go to the Cloud?

    How can I upload multiple files or whole folder structures to the Cloud in one go? Uploading lots of files singularly does not help my workflow.
    All help is much appreciated.
    Paul.

    Hi,
    Uploading multiple files is browser specific.
    Internet explorer won't allow to select and upload multiple files on the cloud.
    If you want to upload multiple files then you have to login to Cretaive cloud using Firefox or Chrome web browser, then you can select multiple files in the Browse window to upload.
    You can't upload folders directly.
    Thanks,
    Baljeet

  • How can I load a flat file using a different Work Station

    Hi Gurus,
    I'm having problems with loading Flat file in our Production Server when it comes to loading a file from another work station. The scenario is all the Info Packages needed are created in oour Dev Server. So the location of the flatfile is already define which is the developer's workstation. Now when the package is transported to the production server any changes to the package is not allowed inlcuding the location of the flatfile needed to be uploaded. Now my question is. is there a way that the location be changed in the production server without adding the package Z_BI because that will mean we can do changes in the production server. Thanks in Advance
    - Kit

    Directly you can not change the info package settings. You need do   change the status of Info package to changeable mode and then do necessary changes.
    RSA1 => Click on truck symbol (Object changeability) => select info package => right click => click on Switch changeability.
    Now do the changes to your Info Package.
    With Regards,
    Kishore.

  • Flat File to simple XML structure in Mail Sender Adapter

    Hi,
    I have a scenario, where I want to put the content of a flat file (text, no csv or similar), which is an attachement of an e-mail, into a simple XML structure: entire file content as content of one XML tag. E.g.:
    file content:
    "abcdefgh"
    xml file:
    <root>
      <content>abcdefgh</content>
    </root>
    Do I need to use MessageTransformBean? Or is there an easiert way?
    Thanks,
    Torsten

    Hi Dirk,
    When we use MessageTransform, we can use ContentDisposition to specify, as to whether the payload has to go as an attachment or inline(as the mail itself.)
    It could also be a text file. Right?
    Just take a look at this..
    http://help.sap.com/saphelp_nw2004s/helpdata/en/57/0b2c4142aef623e10000000a155106/frameset.htm
    cheers,
    Prashanth

  • Can .lrcat and .lrdata files be on different drives?

    I use a MacPro. My boot drive is a 3 TB internal hard drive. My .lrdata file (LR 5) is over 275 GB because I have 1:1 previews for all of my photos. I have recently purchased a 240GB SSD which I want to use as my boot drive to increase processing times. Can I have the .lrcat file on my SSD (for speed) and the corresponding .lrdata file on another drive?
    Thanks!!

    0. Move "{path-to-catalog-folder}/{catalog-name} Previews.lrdata" folder to preferred location.
    1. Open Terminal (it's in Utilties folder of Applications).
    2. Type
    ln -s "{path-to-where-you-moved-lr-previews}"  "{path-to-catalog-folder}/{catalog-name} Previews.lrdata"
    then press 'Enter' (the return key).
    note: {path-to...} should be replaced by the correct path on your system.
    Let me/us know if you get stuck.
    hint: example of path-to-catalog-folder:
    /Users/Me/MyLrCatalogs/MyMainCatalog
    tonysiciliano1 wrote:
    While I've got your learned attention, I have more questions. My current state of affairs is that I have my .lrcat file copied on both my 240 GB SSD drive and my 3TB internal additional drive. The location of my "Cache for Previews" file is on the 3 TB drive for both .lrcat files. However, the size of the .lrdata file is 271 GB. My questions are these: 1.Does Lightroom create the "Cache for Previews"  file from the .lrdata file? 2, If so, is the maximum amount of info LR can use to create the Cache for Previews file 200 GB?, and 3. Will your suggestions be a work around for this 200 GB limit?
    1. "Cache for Previews" is a folder named "{Catalog} Previews.lrdata".
    2. There is no size limitation that I am aware of, other than disk space.
    3. Assuming there is no limitation other than disk space, then yes.
    Rob

  • You can't assign the name to two different groups

    In workgroup manager i a get this message. The name you have chosen conflicts with a name assigned to another group.
    The group name doesn't exist.

    It might help if you told us the group name you're trying to create.
    Just like usernames, there are a number of system groups that are hidden by default in Workgroup Manager. It may be your name is conflicting with one of those.
    You can check View -> Show System Records in Workgroup Manager to show these groups. That might clarify your issue.

  • Can Movie and TV files reside on different (external) HD?

    My entire iTunes library currently resides on my internal HD. I would like to keep all files, except movie and TV files, on my internal drive so I'll have them when I travel.
    I don't need the movie and TV files with me and would like to move them to an external drive. Is there a way to do this and have iTunes know where to look for them?
    Thanks for any suggestions....
    Lew

    David, welcome to discussions! You may find this link from MacMuse helpful on how to move iTunes to a different drive, either internal or external. I used this information to move my music to an EHD on my old PC where it worked just fine. One trick, you must always boot up the EHD prior to opening iTunes or iTunes will revert the location of the iTunes music folder back to the main drive & you will have a bunch of dead links to your song files. Post back if you have any questions.
    Oops, forgot the link!
    http://discussions.apple.com/thread.jspa?threadID=121879
    Message was edited by: StarDeb55

  • How to load data from a flat file to two different tables at a time.

    I am not aware of Sql Loader so Please any body suggest me that is there any way to load data from excel sheet to two different tables at a time its very urgent.
    with regards,
    Srinivas.R

    Read Utilities Guide from the Oracle Documentation Library. See
    <br>
    Oracle Database FAQs
    </br>

  • Error in Flat file loading with different units

    Hi Gurus,
    I have Quantity and its unit (say CS, DZ and KG etc...) fields in source system. when i transfered into psa using infopackage the error was shown as The error in unit CS is not mentioned in English.
    Could you please tell me what have to do for solving the problem.
    Thanks
    Shrinu

    Hi,
    Sorry, I couldn't understand your answer. I have problem with transaction data not the masterdata. could you please expand your answer as iam bit new to these problems.
    Points will be awarded for your reply.
    Thanks
    Shrinu

  • Problem to transform Flat file to Data Type Structurated and map to IDOC

    Hi all,
    I have a file to idoc scenario.
    The information is like this:
    1#!445#!AI12#!1#!20070214#!DVXXXXR#!201#!31GINHG876#!#!
    2#!#!ETC
    3#!000000000030008888#!#!3000#!#!10#!#!20070215
    4#!dades45#!b#!c#!d#!e#!f#!g
    5#!pos5
    where 1, 2, ... = key segments for the file adapter and #! are the field separator.
    this must go to a Data Type with substructures like this:
    (xml)
    .1
    ......2
    .3
    ......4
    ......5
    where 2 is inside 1 and 4-5 inside 3.
    The reason of this is we can get unbounded replays of 3/4/5 for one header.
    But XI reads the information like if all segments are headers.
    .1
    .2
    .3
    .4
    .5
    So the IDOC is bad created.
    Where is the issue?  At Message Mapping all substructures are mapped with his default and at TEST option it works fine.
    Thanks in advance for your help.
    best regards
    Message was edited by:
            Federico Martin
    Message was edited by:
            Federico Martin

    Dear people,
    according to license problems at client, it's impossible to get the convert agent.
    so now we come back to try to solve with normal mapping.
    the next step is try to convert it using 2 message mappings: dt (flat xml) to dt (structurated) and this one to the idoc.
    i suppose it can be done adding program at interface mapping.
    I created the no hiereachical Data Type for load the information and it's fine. But i am unable to get the first mapping OK, because XI has problems with unbounded segments.
    If you agreed and has time, i copy here the information and his structure.
    I receive (#! defines separation and key segment fields are 1,2,3,4,5):
    1#!445#!AH02#!1#!20070214#!DVPOSTER#!201#!31GINHGIN0#!#!
    2#!#!ETC
    3#!000000000030008888#!#!3000#!#!10#!#!20070215
    4#!dades45#!b#!c#!d#!e#!f#!g
    3#!000000000030008888#!#!3000#!#!10#!#!20070215
    3#!000000000030008888#!#!3000#!#!10#!#!20070215
    4#!dades45#!b#!c#!d#!e#!f#!g
    5#!pos5
    5#!pos5
    5#!pos5
    The destination must be:
    CHASE A
    1 (1..1)
    ....2 (1..1)
    3 (1..unbounded)
    ....4 (0..1)
    3 (1..unbounded)
    3 (1..unbounded)
    ....4 (0..1)
    5 (1..unbounded)
    5 (1..unbounded)
    5 (1..unbounded)
    CHASE B
    Or, in another case with 5 as child of 3 (like example in last mail)
    1#!445#!AH02#!1#!20070214#!DVPOSTER#!201#!31GINHGIN0#!#!
    2#!#!ETC
    3#!000000000030008888#!#!3000#!#!10#!#!20070215
    4#!dades45#!b#!c#!d#!e#!f#!g
    5#!pos5
    3#!000000000030008888#!#!3000#!#!10#!#!20070215
    5#!pos5
    3#!000000000030008888#!#!3000#!#!10#!#!20070215
    4#!dades45#!b#!c#!d#!e#!f#!g
    5#!pos5
    1 (1..1)
    ....2 (1..1)
    3 (1..unbounded)
    ....4 (0..1)
    ....5 (1..unbounded)
    3 (1..unbounded)
    ....5 (1..unbounded)
    3 (1..unbounded)
    ....4 (0..1)
    ....5 (1..unbounded)
    3 (1..unbounded)
    ....4 (0..1)
    ....5 (1..unbounded)
    Questions:
    How i do for map Data Type (no hierachical) -to-> Data Type (hierachical) and  Data Type (hierachical) -to-> IDOC? Is any loop or context object required?
    Thank you in advance for your help and sorry the long thread.

  • FCC on Sender CC to convert flat file to complex xml structure

    Hi ,
    i need to create a complex xml structure using FCC at the sender communication channel.
    the datatype structure is as follows:
    Data type     Occurrence
    DT_SOURCE     
    SEG_9     1..1
    SEG_10     1..1
    SEG_20     1..1
    SEG_30     0..1
    SEG_40     1..2
    SEG_50     0..1
    SEG_55(loop)     0..1
           SEG_55     0..9999
           SEG_60-70(loop)     1..1
                SEG_60     0..1
                SEG_70     0..9999
    SEG_90     0..1
    Please let me know how this can be acheived.
    Regards,
    Meenakshi
    Edited by: meenakshipradhan on Apr 5, 2010 7:44 PM

    Hi  Meenakshi,
    Please let us know the Hierarchy of the structure to be created, is it one level only?
    Could you please explaing  what is the loop meant here?
    SEG_55(loop) 0..1
    SEG_55 0..9999
    SEG_60-70(loop) 1..1
    Please specify if there are any delimiters or what is the  file format at source.
    Or Try reading the whole content of the file then use a XSLT to create the desired structure, i think in XSLT you can easily try out the looping.
    Regards,
    Srinivas.

Maybe you are looking for

  • Error in transfer structure while activating the business content

    Hi all         we got the following error while activating the transfer rules( business content) : 1)error when determining a number from object BI_TSDTEL and number 01 2) object name can only contain characters from syntactical character set. 3) dat

  • What are the minimum system requirements for Element 13?

    Will Element 13 work satisfactorily on a HP X2 system running 1.5Ghz?

  • What are the Different Reporting Types Offer By SAP Package

    Hello everyone... Been on SAP almost a year and finding there is alot to learn. Question: What are the different ways to generate reports and to link reports\programs across the SAP system. I know about BW, RRI, ABAP language, CRYSTAL. Are there any

  • OrgModeler - cds.log error SettingsResources does not exist

    Hi experts, Has anyone encountered this error message before? ERROR com.nakisa.Logger - Strings : readFile : java.io.FileNotFoundException: File '/usr/sap/NKD/J00/j2ee/cluster/apps/Nakisa/OrgModeler/servlet_jsp/OrgModeler/root/.system/Admin_Config/.s

  • Setting a Payload Factory

    Hi All, I am currently looking integrating a pretty standard Message Driven Bean with an OJMS(AQ) Queue that is using a custom ADT payload type. Everything was working relatively well following various manuals and blogs until it came to deploying the