Transformation Rule Type "Read from DataStore

Hi All,
i have two DSO's (Header and Item) my requirement is in the Item DSO i have a field Bill-to party in the same way in my header DSO also Bill-to party
i need to fill Bill to party field in header DSO with Item DSO Field Bill-to party by using the rule type Read from Data store
in the item DSO i have two key fields. in both the DSO's (header and item) only one common key field Document Num .i am assigning Docnum in transformation but i am failed to fill bill-to(Error-Cannot read from Datastore ). Please guide me how to achieve this.

Hi.
I think the problem is that the transformation rule needs the full target key fields (at item level) to be mapped in order to get the result value. Elsewhere, if more than one record are found more than one result values are to be found as well.
It would work if you are reading Header DSO as all Items will get just one record as result.
This can be solved using start/end routines ABAP programming.
Hope this helps.
regards.

Similar Messages

  • Problem in Read Master Data rule type in Transformation

    Hi,
    I have 'Tax Classification' & 'Sales Territory' as attributes for 0customer (Master data).  I loaded master data for 0customer & data have come up for this 2 fields.  I want this 2 fields in my DSO with data filled.  As this 2 fields are not in Transaction datasource of my DSO,  i added this 2 fields in the Target side in Transformation of the DSO.  In Transformation, I gave the rule type as 'Read Master Data'  from attribute of '0customer' & mapped KUNAG (Sold-to) to this 2 fields.  Activated the Transformation & executed the DTP.
    When i check the data, i could see that the Infoobject 'Sales Territory' column alone is filled but 'Tax Classification' column is blank.  Tax classification has data in 0customer master data for the displayed customer values but still data is not coming in DSO.
    How does this happen when both the fields have same mapping & rule type and still data not getting populated for one field alone.  Am i missing anything?
    Regards,
    Murali

    hi,
    the green request in MD does not means that the data in MD is activated, you need to activate it after loading everytime so that it reflects in where used list as well.
    regards,
    Arvind.

  • Error while assigning infoobject to the read master data in rule type

    Hi sdns,
    I want to read the zwostd info object data from zemployee master infoobject attribute list. For that i have selected  rule details of zwostd infoobject in transformation of info cube, then i am tring to select the read master data rule type. It is taking more time and then it displayed error like permitted time was  exceeded. Could any one please give me  the solution for this problem.
    thanks
    karun

    Sometimes directly typing the infoobject name in the field helps - otherwise it tries to fetch all the infoobjects available which is possibly why the time out occurs..?
    Enter the Master Data infoobject directly and then you will get the fields assigned.
    However my experience with read master data has been that whenever you change the master data IOBJ by way of adding / removing Nav Attributes / attributes etc - all the transformations using the read master data for the IOBJ that is being changed will get deactivated and it is a pain reactivating and transporting them again - particularly so when you are developing something on them and the changes are stuck across multiple requests ...
    IMHO use a routine instead to do the same - it involves lesser maintenance. SAP is anyway going to run a similar SQL...

  • Transformation Rule: Error while loading from PSA to ODS using DTP

    Hi Experts,
    I am trying to load data from PSA to ODS using DTP. For about 101 records I get the following error:
    "Runtime error while executing rule -> see long text     RSTRAN     301"
    On further looking at the long text:
    Diagnosis
        An error occurred while executing a transformation rule:
        The exact error message is:
        Overflow converting from ''
        The error was triggered at the following point in the program:
        GP4808B5A4QZRB6KTPVU57SZ98Z 3542
    System Response
        Processing the data record has been terminated.
    Procedure
          The following additional information is included in the higher-level
         node of the monitor:
         o   Transformation ID
         o   Data record number of the source record
         o   Number and name of the rule which produced the error
    Procedure for System Administration
    When looking at the detail:
    Error Location: Object Type    TRFN
    Error Location: Object Name    06BOK6W69BGQJR41BXXPE8EMPP00G6HF
    Error Location: Operation Type DIRECT
    Error Location: Operation Name
    Error Location: Operation ID   00177 0000
    Error Severity                 100
    Original Record: Segment       0001
    Original Record: Number        2
    Pls can anyone help in deducing and pointing this error to the exact spot in the transformation rule
    Thanks & Regards,
    Raj

    Jerome,
    The same issue.
    Here are some fields which are different in terms of length when mapped in transformation rules
    ODS                    |Data Source
    PROD_CATEG     CHAR32           |Category_GUID      RAW 16
    CRM_QTYEXP     INT4          |EXPONENT      INT2
    CRM_EXCRAT     FLTP16          |EXCHG_RATE     Dec 9
    CRM_GWEIGH     QUAN 17, 3     |Gross_Weight     QUAN 15
    NWEIGH          QUAN 17, 3     |Net_Weight     QUAN 15
    CRMLREQDAT     DATS 8          |REQ_DLV_DATE     Dec 15
    The difference is either some dats field are mapped to decimal, or the char 32 field is mapped to raw 16 OR Calweek, Calmonth is mapped to Calday
    Both mostly all the ods field size is greater than the input source field.
    Thanks
    Raj

  • Is there any way to bring back the font type and background of Safari reader from iOS6 in to the iOS7 ? I really miss it, the new design is awful, simple and has now class at all.

    Is there any way to bring back the font type and background of Safari Reader from iOS6 in to the iOS7 ? I really miss it, the new design is awful, simple and has now class at all.

    I agree with you, many things in the ios 6.x were more elegant. The reader was the most one of them. I think the ios7 wants to be the windows 8.

  • Routine  rule type in transformations

    Hello Experts,
    Can some one throw light on <b>Routine</b> as a rule type in transformations featured in BI 7.0. All mention some scenarios. Thanks in advance.
    Regards,
    KS

    Hi dear,
    look here for rule types:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/e5/f913426908ca7ee10000000a1550b0/content.htm
    and here for a lot of examples/samples:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/e3/732c42be6fde2ce10000000a1550b0/frameset.htm
    Hope it helps!
    Bye,
    ROberto

  • Standard Memo Lines read account from Transaction type not from memo accoun

    Standard Memo Lines read account from Transaction type not from memo account
    Is There Away To Readed From Memo lines account
    Facts:
    Define New Standard Memo Lines with Name "Discounts"
    With Type: Line
    Revenue Account: 01.0.000.0000.000.411001.0000
    Active Date: 01-JAN-2007
    When I create transaction with class Invoice
    I select the transaction type, and select customer
    I press on line items button
    I open the list description I select the "discount" define as memo line, I save the transactions
    I press on the Complete Button
    After that I navigate to Distributions button
    I found the account affect not read from account define for memo lines. It read from revenue account define in transaction type
    Especially when I use memo lines, how to read revenue account from account assign to memo lines not from transaction type

    Standard Memo Lines read account from Transaction
    type not from memo account
    Is There Away To Readed From Memo lines account
    Facts:
    Define New Standard Memo Lines with Name "Discounts"
    With Type: Line
    Revenue Account: 01.0.000.0000.000.411001.0000
    Active Date: 01-JAN-2007
    When I create transaction with class Invoice
    I select the transaction type, and select customer
    I press on line items button
    I open the list description I select the "discount"
    define as memo line, I save the transactions
    I press on the Complete Button
    After that I navigate to Distributions button
    I found the account affect not read from account
    define for memo lines. It read from revenue account
    define in transaction type
    Especially when I use memo lines, how to read revenue
    account from account assign to memo lines not from
    transaction typeHi,
    In my opinion, we need to set up AUTOACCOUNTING for 'REVENUE' as standard lines so that system picks up Revenue account from Standard memo lines instead of Transaction type.
    Regards,
    Sreenivas

  • Output data type of Read from XML file.vi

    LV 7.1:
    How can I enforce the output data type of the polymorphic "Read from XML file.vi" to be a string instead of an array of strings?

    ahlers01 wrote:
    LV 7.1:
    How can I enforce the output data type of the polymorphic "Read from XML file.vi" to be a string instead of an array of strings?
    In reply to my own post:
    I found the answer and described it in another forum

  • Remove GroupSids from Acceptance Transform rule

    I have run into a problem with Safari users not being able to log into office 365 using ADFS. This only affects users that are members of a large number of groups and is due to safari not being able to deal with cookies larger than 4k.  I
    believe I have found a workaround by removing the "Pass through all Group SID claims" from the Acceptance Transform Rules on the active directory claims provider trust.  This seems to work as the group sids are no longer being added to claims,
    and the safari users are able to log in.  I have validated this from both the client perspective (being able to authenticate) and the server perspective (the claims logged in the security eventlog no longer have groupsid entries).  The odd thing
    is, when I test authenticating with outlook, or activesync, I do see all the groupsid entries in the security eventlog. 
    Does modifying the Acceptance Transform Rules only affect clients authenticating with a browser?
    btw. I'm using ADFS 2.0. 

    Hi,
    For claims related issue, I suggest you refer to the following forum to get professional support:
    Claims based access platform (CBA), code-named Geneva Forum
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=Geneva
    Thank you for your understanding and support.
    Best Regards,
    Amy

  • Can Audit Vault be used for getting detailed read type information from the siebel database?

    Can Audit Vault be used for getting detailed read type information from the siebel database?

    Kramer wrote:
    saurabh wrote:
    check below cmd to see where archive are generated.
    SQL> archive log list
    And also check the following
    SQL> select flashback_on from v$database;
    Hi
    Here is the out put
    SQL>  select flashback_on from v$database;
    FLASHBACK_ON
    NO
    SQL>  archive log list
    Database log mode              Archive Mode
    Automatic archival             Enabled
    Archive destination            USE_DB_RECOVERY_FILE_DEST
    Oldest online log sequence     11
    Next log sequence to archive   12
    Current log sequence           12
    The flashback is not enabled. But archive log list shows archive destination is specified to use_db_recovery_file_dest.  And I checked the log_archive_dest_10 still empty
    Flashback off or on has nothing to do with it. 

  • Error in rules while updating from PSA to ODS

    Hi Experts,
    I am trying to load data from PSA to ODS using DTP. For about 101 records I get the following error:
    "Runtime error while executing rule -> see long text     RSTRAN     301"
    On further looking at the long text:
    Diagnosis
        An error occurred while executing a transformation rule:
        The exact error message is:
        Overflow converting from ''
        The error was triggered at the following point in the program:
        GP4808B5A4QZRB6KTPVU57SZ98Z 3542
    System Response
        Processing the data record has been terminated.
    Procedure
          The following additional information is included in the higher-level
         node of the monitor:
         o   Transformation ID
         o   Data record number of the source record
         o   Number and name of the rule which produced the error
    Procedure for System Administration
    When looking at the detail:
    Error Location: Object Type    TRFN
    Error Location: Object Name    06BOK6W69BGQJR41BXXPE8EMPP00G6HF
    Error Location: Operation Type DIRECT
    Error Location: Operation Name
    Error Location: Operation ID   00177 0000
    Error Severity                 100
    Original Record: Segment       0001
    Original Record: Number        2
    Pls can anyone help in deducing and pointing this error to the exact spot in the transformation rule
    Thanks & Regards,
    Raj

    Hi Kazmi:
    Runtime Errors         CONNE_IMPORT_WRONG_COMP_TYPE
    Exception              CX_SY_IMPORT_MISMATCH_ERROR
    Short text
        Error when attempting to IMPORT object "HIST2".
    What happened?
        Error in the ABAP Application Program
        The current ABAP program "RSORAT4M" had to be terminated because it has
        come across a statement that unfortunately cannot be executed.
    Error analysis
        An exception occurred that is explained in detail below.
        The exception, which is assigned to class 'CX_SY_IMPORT_MISMATCH_ERROR', was
         not caught in
        procedure "AKT_DAY_HIST2" "(FORM)", nor was it propagated by a RAISING clause.
        Since the caller of the procedure could not have anticipated that the
        exception would occur, the current program is terminated.
        The reason for the exception is:
        When importing the object "HIST2", the component no. 8 in the
        dataset has a different type from the corresponding component
        of the target object in the program "RSORAT4M".
        The data type is "I" in the dataset, but "P" in the program.
    How to correct the error
        Try to find out why the type of the object should be different.
        There are various possible options:
        1. The type of the imported field has changed in the Data Dictionary.
           Make sure that the type of the imported field matches the type
           of the field in the Data Dictionary.
           If the data cannot be restored from another source, the data must be
           read by the 'old' structure, converted und again eported with the new
           structure, so that future IMPORTs will always function with the new
           structure.
        2. A new program version is active, which no longer fits the dataset.
           Try to solve the error generating the program "RSORAT4M" again. This
           works as follows: Select transaction SE38 in the SAP system. Enter
           the program name "RSORAT4M". Then activate the function 'Generate'.
    If the error occures in a non-modified SAP program, you may be able to
    find an interim solution in an SAP Note.
    If you have access to SAP Notes, carry out a search with the following
    keywords:
    "CONNE_IMPORT_WRONG_COMP_TYPE" "CX_SY_IMPORT_MISMATCH_ERROR"
    "RSORAT4M" or "RSORAT4M"
    "AKT_DAY_HIST2"
    If you cannot solve the problem yourself and want to send an error
    notification to SAP, include the following information:
    1. The description of the current problem (short dump)
        To save the description, choose "System->List->Save->Local File
    (Unconverted)".
    2. Corresponding system log
        Display the system log by calling transaction SM21.
        Restrict the time interval to 10 minutes before and five minutes
    after the short dump. Then choose "System->List->Save->Local File
    (Unconverted)".
    3. If the problem occurs in a problem of your own or a modified SAP
    program: The source code of the program
        In the editor, choose "Utilities->More
    Utilities->Upload/Download->Download".
    4. Details about the conditions under which the error occurred or which
    actions and input led to the error.
    The exception must either be prevented, caught wit
    "AKT_DAY_HIST2" "(FORM)", or its possible occurren
    RAISING clause of the procedure.
    Hope this helps.
    Thanks to you and all
    Raj

  • Error in Transformation Rules - Runtime Error

    Hi Experts,
    I am trying to load data from PSA to ODS using DTP. For about 101 records I get the following error:
    "Runtime error while executing rule -> see long text     RSTRAN     301"
    On further looking at the long text:
    Diagnosis
        An error occurred while executing a transformation rule:
        The exact error message is:
        Overflow converting from ''
        The error was triggered at the following point in the program:
        GP4808B5A4QZRB6KTPVU57SZ98Z 3542
    System Response
        Processing the data record has been terminated.
    Procedure
          The following additional information is included in the higher-level
         node of the monitor:
         o   Transformation ID
         o   Data record number of the source record
         o   Number and name of the rule which produced the error
    Procedure for System Administration
    When looking at the detail:
    Error Location: Object Type    TRFN
    Error Location: Object Name    06BOK6W69BGQJR41BXXPE8EMPP00G6HF
    Error Location: Operation Type DIRECT
    Error Location: Operation Name
    Error Location: Operation ID   00177 0000
    Error Severity                 100
    Original Record: Segment       0001
    Original Record: Number        2
    Pls can anyone help in deducing and pointing this error to the exact spot in the transformation rule
    Thanks & Regards,
    Raj

    Hi Rajesh,
    Why don't you debug that program.
    You can go to his program : GP4808B5A4QZRB6KTPVU57SZ98Z 3542
    How :
    1. tcode : se38
    2. type : GP4808B5A4QZRB6KTPVU57SZ98Z 3542
    3. Set highlight there,
    Then setup with debug mode, finnaly you execute the dtp.
    And watch carefully, in what part you get an error.
    Hopefully it can help you a lot.
    Regards,
    Niel
    thanks a lot for any points you choose to assign.

  • How to Identify the Source System in a Transformation Rule?

    Hi,
       In a 3.x system if I needed to identify the source system, the interface had a parameter SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS. I do not see the same in a Transformation Rule. Can anyone tell me how can I make a decision in my transformation rule depending on the Source System?
        Say for instance I want to change the following Update Rule from a 3.x System to a Transformation in BI7:
    IF SOURCE_SYSTEM = 'ABC'.
       RESULT = 1.
    ELSEIF SOURCE_SYSTEM = 'A11'.
       RESULT = 2.
    ELSEIF SOURCE_SYSTEM = 'AZ1'.
       RESULT = 3.
    ELSE.
       RESULT = 0.
    ENDIF.
      Can anyone help? Points will be rewarded.
    Regards,
    Kazmi.

    Hi Siggi,
       But how would I know the Request ID within a transformation ? REQUID is the key of the table rsbkrequest ? The interface of the transformation method has the following parameters:
      IMPORTING
        request     type rsrequest
        datapackid  type rsdatapid
        SOURCE_FIELDS
       EXPORTING
         RESULT
    So all I can be aware of is the Request Name and the Data Packet Number. For instance when I took your approach, I got the Request Name as "DTPR_8E3VKVN0RJPDNXAKMP0PZJ99B" now I cannot look up with this against the key of the table because REQUID is a number field. Now, if I look up against the field "Data Transfer Process ID (DTP)" I do not find any entry in this table.
       Any more info?
    Regards,
    Thanks.

  • Calling Classes and Methods in Transformation Rules

    Hi,
    I have transformations from Level 1 to Level 2 ODS where based on the source fields Date of Sale(ZDSALE) I have to derive Period to Date and Year to Date from the class ZBI_UTILITY_METHODS and method ATTRIBUTES_GET.  How do i incorporate this in my start and transformation routines. Can someone please give me the code for this and also give some sample codes where classes and methods are called in the transformation rules.
    Thanks
    Priya.

    Hi Priya,
    I suggest you the way to call method in the class like this:
      DATA: o_model          TYPE REF TO ZBI_UTILITY_METHODS.
    " define v_return variables based on type the method give the value
      CREATE OBJECT: o_model.
      v_return = o_model->ATTRIBUTES_GET( transfer parameter ).
      free o_model.
    Hopefully it can help you a lot.
    Regards,
    Niel.

  • Transformation rules concepts

    Hello Gurus,
              when loading master data, we have to do transforming.  but when loading transaction data, in the transformation. there are also mapping for characteristic,  so for these characteristics in the transaction loading, how to set the transformation rules.  what is the difference for these characteristic transformation rules between master data loading and transaction data loading.
             for exp. following is from transaction data source.
                        material customer  amount quantity.
    in the transformation.  we should difine rule detail for ' material", is it " direct access" or it can be defined by some tansformation routin.
    Many thanks,
    Frank Zhang

    Hi......
    Look Transformation means field mapping..........and this is same for both mAster data and Transaction data..........the only difference that u can say.......that while mapping Master data.........it means u r doing Transformation between datasource and infoobject...........In that case whaever infoobject u will include in the attribute tab and the compounding Tab of the infoobject..........all will come during transformation............means u hav to map each one of these.........but in case of Transaction data..........infoobjects are just like fields in the infocube or DSO...........in that case only the main infoobject will appear in the transformation..............its attribute or compounding characteristics will not be appear seperately..............
    And rules............now there are different types of rules for Transformation............and routines : Start routine and End routine................the flow will be like.......
    Target
    END Routine
    Transformation Rules
    Start Routine
    Datasource
    Another type of routine is also there...........Expert routine.............but if u use this routine...........it will replace the whole transformation........it means transformation is not require any more.......
    Now there are different types of Transformation rules.......
    Check this.........
    http://help.sap.com/saphelp_nw04s/helpdata/en/e5/f913426908ca7ee10000000a1550b0/frameset.htm
    Hope this helps.........
    Regards,
    Debjani......

Maybe you are looking for

  • Random Crashes

    I've got a 2GHz dual-processor G5 that has been running great since new. I recently added additional memory (purchased from OWC) and since then I get crashes from various apps at random times. The most frequent culprit is Activity Monitor; invariably

  • TO BE FOR FI

    HI FI GURUS THIS IS MY  1st IMPLEMENTATION PROJ IF ANY ONE HAVE TO BE PROCESS PLS FORWARD IT TO MY MAIL ID [email protected] thanks in advance

  • Face Time not working in my Iphone 4

    do iphone equiped with face time app?? some one answer me please.

  • [SOLVED] mplayer, xF86 media keys

    Hi, mplayer is my software of choice for playing music. That's what I would like to do with it: bind some of the xF86 keys to move to the next/previous music -- instead of going to the terminal where mplayer is originally running and use the keys < /

  • How to Replace/Update existing book in ACS4?

    I want to know how to replace/upadate book in ACS4. ? I trite with replace request but it give error that duplicate item in inventory?