Creditpositive parameter in Transformation Rules

Dear all,
Just need some clarity on this.
My understanding is that if we set this parameter as 'NO' then it will reverse the signs of Accouts with Type LEQ and INC. Is that correct?
Now, if I'm loading a flat file wherein I've stored all INC/ LEQ accounts with a -ive sign then I believe the paramter should be 'YES' because I need to retain the same signs for BPC data base. Is this correct?
Further, in SAP BW data base I have all Dr as +ive d all Crs as -ive. In this case also I believe I should have 'YES' in the parameter value? Is this correct as well?
Thanks for your help in a advance,
SSC

Hi,
Yes you are on the right tract...... any way for your reference... have a look at the following stuff...
while displaying in reports or Input schedule, INC or LEQ accounts will be multiplied by -1 and EXP or AST will be multiplied by +1. Thus if INC,LEQ account is stored +ve, it will be displayed as -ve in the report.
[CREDITPOSITIVE in Conversion file;
[ACCTYPE INC/EXP;
Regards,
Surya Tamada.

Similar Messages

  • 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.

  • An issue regarding the routines in a transformation rule

    Hi experts,
    I have two fields in my transformation rule which i fill through characteristic routines. The second routine needs information provided by the first routine. For example:
    First char. A
    Sec. char. B
    In the routine for B i am using the field A which has to be filled in this moment through the first routine for a certain assignment.
    The problem is that i recognized that i get here the wrong assignment because in this moment in which the routine B is running the information provided by routine A is still not there. So i have analyzed and saw that the char. B has the position 25 in the transformation rule and the char. A has the position 27. Does it really mean that in the loading the char. B is filled at first and the char. A after that because of the order? Is that the problem why I don't still have information of char. A while i am filling char. B?
    If yes has anyone a good idea how to handle it? The further problem is that we can not change the order because the cube is filled and we have to delete the data at first in order to do it and it is not possible at the moment.
    I would really appreciate it.
    Thank you in advance.
    Kind regards,
    Ali

    Hi,
    AS we do not know what logic you are trying to write in field level routine so its pretty difficult to understand the scenario.
    I can suggest you to write the same logic in END Routine based on your requirement.
    Share your logic and code for more inputs.
    Hope it helps.
    Regards,
    AL

  • 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.

  • Issue with migrated transformation rule after transport

    Hello all,
    We have migrated couple of update rules and transfer rules to transformation rules. All the transformation rules are active in development environment.
    The issue is when we transport these transformation rules to QA, one of the fields of datapacket dimension "RECORD" becomes &R1& in the global structure of start routine and therefore, transport fails in QA. Along with this we had another issue that if we add any additional fields in the cube or ODS structure, the global structure in start routine doesn't change after transport in QA. Basically, it seems like it doesn't do anything when we do transport.
    We tried couple of things by transporting entire flow inclding target and source objects, we also tried transporting only transformation with overwrite mode. But none of the things worked. We also have logged the message with SAP.
    SAP suggested us to open the QA environment and perform the change manually. We did it and obviously we could activate the transformation rules. But when we tried to re-transport the transformation, it is keep failing with the error "Syntax Error". My assumption has after the transport, the field has become &R1& again.
    Has anybody faced such issue? We are on Ehp1 SP7.
    - Danny

    Thanks Murali,
    Yes as I mentioned SAP suggested us to open the box and do it manually, but once we are done with the manual changes, we tried transporting the same transformation rule again, which I guess going to be the case in case of any future enhancement. Transport failed and it says "Syntax Error".
    The transformations we activated manually in the target system are active, but when we try to load the data, it throws the exception error.
    Any clue ?? Is it working fine in your system after you did manual changes? Did all future transport go well ?
    - Danny

  • 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

  • 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 do Currency conversion thru transformation rule BI 7.0

    Hi all;
    I am loading data from flat file to the cube. The flatfile contain Source currency (USD) and Incentive Amount base on Source currency.
    In my cube I have an object call Source Incentive Amount and anohter object name Planning(Local) Incentive Amount.
    How do I convert that Source Incentive Amount(USD) to Planning(Local) Incentive Amount (EUR) thru a transformation rule so I can map 1 Incentive Amount from the flat file to 2 Incentive objects in the cube.
    Note: The planning(Local) currency is not on the flat file, I have to pull it from the cost_center object and I don't know how to pull that either.
    Please help.
    Rainnie

    Hi,
    Check here.
    Restore a migrated data source
    /thread/814123 [original link is broken]
    Emulation, Migration and Restoring DataSources
    http://help.sap.com/saphelp_nw04s/helpdata/en/43/682cacb88f297ee10000000a422035/content.htm
    Thanks,
    JituK

  • BPC NW - Error in Business Rule for Account transformation rule table

    hi
    I have given the Account transformation Rule to move Amount from Account A to Account B and then I have given the following script logic in the default script
    **RUN_PROGRAM CALC_ACCOUNT*
    *CATEGORY = Category*
    *CURRENCY = RptCurrency*
    *TID_RA = %TIME_SET%*
    *CALC=A*
    *OTHER = ENTITY=C1000*
    **ENDRUN_PROGRAM*
    But when I try to load data through Input schedule in Account A and expect amount to transfer to Account B, I m getting an error
    Book Name:Book4
    Application : PLANNING*
    Status : Failed*
    Submitted Count : 1*
    Accepted Count : 1*
    Rejected Count : 0*
    - Error Message -*
    Error running default logic (Business rules are not available)
    - Rejected record list -*
    Error converting records: The root element is missing.
    Can someone please advice me what to do ....

    hi Marcel,
    Lot of thanks for your answer.
    But I have used your logic after removing GROUPS as I dont have GROUPS dimension in my application.
    *RUN_PROGRAM CALC_ACCOUNT
    CATEGORY = %CATEGORY_SET%
    TID_RA = %TIME_SET%
    CALC=FX
    OTHER = [ENTITY=%ENTITY_SET%]
    *ENDRUN_PROGRAM
    This is the error I m getting
    Book Name:Book3
         Application     :     PLANNING
         Status          :     Failed
         Submitted Count     :     1
         Accepted Count     :     1
         Rejected Count     :     0
              - Error Message -
    Error running default logic (Business rules are not available)
              - Rejected record list -
    Error converting records: The root element is missing.
    Can you please advice
    a) Does it mean some issue with my client installation as I dont see these LGF files. I even dont see the data folder in which lgf files are supposed to be present
    b) Where to find information for this interface CALC_ACCOUNT? How did you decide to use 'FX' and how do you know which dimensions to use. Like I dont have GROUPS.
    Please give me your comments.
    regards
    Gaurav

  • Problem in Transformation rule in BW due to change in Table FieldName

    Hi Everyone,
    we already have a DSO, IC & MP in BW..
    now we want to add a new field in R3 & same has to be replicated in BW as well. we have added it successfully.
    but my problem is in Table we have changed the field name of one of the object(from ZGROUP to ZMARKET) which we already had one-one mapping in the transformation rules from DS to DSO.
    now when i replicate my datasource & try to edit the transformation(to map the IO in DSO to changed field name of DS), it is giving a message "Field ZGROUP used in a rule does not exist in the source".
    Do we have any other option other than changing the filed name back to ZGROUP in table & do the mapping successfully & activating the transformation rules?
    Regards,
    Pavan

    HI Rahul,
    This is the what i get when i click on that message:
    Field ZGROUP used in a rule does not exist in the source
    Message no. RSTRAN750
    Diagnosis
    Field ZGROUP used in a rule no longer exists in the source, but it existed when the transformation was created.
    System Response
    The rule is marked as invalid and is deleted.
    Procedure
    If you need the rule, add the missing field to the source before saving.
    Regards,
    Pavan

  • Mapping and transformation rules

    Hi experts,
       pls tell  me what is this mapping and transformation rules in context wz filw to RFC scenario.
    what do u mean by transformation and transformation rules.
    Thanks
    veeru

    Hi
    Mapping and Transformation both are same,to understand clearly we go for transformation.
    Generally we go for Mapping/Transformation when ever you want to change the source structure into required format of the target structure we gor for mapping ie. Transforming the one structure to another.
    Ex:
    Source Structure:
    Fname
    Lname
    Empid
    Fname------>CONCATE   theswe togetherly gives Name.
    Lname------->CONCATE
    My required Target Structure is:
    Name(So to get Name we will use the CONCATE preefined functon under Graphical Mapping in Mapping Editor )
    Empid
    Thanks

  • Write ABAP routine in transformation rule

    Dear all,
    I am very new to ABAP. Currently I would like to transfer some data from cube A to cube B. The problem is
    Cube A and B have different Unit of Mesure. The product standard cost is based on each Item's UOM. For example:
    Cube A data:
    ItemNo }      UOM   }     Standard cost
    ABC     }      P5      }            30
    Cube B data:
    ItemNo }      UOM        }     Standard cost
    ABC     }      EACH      }            5  (30/5)
    In transformation rule, I plan to use ABAP routine to calculate each record to new Stand cost if Cube A has different UOM than Cube B.
    Can I call a program in this ABAP routine?
    In ABAP routine, how can I delare other source table and fields?
    Thanks for you help!

    The preferable method, if you're on BI 7 or later, is to create a filter in the DTP so that the records where 0CLR_DOC_NO is blank aren't even passed into the Transformation.
    If not, then you can add the following code into the Start Routine of your Transformation.
    DELETE
      source_package
    WHERE
      clr_doc_no EQ ' '.

  • Xslt transformation rules for BPEL

    Hi there,
    Can anyone advise where I can find the xslt transformation rules for BPEL. I am unable to find the mentioned file "114.XSLTTransformations".
    Best regards!
    Linda

    I installed the BPEL process manager and find the 114.XSLTTransformations tutorial project, but the sample xslt file is for a specific xml file but not for a general bpel file, which doesn't help with my problem.
    For instance, if I want to transform a bpel file to other formats using xslt, how to handle "partner link" structure of bpel?
    Best regards,
    Linda

  • Remove Leading zeros in Transformation rules

    Hi
    I am trying to write a formula transformation rule to an infoobject, i have 2 source fields Account Type and Allocation Number and i have a target field Vendor, i am trying to map the allocation numbers with a account type of 'K' to the vendor but the allocation number is padded with a bunch of zeros, the vendor key is not a standard length as it can be between 4 and 7 characters else i could have used a right trim. I am trying the below formula but this is failing when i run the dtp.
    IF( ACCT_TYPE = 'K', TRUNC( ALLOC_NMBR ), ALLOC_NMBR )
    Should i be using a different function, or is this the wrong approach?
    Thanks
    Josh

    Thats Good.
    I dont know how you going to put this code in BI 7. I 've tested this in 3.5
    IF < CONDITION>
    Data: v_OUTPUT type TRANSFER_STRUCTURE-<DATA ELEMET>
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
    EXPORTING
    INPUT = TRAN_STRUCTURE-<DATA ELEMENT>
    IMPORTING
    OUTPUT = v_OUTPUT
    RESULT = v_OUTPUT.
    ELSE.
    RESULT = 0.
    ENDIF.
    < > :If you are writing this in Transfer Rules you have to give Data Element name (R/3 field name). If you are writing this in Update Rules you can give info object name. In BI 7 you have only transformations. I think SOURCE FIELDS & DATA_FIELDS are the words replacing TRAN_STRUCTURE & COMM_STRUCTURE.
    Cheers
    Praveen

Maybe you are looking for

  • Home Directory on server or client?

    I work for an architects firm (about a dozen people) and we currently keep user accounts/home directories on individual machines, although we have a server. What are the advantages, besides being able to log into your account from any machine, in kee

  • How can I add a picture to a layer above a background photo?

    I create two layers, a background photo at the bottom and a empty transparent space at the top.  I click on the top space to make it active.  I copy a different photo.  I click on paste.  The computer replaces the background photo with the new photo.

  • Compare two schemas in oracle 11g

    Hi All, Can any one please help me how to compare two schemas in oracle 11g. Thanks Edited by: 793914 on Oct 22, 2010 9:33 AM

  • Labview crashing

    Hi, I had installed tkafg3k driver and then decided to remove it. When I ran Labview, it will always crash, with the message "Labview.exe has encountered a problem.....". I'm not sure what to do, I've tried reinstalling the driver but did not change

  • Nvidia-utils: /usr/lib/libXvMCNVIDIA_dynamic.so.1 exists in filesystem

    FIXED NOW. REMOVED the CONFLICTING file. big deal. Hello i just do my usual pacman -Syu and hit a problem with nvidia-utils package. :: Starting full system upgrade... resolving dependencies... done. looking for inter-conflicts... done. Targets: alun