Structure 2 structure transfer

Hi
I have two straucture lets say struc1 and struc 2
i want to pass the value of struc2-field1 to struct1-field2 ( *fields name are not same here)
both structure are already filled.
struct1 are filled in this way
struct-name1 = abc
struct-name2 = pqr
struct2 are filled in this way
struct-name1 = aaa
struct-name2 = pqr
My problem is i am doing
struct-name1 = struct-name2. ( * Fields have different name)
Logically struct-name2 value has to pass in struct-name1.
but its not working it coudn't able to assigned it.
please give me solution for it.
Thanks
Subham

Hi,
Try to use below code
DATA  :  BEGIN OF struct1,
              name1(4) TYPE C,
              name2(4) TYPE C,
END OF struct1.
DATA : BEGIN OF STRUCT2,
     name1(4) TYPE C,
     name2(4) TYPE C,
END OF struct2.
struct1-name1  =  'ABC'.
struct1-name2  =  'PQR'.
struct2-name1 = 'AAA'.
struct2-name2 = 'PQR'.
*MOVE-CORRESPONDING struct1 TO struct2.  " To Copy all the corresponding fields from struct1 to struct2.
or
struct1-name1 = struct2-name2.
WRITE : / struct1-name1,
               struct1-name2,
               struct2-name1,
                struct2-name2.
Move corresponding statement moves value from one structure to another structure
If you want to pass the data from one internal table to another internal table, then if the structure of both the table will be same then you can assign directly like that
it_tab1 = it_tab2.
or
it_tab1[] = it_tab2.

Similar Messages

  • Copy transfer structure transfer rules from one client to other client

    Hi
    Our R3 client 100 is mapped to BW client 100.
    R3 client 100 is source system in BW.
    As the master data is created by users in R3 client 200 we want to get the data from client 200 to BW. We dont want to replicate each datasource and do all stuff form scratch for client 200.
    Now the question is as we need to create transfer rules, transfer structure for all master data objects for client 200 in BW.
    1. Going to create R3 200 client in BW.--this is possible.
    2.Like create a transport connection in BW for client 200 for all master data infoobjects transfer rules transfer structure,process chain, infopackages..etc
    3.Do the source system mapping for new client 200.
    4.and then execute the process chain..
    What are the best ways to achieve this.
    creating all transfer structure and transfer rules only for those we are loading daily ..rather than all active ones.. How can I get the list of that master data that is loading daily.. and how easily can I create transfer structure..etc dependent objects in one go than manually.
    Any help or thoughts are appreciated..
    can anyone throw some light please....

    Hi,
    BW is not client dependent!!! When you sign on to BW, you have the client required. However, this field does not appear in any table (master data, ODS, cubes, whatever).
    This means that a same BW server with a single client can have multiple R/3 connections (for multiple R/3 clients).
    The database do not care about the client in BW. The data will be consolidated.
    So, you do not need any new client in BW, just two R/3 connections for your two clients.
    Regards,

  • Transfer Structure / Transfer Rules comparison or copy

    Hello,
    We have our BW dev system linked to both dev and QA R/3. Consequently, the transfer rules are created manually for the QA.
    Do you know if there are any tools to compare the transfer structure/rules for given data source and source systems?
    Regards,
    Michal

    Hi Michal,
    What I understood is, you have only one Bw system & both R/3 Dev and R/3 Quality boxes are connected to it and you have to take data from both boxes to BW system.
    I do not understand the cause of this kind of system landscape but you can assign the another data source to same infosource then you will see data comming from two system one will be for R3 Dev and other for R3 Quality.
    Hope this will help you
    Suneel

  • ALE: e-recruiting organizational structure transfer

    Hi friends,
    I want to transfer the organization structure or the organization plan with O,S,C object types from one SAP system to another SAP system.
    I have done the ALE configuration and using PAFL transaction to do the same.
    I would like to know that model view i should use for the distribution also i would want to know the screen parameters in PAFL transaction.
    I am doing the same for E-recruiting separate instance.
    Regards,
    Divya
    Points would be given

    Hello,
    We are still having a problem with failing iDocs everytime we pass over IT0105 Sty 1 records from our SAP system to E-Recruiting.
    Would anyone happen to know where I should start looking to troubleshoot this error message?
    "Password is not long enough (minimum length: 6 characters)"
    Currently both systems require that your password be at least 6 characters long, which makes this message even more perplexing.
    Having a better understanding of how RBDAPP01 processes inbound IDOCS in status 64 would help.  We are using message type HRMD_ABA.  Our data filter looks like....
    Infotype: 1000
    Object Type: C, O, S
    Infotype: 1001
    Object Type: C, O, S
    Subtypes: A002, A007, A008, A012, B002, B007, B008, B012
    Infotype: 1001
    Object Type: O, S
    Subtypes: A003, B003
    Infotypes: 0000, 0001, 0002
    Object Type: P
    Infotype: 0006
    Object Type: P
    Subtype: 1
    Infotype: 0105
    Object Type: P
    Subtypes: 0001, 0010   
    So the question is how is IT0105 Sty 1 being processed when RBDAPP01 runs?
    Thank you for your help!
    Ryan
    Edited by: Ryan Hubbell on Mar 31, 2009 7:00 PM
    Edited by: Ryan Hubbell on Mar 31, 2009 7:47 PM

  • Sales structure transfer from R/3 to CRM - Generate = RED

    Hi Experts,
    as we created new sales offices and sales groups in our R/3 system we have to transfer them to CRM.
    After the generation of the selected lines the new organizational units have been transferred to CRM but in the transfer table below I can see red light in <b>Generated</b> column and zeros in the <b>CRM sales organization</b> and <b>CRM sales office</b> columns.
    Could you please tell me how to solve this problem?
    Thanks in advance!
    Regards,
    Tom

    Hi,
    You can run the trasnaction "copy r/3 sales structure" only once. Any change to the organizational structure in R/3 after that, has to be maintained mannualy in CRM, transaction PPOMA_CRM.
    Susana Messias

  • How to Create Hierarchy From Flat file Structure

    Hi Gurus,
    There is a scenario for me regarding the Hierarchy.
    Required Hierarchy structure - Region>Director>Manager-->Sales id
    I have flat file which gives the info like user id , sales id , manager id, director id.
    But the transaction data Flat file has structure with sales id, region id, sales amt, sales qty.
    Note : Region id is another Master Data.
    How i can create hierarchy from the first flat file which doesnot have region info in that but it is available in the transaction data Flat file.
    Is there anyway we can create hierarchy based on the first Flat file structure which contains more that 1,00,000 records.
    Try to Suggest me in this regard .
    This is urgent.
    Regards,
    Mano

    Hi Mano,
                    Defining the source system from which to load data
    Choose the source system tree File  ® Create.
           2.      Defining the InfoSource for which you want to load data
    Optional: choose InfoSource Tree ® Root (InfoSources) ® Create Application Components.
    Choose InfoSource Tree ® Your Application Component ® Other Functions  ® Create InfoSource 3.x ® Direct Update.
    Choose an InfoObject from the proposal list, and specify a name and a description.
           3.      Assigning the source system to the InfoSource
    Choose InfoSource Tree ® Your Application Component ® Your InfoSource ® Assign Source System. The transfer structure maintenance screen appears.
    The system automatically generates DataSources for the three different data types to which you can load data.
    &#9675;       Attributes
    &#9675;       Texts
    &#9675;       Hierarchies (if the InfoObject has access to hierarchies)
    The system automatically generates the transfer structure, the transfer rules, and the communication structure (for attributes and texts).
           4.      Maintaining the transfer structure / transfer rules
    Select the DataSource for uploading hierarchies.
    IDoc transfer method: The system automatically generates a proposal for the DataSource and the transfer structure. This consists of an entry for the InfoObject for which hierarchies are loaded. With this transfer method, the structure is converted to the structure of the PSA during loading, which affects performance.
    PSA transfer method: The transfer methods and the communication structure are also generated here.
           5.      Maintaining the hierarchy
    Choose Hierarchy Maintenance, and specify a technical name and a description of the hierarchy
    Hope this helps
    Regards
    Karthik
    Assign points if Helpful

  • Problem while transporting transfer rules in BW 3.5

    Hi All,
    I have a problem while transporting transfer rules in BW 3.5.
    I have just checked the box for conversion to Transfer structure / Transfer rules of an infoobject and tried to transport it to quality. I got this below error message:
    The selections   T ZBW_ZBILLRATP_TEXT_BA specify more than one DataSource
    Diagnosis
    You need to select an individual DataSource based on the selection conditions
    InfoSource =
    Source System =
    Object Version = T
    Transfer Structure = ZBW_ZBILLRATP_TEXT_BA
    although the select event is not unique.
    Procedure
    Check the objects to which the selection applies.
    Reference to transfer structure ZBW_ZBILLRATP_TEXT_BA not available. No activation possible.
    Message no. RSAR436
    Diagnosis
    Transfer structure ZBW_ZBILLRATP_TEXT_BA should be transported into this system.
    However, no DataSource mapping refers to this transfer structure.
    System response
    The transfer structure was not activated or deleted.
    Procedure
    Ensure that DataSource mapping, with a reference to the transfer structure ZBW_ZBILLRATP_TEXT_BA is on the same transport request. Use the transport connection to create a consistent request.
    Can any one provide me details of how to overcome this issue. I tried transporting all related objects.
    Regards
    Lakshmi

    Hi Lakshmi,
    Befor Transporting the Transfer rules, make sure that you are transporting the Active Versions of your Datasource & DataTarget between which your transfer rules exist.
    Also make sure that the Transfer rules are active before it is transported.
    Hope it helps!
    Regards,
    Pavan

  • R/3 DataSource field missing in Transfer Rules

    Hello Everyone,
    I am working with R/3 Datasource 0ASSET_AFAB_ATTR. I enhanced the structure by adding a new field 'VYEAR'. After generating the Datasource in R/3, i replicated the datasources on the BW Application Component. But, i cannot see the appended field 'VYEAR'in the Transfer Rules. The field is not hidden and I can see the field getting populated in RSA3 for that datasource. Could someone help.
    Thanks

    Hi Sachin,
    In the InfoSource Maintenance screen expand the node for transfer structur/transfer rules and click on the tab datasource/transfer structure and scroll down to find your field.
    Cheers,
    Sree

  • Where are transfer rules created in bi

    I am new to BI and does not know how to create transfer rules ...help me

    Hi,
    Basically the source system is connected to BW thru DataSource. The fields from this DataSource are mapped with the fields in BW thru Transfer Rules.
    The flow is like this..
    Source System (DataSource) --> Infosource (Transfer Structure - Transfer Rule - Communication structure) --> Update Rule --> Data Target
    Now when you create InfoSource in BW, you map a DataSource to it, then in Transfer Rules you create the mapping of fields.
    Hope you are getting the flow.
    Regards,
    Yogesh

  • Transfer structure

    Hi All
    i have to create a transfer structure.
    in dso and cube i have 27 fields.
    but in tranfer structure it is showing 50 fields.
    i have to select the 27 fields out of 50 or i have to activate 50 fields in transfer structure.
    Thanks & Regards
    krishna

    Hi,
    Basically when creating the transfer structure you need to map the transfer structure fields with the ODS/Cube fields that are present in the communication structure.
    You just need to Transfer the fields, that you have identified in Data source to the transfer structure and map the relevant fields in the Transfer structure.
    Once the mapping is done. Just activate the Transfer structure.
    Most importatnt would be to decide on the mapping between data source and Communication structure fields.
    Hope it helps!!!
    Regards,

  • Transfer Structure 'USES' Box

    Hello Friends
    I have a quick question for you.What is the 'USES' checkbox for in the Transfer Structure on the far left side, right next to the CONVE box.What does teh 'Uses' box signify and what does a green check present or absent there mean.
    Thanks.

    Hi Krish,
    The column 'USES' identify whether the field is used in the communication structure or not.
    To give you an example, lets say you have two fields KTOPL and HKONT in your extract structure of the data source and you have transferred these fields to the transfer structure, however you have mapped only KTOPL to an info-object where as HKONT is not mapped (in assign info-object section of transfer rules tab). That means KTOPL will only appear in the communication structure. If you check the USES column, you can see that it will be checked (a tick mark) for KTOPL where as "blank" for HKONT.
    Hope it clarifes.
    Thanks
    Soumya

  • Transfer Structure Status - Clock Symbol

    I have data in my ODS and have moved that data to the cube.  I have lost some of that data in the cube because of a delete of overlapping conditions.  I need to get that data back into the cube from the ODS.  I was going to load it from the ODS, but when I did, it only loaded a small portion of the packages from the ODS.  The reason is because after our ERP upgrade, we had to activate the InfoSource.  Now when you look at the Reconstruct tab in the ODS, the normal double green check marks have now been replaced with one check mark and a clock symbol.  It appears this data cannot be recovered.  Does anyone know if it is possible to recover this data and be able to move it to the cube.
    Thanks,  Keith J

    Hi Keith,
    When ever there is change to transfer structure in re construction tab we  will get that clock symbol. In your case as you are loading data from ODS to CUBE , from your first load from ODS to recent load there is change in your ODS object structure,that is the reason u are seeing clock symbol.if u are trying to reconstruct your requests it will pop up a message stating that to ignore the request click no,I think it will upload that request again,if not do an init load from ODS again and schedule your deltas regularly
    Regards
      KK

  • Transfer structure not active

    Hi ,
    in my process chain ,  it failed due to   error: Transfer structure is not  active.
    How to correc this?
    iam using BI 7.0
    regards
    sidartha

    Hi Siddartha,
    Try to activate the transfer structure using Pogram RS_TRANSTRU_ACTIVATE_ALL in SE 38. Give the Infosource & Source system name there & then execute.
    Hope this will help.
    ~!Dpak

  • Transfer Structure Creation

    Hi,
    I am trying to develop a tool to automate the transfer structure/info source creation. Does anyone know the table or function modules that create these?
    Thanks in advance.
    Alex.

    Hi:
    In transaction BAPI,
    check the BAPI BAPI_ISOURCE_MD_T_CREATE in the Data Warehousing BAPIs (Under InfoSourceMasterXfer).
    Thanks for any points you choose to assign.
    Best Regards -
    Ron Silberstein
    SAP

  • Transfer structure have two different tech names?

    Hi BW experts,
    we got issue in transfer structure which have two different technical names:
    ZCUSTOMER_DC and
    ZCUSTOMER_PS
    where zcustomer is the info source name.
    The impact: PSA data can't be accessed ...
    Any help and feedback is highly appreciated!
    Regards,
    Lilly

    Hi Dinesh,
    Thanks for your feedback.
    Unfortunately, this issue is thru our system landscape incl. production. If I try to delete the DS assignment I will lose data in the PSA, right?
    However, I did try to delete the DS assignment and delete the info source (the one which is available on dev only), failed, the message I get is info object xyz still being used in communication structure (I believe it must the TS with old prefix), deletion not possible.
    The problem is I am not able to delete the TS with old prefix , because it is not visible in system (AWB).
    Any further feedback appreciated

Maybe you are looking for