3.5 Infoobject Routine

Hello,
I want to write a routine at infoobject level in 3.5 transformations but i have no experience in writing routines in 3.5.
I have 3 fields F1, F2 and F3 coming from source.
If either of these is having entry '111' i have to set the target field T1 as 1.
If no entry '111' i have to set T1 as 0.
Can you please help with sytax in 3.5 infoobect level routine?
Response appreciated.
Regards
Syed

Hello Syed,
You can use CASES and OR can also be used. But it will be huge set of conditions every record must pass through..........
if only 5 values are used ...try to hardcode in your program.
X = 11, 22, 33, 44, 55
loop the source table
and check the values for f1, f2, f3
data: val like range of char 2,
data: line like line of val,
line-option = 'eq'.
line-sign = 'I'.
line-low = 11.
append line to val.
if X in val then T1 = 1
else  T1 =  0.
not perfectly syntaxed.....just gave an overview...
Sorry if I am wrong...

Similar Messages

  • Infoobject routine problem in transformation using BI 7.0 datasource

    Hi expert,
    We have the business senario:need to look up data from Active data of DSO: /BIC/AZIN_O0100 into infoobject ZN1 in DSO:AAA through the link ZNR. We have the code, but after DTP, there are blank value in infoobject ZN1 in the content of DSO:AAA. Anyone can guide us why we get the blank in the value.
    DSO:AAA
    ZNR;ZN1
    Source field
    ZNR;
    Active data  /BIC/AZIN_O0100
    /BIC/ZNR;/BIC/ZN1
    Code in routine of infoobject ZN1 in transformation (BI 7.0 datasource)
        DATA: IT_ZN1 TYPE  /BIC/AZIN_O0100-/BIC/ZN1.
        SELECT /BIC/ZN1 INTO IT_ZN1 FROM  /BIC/AZIN_O0100
         WHERE /BIC/ZNR = SOURCE_FIELDS-ZNR.
        ENDSELECT.
        RESULT = IT_ZN1.

    Hi ,
    Please split this code in start routine and transformation routine.
    DSO:AAA
    ZNR;ZN1
    Source field
    ZNR;
    Start Routine
    Active data /BIC/AZIN_O0100
    /BIC/ZNR;/BIC/ZN1
    DATA: IT_ZN1 TYPE /BIC/AZIN_O0100-/BIC/ZN1.
    SELECT /BIC/ZN1 FROM /BIC/AZIN_O0100 INTO IT_ZN1
    FOR ALL ENTRIES IN SOURCE_PACKAGE
    WHERE /BIC/ZNR = <SOURCE_FIELDS>-ZNR.
    Transformation Routine
    READ TABLE IT_ZN1 with key
    /BIC/ZNR = <SOURCE_FIELDS>-ZNR BINARY SEARCH.
    IF sy-subrc = 0.
    RESULT = IT_ZN1 - FIELDNAME.
    Hope this answres you.
    -Vikram
    RESULT = IT_ZN1.

  • Transformation routine problem - changing 2 infoobjects in 1 routine

    Dear all,
    i have coded a transformation routine which gets data from 4 infoobjects and writes into 1 infoobject.
    routine is like that:
    startdate-starttime-enddate-endtime
    routine  converts data into :  time difference / 0calmonth
    however i need to update also 0calmonth with that routine? how can i do that?
    when i define a rule, i guess it always update only one infoobject?
    thanks in advance.

    Hi John,
    sure you can. It is the same procedure as in update rules, but a start routine will only work if all your required fields are contained in the communication structure and so in the infosource. Otherwise you need to stay with the second routine.
    regards
    Siggi

  • Character cleaning routine

    Hello folks,
    I am getting some hexadecimal chars in my text data failing my loads.I also get HEX21 error. I came across Eugenes blog and saw a code approved by him aswell written by Dirk Herzog as follows:
    DATA: l_d_length like sy-index,
    l_d_char type c,
    l_d_index type sy-index.
    l_d_length = strlen( result ).
    result = COMM_STRUCTURE-/BIC/ZZZ.
    DO l_d_length times.
    l_d_index = sy-index - 1.
    l_d_char = resultl_d_index(1).+
    CALL FUNCTION 'RSKC_CHAVL_OF_IOBJ_CHECK'
    IMPORTING
    I_CHAVL = l_d_char
    I_IOBJNM = 'ZZZ'
    *" I_S_COB_PRO =
    *" I_T_COB_PRO_CMP =
    EXCEPTIONS
    CHAVL_NOT_ALLOWED = 1.
    IF SY-SUBRC <> 0.
    resultl_d_index(1) = ' '.+
    ENDIF.
    ENDDO.
    What i would like to know in BI where will i write this code in Comm Structure, Start Routine or InfoObject routine and how should i use the COMM_STRUCTURE as it gives me error.Will this one allow HEX chars and end my problem.
    Please help. Points shall be assigned.
    Regards,
    Krrish.

    If you write in start routine, the code will be applied on the source package as a whole and will be faster. But if you write as a rule, then it will be applied for each and every record in the package and will be slower.
    Ravi Thothadri

  • Transformation Issue: HR - PA

    Hi,
    I'm working on SAP HR-PA stuff.
    In standard data flow,  0HR_PA_0 & 0HR_PA_1 datasources feeding data to 0PA_C01 Cube.
    Our detailed reporting requirements demands me to insert a DSO in between. I created a DSO with same fields as cube, and copied all the routines in the update rules and loaded data and everything is working fine.
    Now, I wanted to use BI 7.0 functionality, So, i selected update rules -> Additional functions -> Create Transformation. .
    This will convert all 3.5 routines into BI 7.0 routines, I guess.
    But, after the data loads, surprisingly these transformation populating wrong data into DSO.
    Is this the right way to create transformation from update rules?
    Thanks,
    V

    Hi Vas,
    I just read your thread on sdn for 0PA_C01 cube.
    I need a small help from you.
    I am also working on the same cube, same like you I am migraitng the data flow from 3.5 to 7.0. I have few routines in the update rules which i need to convert it to oops abap in bi7. You have this cube in 7.0 already. So, can you please send me the routine code you have. Actually i am not a abaper and my client also dont have any bw-abap person. I need to do some manual changes in the code. My data flow is exactly same as your data flow. I am unable to solve this problem from long time.
    And also I need to put dso inbetween the flow as per our clients requirements. So where did yu out the start routines and infoobject routines in update rules of 3.5 to 7.0, i mean at what stage?, before dso or after dso? Also I have the INCLUDE in my routines that I am worried about.
    If you provide me the code, i will really appreciate it. And in future we can share the knowledge as well.
    Thanks.
    Regards,
    Harshal Panchal

  • Assigning Query to Transport Request

    Hello ,
    I need to modify the Query
    0CSRV_C01_Q0102 Service Tickets Current Month Completion Rate by Emp Resp
    The Requirement is I need to change the
    Text view of Employee Responsible to Mediun Length text .
    When i changed the text and saved it is not asking for the Request .
    Then I go to RSA1 - Transport connection - Query - Collcted necessary objects .
    I can see the Application/Infoarea/Infocube/Query element/Infoobject/Routine
    My question is as I changed the Text view of Employee Responsible to Mediun Length text
    I need to select the employee Responsible in the Query Elements only or what I am supposed to do .
    Thanks ,
    Rahul

    Hello ,
    Kams thanks for the reply as I mentioned I just need to change the Text display ofone of the Infoobject .
    Soit seemd from your reply I just need to include the Infoobject in the Query Element and then transport that correct .
    Please correct me in case I missed some thing .
    Thanks ,
    Rahul

  • Need to create a transformation based on Update Rules Logic

    Hi,
    I have an existing complex Update Rule. I need to manually create a Transformation based on this Update Rule logic. The Start Routine of the Update Rule comprises of:
    1) All data declarations in the Global Area
    2) The local coding area consists of various select statements from various r/3 tables used later for mapping. It also calculates and stores values in the Data Package final internal table for few infoobjects that are not present in the Source object but and are used to populated data in the target.
    3) then we have the various one to one individual Infoobject mappings/constants and many individual infoobject routines that pick result from the comm_structure
    I am not very clear as to where each of the above coding logic should be put in the transformation coding area...... I can see four main coding areas in the transformation....global area, 2nd Global Area, Method Start_Routine and Method Inverse_Start_Routine........... I think the global data declarations(point 1 above) should be put in the Global declaration area of the start routine. The local area of the update rule logic (point 2 above) that contains select statements should be put in 2nd Global part or should it be put in Method Start_routine????? Point 3 above for individual filed mappings will be done through Rule groups. Also can anyone let me know what is the methos inverse_start_routine used for?????
    Thanks.

    Hi,
    Point 1 you mentioned should be put under2nd Global declaration part of start routine.
    Point 2 should be put under Method Start_routine.
    Point 3 as you only mentioned can be done by individual field rule mappings.
    Method inverse_start_routine
          This subroutine needs to be implemented only for direct access
          (for better performance) and for the Report/Report Interface
          (drill through)
    Not very clear though about Inverse routine. But definetly not being used for the case you mentioned.
    Hope it helps.

  • Difference between Business content of 2004 and 2004s

    Hi all,
    I was looking at the Business Content delivered with BI 2004 (BW 3.5)and BI 2004s (BW 7) for <b>Payroll</b> at the below links. It seemed they are almost the same.
    Can anyone tell me if there is any major difference between the two (specifically for Payroll) in terms of objects delivered with the business content, data flow, data model, cube design etc.
    <b>BW 3.5:</b>
    http://help.sap.com/saphelp_nw2004s/helpdata/en/86/3a1d3c55a0f503e10000000a114084/frameset.htm
    <b>BW 7:</b>
    http://help.sap.com/saphelp_nw04/helpdata/en/86/3a1d3c55a0f503e10000000a114084/frameset.htm
    Also, are there any different settings/procedures etc to be followed for installing/activating BW 7 business content as compared to BW 3.5?
    Will surely assign points for helpful answers!
    Thanks in advance.
    Pradyut.

    Hey. Installing and activating content is exactly the same between SAP NetWeaver 2004 and SAP NetWeaver 2004s. Just some notes you should apply before activating content if you're on SPS9:
         966131: Correction: Object InfoPackage not found in RSOR
         966134: Correction: Dump when you delete a Decision process
         966594: P10:PC:PSA process dumps with OBJECTS_OBJREF_NOT_ASSIGNED
         968815: Correction: REMOTE process ends with invalid status
         971385: P10: P33: PC: PSA process: empty fields
         974456: P10: PC: RSSM_EVENT_RAISE dumps with message type X
         984210: Korrektur: BCTCOMP statt Switches für Prozesstypen
         966996: Correction: Deleting green link also deletes red
         987956: Korrektur: Unknown Job hinter Decision in der
         988736: Feature: Einplanung von Prozessketten
         989927: 70SP11: Fehlermeldung, falls Content-DTP fehlt
         979977: 0LOGSYS not filled despite InfoObject routine
         985448: Activating Transfer Rules
         981555: Short Dump while loading

  • Translate to Upper Case in Transformation

    Hello BI experts,
    Extractor has more than 100 fields in combination of Char, Num, Date etc...
    Some Char fields are bringing data in lower case letters. 
    Here I am looking for ABAP code in Start routine, where I can translate all Char fields lower case letter to Upper case.
    I know how to translate for each individual field level (infoobject routine level).  But I need in Start routine for all Char fields at once.  In other words,  I think, we have to filter out Char fields from <Source-Fields> and translate them to Upper case.
    Any help would be greatly appreciated.
    Thanks much,
    Anil

    Hi,
    try the following logic in start routine& let me know if you find any difficulty..
    data : r_itab type table of rstrucinfo,
              v_sytabix like sy-tabix,
              wa type rstrucinfo.
        FIELD-SYMBOLS : <fs1> type any,
                     <fs2> type any.
        CALL FUNCTION 'GET_COMPONENT_LIST'
          EXPORTING
            program    = sy-repid
            fieldname  = 'SOURCE_PACKAGE'
          TABLES
            components = r_itab[].
        loop at SOURCE_PACKAGE assigning <fs2>.
          v_sytabix = sy-tabix.
          loop at r_itab into wa where TYPE = 'C'.
            assign component wa-COMPNAME of structure <fs2> to <fs1>.
            translate <fs1> to upper case.
          endloop.
          modify SOURCE_PACKAGE from <fs2> index v_sytabix.
        endloop.
    regards,
    raju

  • Upper/Lower case conversion

    Hi folks,
    Apart from the Infoobject General tab where an infoobject can be selected to allow Lower case letters, are there any other areas where this can be done? We need to allow this for a standard infoobject and thinking is that we can change this at some other level such as do a conversion at the datasource level so only uppper cases flow through. This is a char field but can contain both Upper cases and Lower cases. Right now, with the standard infoobject the DTP load fails when trying to load the data with lower case characters.
    Thanks for your help.

    Hi,
    As mentioned above you will have to use TRANSLATE command to do the conversion. Now you can either write a routine at Infoobject level or write a field routine for conversion. In case of infoobject routine again you might have to change the original infoobject so I would suggest you to go for Field level routine in transformation.
    RESULT = source_fields-XYZ.
    TRANSLATE RESULT TO UPPER CASE.
    Regards,
    Durgesh.

  • Exploiting RIA & RCA functionalities would entail changing in the ABAP code

    Dear All,
    Could someone please explain  to what extent exploiting the latest RCA & RIA functionalities available in SAP NetWeaver would lead to changing in the underlying ABAP code (SAP native & customized) of an ERP system, ABAP stack.
    Thank you in advance for your cooperation.
    Best regards.
    Reda Khalifa

    Hi,
    1st: you create a class using se24. Within your class you can define methods. Each method can have import, export and changing parameter.
    2nd: in the global part of your start routine you need to instanciate your class using:
    data: class_variable type ref to <your class>.
    create object class_variable.
    In the start routine and the infoobject routines itself you call your methods using:
    call method class_variable->method_name exporting..... importing..... changing.....
    For some more help use the F1-help on the keywords in the abap editor.
    Hope this helps!
    regards
    Siggi

  • 0MATERIAL master data loading error

    Hi,
    We have accidentally overwritten the 0MATERIAL infoobject in BI Production by transporting from BI Development. Before this, the objects were not same in DEV and PRD. We made a mistake in not checking the differences betrween the two before transporrting. The transport gave a return code of 8 and there was a warning that conversion routine was changed to MATN1.
    Now, after the transport the loading of master data is giving an error that data is invalid for material numbers that are all numeric.
    What are the options we have now?
    Thanks,
    Sanjeev

    Sanjeev,
    can you just check the infoobject and if its in modified or inactive version.
    Try to check all the avaialable versions for this object and see if you can see the previous conversion routine in any of this version.
    Also check the table RSDIOBJ or some other table which contains the information about the infoobject routine and see what conversion routine it contains.I think it should still contain the old version.
    Material can either contain ALPHA or MATN1 nothing more then that.
    So change it back to ALPHA and it should work as ALPHA works perfectly with the numeric values.
    Also i think it should work with MATN1 as well just check the settings with OMSL t-code...may be you will have to change the settinhs for conversion routine at the data source level as well.
    but better to go with ALPHA.
    Ajeet

  • 0CO_REPLINE infoobject ABAP routine error

    Hi experts,
    I am facing a problem while activating a transformation for the cube 0CCA_C11. I installed the flow in 3.5 and wen i was migrating the flow, i first migrated the update rule. At that time, the transformation is giving me " syntax error in the routine" for the infoobject 0CO_REPLINE.
    The eroor message is given below:
    *E:The type "_TY_S_SC_1_FULL" is unknown, but there is a type with the similar name "_TY_S_TG_1_FULL". "_TY_S_TG_1_FULL".*
    I have appended part of the routine:
    CLASS lcl_transform IMPLEMENTATION.
      METHOD compute_0CO_REPLINE.
      IMPORTING
        request     type rsrequest
        datapackid  type rsdatapid
        SOURCE_FIELDS-CO_AREA TYPE /BI0/OICO_AREA
        SOURCE_FIELDS-CO_DOC_NO TYPE /BI0/OICO_DOC_NO
        SOURCE_FIELDS-CO_ITEM_NO TYPE /BI0/OICO_ITEM_NO
        SOURCE_FIELDS-FISCVARNT TYPE /BI0/OIFISCVARNT
        SOURCE_FIELDS-FISCPER TYPE /BI0/OIFISCPER
        SOURCE_FIELDS-COSTCENTER TYPE /BI0/OICOSTCENTER
        SOURCE_FIELDS-ACTTYPE TYPE /BI0/OIACTTYPE
        SOURCE_FIELDS-VTYPE TYPE /BI0/OIVTYPE
        SOURCE_FIELDS-VTDETAIL TYPE /BI0/OIVTDETAIL
        SOURCE_FIELDS-VTSTAT TYPE /BI0/OIVTSTAT
        SOURCE_FIELDS-METYPE TYPE /BI0/OIMETYPE
        SOURCE_FIELDS-VERSION TYPE /BI0/OIVERSION
        SOURCE_FIELDS-VALUATION TYPE /BI0/OIVALUATION
        SOURCE_FIELDS-COSTELMNT TYPE /BI0/OICOSTELMNT
        SOURCE_FIELDS-DB_CR_IND TYPE /BI0/OIDB_CR_IND
        SOURCE_FIELDS-PIOBJSV TYPE /BI0/OIPIOBJSV
        SOURCE_FIELDS-PIOVALUE TYPE /BI0/OIPIOVALUE
        SOURCE_FIELDS-PART_CCTR TYPE /BI0/OIPART_CCTR
        SOURCE_FIELDS-PART_ACTTY TYPE /BI0/OIPART_ACTTY
        SOURCE_FIELDS-PART_COORD TYPE /BI0/OIPART_COORD
        SOURCE_FIELDS-PART_WBSEL TYPE /BI0/OIPART_WBSEL
        SOURCE_FIELDS-PART_ABCPR TYPE /BI0/OIPART_ABCPR
        SOURCE_FIELDS-AMOUNT TYPE /BI0/OIAMOUNT
        SOURCE_FIELDS-AMOUNTFX TYPE /BI0/OIAMOUNTFX
        SOURCE_FIELDS-AMOUNTVR TYPE /BI0/OIAMOUNTVR
        SOURCE_FIELDS-QUANTITY TYPE /BI0/OIQUANTITY
        SOURCE_FIELDS-QUANTITYFX TYPE /BI0/OIQUANTITYFX
        SOURCE_FIELDS-QUANTITYVR TYPE /BI0/OIQUANTITYVR
        SOURCE_FIELDS-CURRENCY TYPE /BI0/OICURRENCY
        SOURCE_FIELDS-CURTYPE TYPE /BI0/OICURTYPE
        SOURCE_FIELDS-UNIT TYPE /BI0/OIUNIT
        SOURCE_FIELDS-AUXACCTYPE TYPE /BI0/OIAUXACCTYPE
        SOURCE_FIELDS-AUXACCVAL TYPE /BI0/OIAUXACCVAL
        SOURCE_FIELDS-COMP_CODE TYPE /BI0/OICOMP_CODE
        SOURCE_FIELDS-BUS_AREA TYPE /BI0/OIBUS_AREA
        SOURCE_FIELDS-FUNC_AREA TYPE /BI0/OIFUNC_AREA
        SOURCE_FIELDS-PCOMP_CODE TYPE /BI0/OIPCOMP_CODE
        SOURCE_FIELDS-PFUNC_AREA TYPE /BI0/OIPFUNC_AREA
        SOURCE_FIELDS-CHRT_ACCTS TYPE /BI0/OICHRT_ACCTS
        SOURCE_FIELDS-GL_ACCOUNT TYPE /BI0/OIGL_ACCOUNT
        SOURCE_FIELDS-CREDITOR TYPE /BI0/OICREDITOR
        SOURCE_FIELDS-DEBITOR TYPE /BI0/OIDEBITOR
        SOURCE_FIELDS-PLANT TYPE /BI0/OIPLANT
        SOURCE_FIELDS-MATERIAL TYPE /BI0/OIMATERIAL
        SOURCE_FIELDS-EMPLOYEE TYPE /BI0/OIEMPLOYEE
        SOURCE_FIELDS-NOTIFICATN TYPE /BI0/OINOTIFICATN
        SOURCE_FIELDS-CO_ITEM_TX TYPE /BI0/OICO_ITEM_TX
        SOURCE_FIELDS-DOC_DATE TYPE /BI0/OIDOC_DATE
        SOURCE_FIELDS-PSTNG_DATE TYPE /BI0/OIPSTNG_DATE
        SOURCE_FIELDS-RECORDMODE TYPE RODMUPDMOD
        SOURCE_FIELDS-CORRTYPE TYPE /BI0/OICORRTYPE
        SOURCE_FIELDS-CCTR_IBV TYPE /BI0/OICCTR_IBV
        SOURCE_FIELDS-FM_AREA TYPE /BI0/OIFM_AREA
        SOURCE_FIELDS-FUND TYPE /BI0/OIFUND
        SOURCE_FIELDS-GRANT_NBR TYPE /BI0/OIGRANT_NBR
        SOURCE_FIELDS-PFUND TYPE /BI0/OIPFUND
        SOURCE_FIELDS-PGRANT_NBR TYPE /BI0/OIPGRANT_NBR
        SOURCE_FIELDS-PU_BDGTID TYPE /BI0/OIPU_BDGTID
        SOURCE_FIELDS-PBDGTID TYPE /BI0/OIPBDGTID
       EXPORTING
         RESULT type tys_TG_1-CO_REPLINE
        DATA:
          MONITOR_REC    TYPE rsmonitor.
    $$ begin of routine - insert your code only below this line        -
      Data:
        COMM_STRUCTURE   type tys_SC_1_full,
        l_subrc          type sy-tabix,
        l_abort          type sy-tabix,
        ls_monitor       TYPE rsmonitor,
        ls_monitor_recno TYPE rsmonitors.
      data:
        l_monitor        type standard table of rsmonitor.
      REFRESH:
        MONITOR.

    How have you solved? I have also error for 0vtype.
    Thanks!

  • Error when generating master data routines when activating infoobject

    Hello Gurus,
    I had an issue with one of my info object.
    I Created the one Custom InfoObject  with Just 5 Char without any masterdata and used that in many cubes. we promoted the objects and cube to test and production systems. just couple of days back we can see the InfoObject  went to inactive status even though the version is active(not sure how it happend). This is only happens in our test system and production is working fine. when i try to activate the InfoObject  again the test system it gives me an error
    Characteristic XXXXX: Error when generating master data routines. Tried to correct in RSD5 etc. Checked in RSRV everything is fine. Tried to re-promote the object from Development system. The transport also failed with the same error even though it is in unconditional mode.
    Can you please suggest me what are the options.
    i cannot delete the object as it is used in many cubes which is having data.
    Appreciate your quick response.
    Thanks,
    Bhaskara Rao.

    If your Prod is working fine, it should work in test too.
    Did it ever worked in test after transport?
    Is it possible some one tried to change something in test? If yes, you will get error when you will try to re-transport it as new transport can't find the previous structure.
    You may try to activate the IO using FM RSDG_IOBJ_ACTIVATE
    Edited by: ashok saha on Mar 6, 2008 8:05 PM

  • Routine in infoobject level

    routine infoobject level  
    Posted: Aug 24, 2007 5:23 PM         Reply      E-mail this post 
    Hi all,
    In Transfer rule 0prodh2 is infoobject i can write routine
    prodh2 is heirarchy this filed come to data source level.
    in this 0prodh2 filed mappin to material value.
    i write routine in 0prodh2....
    TABLES: /BI0/PMATERIAL, /bic/azplan00.
    DATA: begin of itab2 occurs 0.
    include structure /bic/azplan00.
    DATA: end of itab2.
    DATA: begin of itab occurs 0.
    include structure /BI0/PMATERIAL.
    DATA: end of itab.
    $$ end of global - insert your declaration only before this line -
    FORM COMPUTE_PRODH2
    Compute value of InfoObject 0PRODH2
    in communication structure /BIC/CSZBWPLAN
    Technical properties:
    field name = PRODH2
    data element = /BI0/OIPRODH2
    data type = CHAR
    length = 000018
    decimals = 000000
    ABAP type = C
    ABAP length = 000036
    reference field =
    Parameters:
    --> RECORD_NO Record number
    --> TRAN_STRUCTURE Transfer structure
    <-- RESULT Return value of InfoObject
    <-> G_T_ERRORLOG Error log
    <-- RETURNCODE Return code (to skip one record)
    <-- ABORT Abort code (to skip whole data package)
    FORM COMPUTE_PRODH2
    USING RECORD_NO LIKE SY-TABIX
    TRAN_STRUCTURE TYPE TRANSFER_STRUCTURE
    G_S_MINFO TYPE RSSM_S_MINFO
    CHANGING RESULT TYPE /BI0/OIPRODH2
    G_T_ERRORLOG TYPE rssm_t_errorlog_int
    RETURNCODE LIKE SY-SUBRC
    ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel datapackage
    $$ begin of routine - insert your code only below this line -
    DATA: l_s_errorlog TYPE rssm_s_errorlog_int.
    select * from /BI0/PMATERIAL into itab
    where material = /BI0/PMATERIAL-prodh2
    and objvers = 'a'.
    endselect.
    RESULT = 0.
    returncode <> 0 means skip this record
    RETURNCODE = 0.
    abort <> 0 means skip whole data package !!!
    ABORT = 0.
    can any body give me solution.. or else give me sampl code..
    nag

    Hi Nag,
    you can change only RESULT
    Write code like this
    select * from /bi0/pmaterial into itab
    where objevers = 'a' and prodh2 = tran_strucutre-pordh2.
    result = itab-material
    hope thIs help

Maybe you are looking for

  • One Apple ID, 2 iMacs...separate iTune accts?

    Our family has one Apple ID and 2 iMacs. Can we have 2 separate iTunes accts, one for each iMac, w separate ID's? .... or must we sign in on both iMacs using my apple ID to purchase & redeem?  Just trying to keep 'mine' and 'theirs' separate. 

  • Sound card fails when modem taken out- no longer wo

    My OS is Windows 98 First Edition. I recently replaced an internal, PCI slot LT Winmodem and put in a USR internal, ISA slot modem. I didn't follow exact instructions for this sort of change but the Creative website says that one of their sound cards

  • GRN against Account assignment category "Q

    Dear Expert We have created the Purchase order with Account assignment category "Q"Q     Proj. make-to-order and when we take the GRN against the same line item system is pass the following entry Price difference a/c Dr By GR-IR liability a/c Credit

  • Metadata integrator-configuration problem

    hi.. i'm just exploring the meta data integrator. when i configure the cms with my login and the DI repo with the local repository. it says success. but when i run the job it says the following error.. [CrystalCrawlerMain]configuration <config_new> n

  • Content filtering after quarantine

    Hi, does anyone know if it's possible to reapply the content filtering to a mail that has been quarantine by one content filter. For example if I setup 10 content filters and the 2nd one quarantine the message because of a particular content, the adm