Dataload - evaluate two fields for a condition

Hi, I need to evaluate two different fields in a dataload rule and apply condition if true. for instance if field 1 is 600 and field 2 is 30 the change field 1 to 650.

Hello Siggi,
i have to create an delta enabled extractor for a database table.
The database table (=EAUS) contains the fields "ERDAT" and "AEDAT".
I'm a Newbie in ABAP und so i read some blogs, articles and how to do papers here.
But my tests haven't work:
1. I created a structure in SE11 for extraction. The structure contains all the of the database tabel (=EAUS)
2. Then I created a data element "ZDATE" in SE11. I integrated ZDATE in the structure.
3. Then I copied function group "RSAX" and function module "RSAX_BIW_GET_DATA_SIMPLE" in our namespace.
4. I used the copied function module as a template and adapted the coding in the function module.   The coding is from the paper "Functional Module Based Delta Enabled Generic Datasource"   
But i doesn't work. My deltaenabled generic datasource doesn't get the deltas. In RSA3 with update mode "D" no data records were selected. (I create new records in the database EAUS before I checked the extraction). The update mode "F" and "C" works.
Can you help me and send me the coding of your function module?
Many thanks!
Jan

Similar Messages

  • Two fields for generic delta

    I have to create one data source which will contain two fields for generic delta...extraction of data will be through FM.SAP provides a standard functionality to create a generic delta. This can only be build on one selected field.
    The logic of the functional module is based on two fields: ICRDT (creation date) and IUPDT (change date). The module should look for both day because when a new records is created the change date does not get populated in R3.
    Can anyone pls help me out?

    Hello Siggi,
    i have to create an delta enabled extractor for a database table.
    The database table (=EAUS) contains the fields "ERDAT" and "AEDAT".
    I'm a Newbie in ABAP und so i read some blogs, articles and how to do papers here.
    But my tests haven't work:
    1. I created a structure in SE11 for extraction. The structure contains all the of the database tabel (=EAUS)
    2. Then I created a data element "ZDATE" in SE11. I integrated ZDATE in the structure.
    3. Then I copied function group "RSAX" and function module "RSAX_BIW_GET_DATA_SIMPLE" in our namespace.
    4. I used the copied function module as a template and adapted the coding in the function module.   The coding is from the paper "Functional Module Based Delta Enabled Generic Datasource"   
    But i doesn't work. My deltaenabled generic datasource doesn't get the deltas. In RSA3 with update mode "D" no data records were selected. (I create new records in the database EAUS before I checked the extraction). The update mode "F" and "C" works.
    Can you help me and send me the coding of your function module?
    Many thanks!
    Jan

  • Dataload - Evaluate two different fields

    Hi, I need to evaluate two different fields in a dataload rule and apply condition if true. for instance if field 1 is 600 and field 2 is 30 the change field 1 to 650.

    Hi ,
    I don't want to concatenate two fields nor display it in a single field, but I want to diplay two fields 1 below the other...
    ie..If I am using write statement I would prefer,
    loop at itab.
    wirte: /2 itab-abcd,
            /2 itab-1234.
    endloop.
    my output will be:
    abcd
    1234.
    If need to use da same logic in ALV how would I use ?? hope I am little more clear now..
    Please advice
    Karthik.

  • Visibility formula for checking on two fields for deciding on visibility of row

    I have a row that has groups in it where I need to check for Risks and Issues availability and if both are not there, make the row invisible.  If either of them or both are there, go ahead and display.  I have the following expression for one of
    them and it works for the risk group but for the life of me I cannot figure out how to check for both risk and issue fields; have tried many different possibilities but it keeps telling me the syntax is invalid.  Any ideas would certainly
    be helpful. 
    =Iif(IsNothing(Fields!Risk_Title.Value),True,False)
    Cletus51

    Your statement syntax worked...thanks!  However, due to the way I have two rows structured, for the second row, in order to not display the project name twice, I had to use your statement in the negative (inverse).  Here it is.  Again, statement
    worked. 
    =IIF (Not IsNothing(Fields!Risk_Title.Value)
    and
    Not IsNothing(Fields!Issue_Title.Value) ,True,False)
    Cletus51

  • Problem in Spras field for join condition in creating new views

    Hi,
    I want to create a new view for three tables t1 t2 and t3 say.....i want to join this three tables like
    table    field         table   field
    t1      mandt     =   t2     mandt.
    t1      vkbur      =   t2      vkbur.
    And other condition is t2-spras = 'E' now.... how should i give this condition in the join condition as u have to give the other table name and the field name on the other side too..... table t1 has no filed in its table for the field spras.........so i just have to give t2-spras as 'E'. But this is throwing error...Please help

    Hi,
    1.u can specify the first thing i.e. t1 mandt = t2 mandt and t1 vkbur = t2 vkbur in the <b>join conditions</b> even if there is no relation ship b/w t1 and t2 on vkbur.simply u specify the join condition manually.
    2.for the second thing....wat u did is rite.......
    I think it will work.
    Thanks ,
    Jyothi.D
    want to create a new view for three tables t1 t2 and t3 say.....i want to join this three tables like
    table field table field
    t1 mandt = t2 mandt.
    t1 vkbur = t2 vkbur.
    And other condition is t2-spras = 'E' now.... how should i give this condition in the join condition as u have to give the other table name and the field name on the other side too..... table t1 has no filed in its table for the field spras.........so i just have to give t2-spras as 'E'. But this is throwing error...Please help

  • Creation of Customized field for  Pricing Condition tables

    Hi Friends
    I have a requirement to create a  Pricing condition table with Customized field starts with 'Z'  and
    Field length should be more than 80.
    After creating New Customized Field, system  is not allowing to create Pricing Condition table and giving error 'Too Many fields selected (larger than 100 bytes)'.
    Could you please advice how to over come this error and Maximum field to create Pricing  condition table .
    Thanks
    Ravi

    Hi there,
    Table & table attributes are defined by the ABAPers. Not by finctional consultants.
    You need to have an access key to define new tables & access sequence.
    Check with your ABAPer. He will be able to help you with that.
    Regards,
    Sivanand

  • How to include new fields for output conditions

    Dear Gurus,
    I want to maintain the field "kunag" in output condition table.But it's displaying in allowed filedcatalog but at the time of creating condition table it's not showing there.Please advice me.
    Thanks
    Hari

    HI TRY TO ADD THE FILED TO CONDITION TABLE  and refer below it may helps you
    <b>please click on the link</b>
    <a href="http://www.sap-basis-abap.com/sd/how-to-add-new-fields-to-field-catalog.htm">Adding New field</a>
    Message was edited by:
            SHESAGIRI GEDILA

  • About two fields for out puttype in Nace

    Hi all:
         there are two fileds in General Data page for setting up output type in Nace ---program and form routine, can you please explain it why use FM06AEND and CHANGE_FLAG for IDOC?
       thank you very much

    Hi Sony,
    The program can be same for different mediums (like EDi, ALE ... etc). We can have different routines for each medium seperately in the same program.
    For example: we have same program for both mediums EDI & ALE -RSNASTED
    but routines different EDI -EDI_PROCESSING,
                                      ALE-ALE_PROCESSING
    If we want to use a special medium, we should also create custom program and the routine by copying the SAP stadard prog & routines.
    Reddy

  • Query activities with two fields having OR condition

    I am building a module in c# and I need to query all activities that were (created in last 60 days OR that got completed in last 60 days). If this is possible can anyone show me how?

    Add two instances of Activity1 to your ListOfActivity array on the input of the query. The filter on the first one should be "created in last 60 days". The filter on the second one should be "created before 60 days ago AND completed in last 60 days". Make sure that both elements in the ListOfActivity array have the same fields populated.

  • Field Catalog (Output Billing) for new Condition Table

    Dear all,
    I am struggling with new Field Catalog Fields for my Condition Table
    To determine two different printers I have tried to add ERNAM (SAP author of document), and to print or not to print certain documents depending on Customer Number (Proforma and Packing list) I have tried to add KNDNR
    No matter which field I add, the system warns me "Choose the key from the allowed namespace"
    and in the Acces Sequence later on I am getting a red flag.
    So far I have gotten advise that I need to ABAP user exits, create tables and lots of tech stuff.
    I want to configure the system, not program it.
    So: Can I add fields to the Field Catalog without being an ABAPPER or can I not?
    Thanks,
    Nickelodeon

    Hi,
    You can add the field in the OUTPUT COMMUNICATION STRCTURES
    OUTPUT COMMUNICATION AREA for Billing is KOMKBV3 and the Include is KOMKBZ5.
    If you want to add the new field ERNAM then add this field from the VBRK
    Enter the field ZZERNAM in the commnication strctre KOMKBV3  in the include KOMKBZ5 in the data dictionary
    By entering the field in the Include KOMKBZ5 you automatically include it in the commnication structre KOMKBV3
    Next add the field  ZZERNAM in the communication table KOMB
    Now assign the values to the field in the FUNCTION MODULE   KOMKBV3FILL_
    Include the ZZERNAM in the field catalogue for the CONDITION TABLE of Billing documents .
    After doing this you can check the new field in the FIELD CATALOGUE in the CONDITION TABLE for OUTPUT DETERMINATION.
    Please try this for your Application area ( as i gave example for Billing documents) and revert back if you need any more details
    regards,
    santosh

  • How to include a new field for checking duplicate customer master

    Dear All
    we have activated the standard procedure to check duplicate customer master data. This is a standard procedure as below :-
    Procedure:
    Run SM30, key in Table V_T100C, select Display or Maintain, set App area F2. Here you can change current settings.
    Check the transaction OBMSG for application area F2, where these messages are maintained and at this place you can convert the message from warning to error.e user needs one more field to be added to this check.
    It is working perfectly fine but it only compares two fields for duplicates in the customer master i.e the customer city and name.
    Is there a way to include a new field in this procedure ? For example we also want the system to check duplicate entries for field name " street 5" and give a warning /error message incase if there is another entry already existing on the master data.
    regards,

    Hi
    Use the enhancement SAPMF02D to check these values.
    Regards
    Eduardo

  • Two fields of bdc programme

    hello,
    there is two fields for VORNA,NACHN i.e. firstname and last name i want to upload the data for this two fields through BDC, kindly let me know how to do the same through BDC.
    i am the beginner, this two fields i am using for testing prupose, please let me know the same in step by step with screen short then i can easily pickup.
    please do the needful at your earliest please.
    somebody already send me the sample programme of bdc i could not understanding the same, therefore please explain me in details please.
    please rreply me soon and oblige.
    thanks
    sujatha

    Hi,
    First of all, i don't think that we can post screen shots in SDN!! you should send over your mail address for that purpose.
    For BDC, do a transaction recording through transaction SHDB  to simulate whatever processing you want to do in BDC. You will get table with values similar to the program below. please adapt according to your requirements
    Try this sample code for BDC for transaction VB03,
    *Work Areas for   call transactions
      data :wa_bdcdata type bdcdata ,
            i_bdcdata  like standard table of bdcdata .
    clear  :wa_bdcdata.
      refresh:i_bdcdata.
      move: 'SAPMV13A'  to wa_bdcdata-program,
            '0401'      to wa_bdcdata-dynpro,
            'X'         to wa_bdcdata-dynbegin.
      append wa_bdcdata to i_bdcdata.
      clear wa_bdcdata.
      move: 'BDC_CURSOR'     to wa_bdcdata-fnam,
            'RV13A-KNUMA_BO' to wa_bdcdata-fval.
      append wa_bdcdata     to i_bdcdata.
      clear wa_bdcdata.
      move: 'BDC_OKCODE' to wa_bdcdata-fnam,
            '/00'        to wa_bdcdata-fval.
      append wa_bdcdata to i_bdcdata.
      clear wa_bdcdata.
      move: 'RV13A-KNUMA_BO'      to wa_bdcdata-fnam,
            '126'   to wa_bdcdata-fval.
      append wa_bdcdata   to i_bdcdata.
      clear wa_bdcdata.
      move: 'SAPMV13A'  to wa_bdcdata-program,
            '0410'      to wa_bdcdata-dynpro,
            'X'         to wa_bdcdata-dynbegin.
      append wa_bdcdata to i_bdcdata.
      clear wa_bdcdata.
      move: 'BDC_CURSOR'     to wa_bdcdata-fnam,
            'KONA-BONEM' to wa_bdcdata-fval.
      append wa_bdcdata     to i_bdcdata.
      clear wa_bdcdata.
      move: 'BDC_OKCODE' to wa_bdcdata-fnam,
            '=BUMS'        to wa_bdcdata-fval.
      append wa_bdcdata to i_bdcdata.
      clear wa_bdcdata.
      move: 'SAPMSSY0'  to wa_bdcdata-program,
            '0120'      to wa_bdcdata-dynpro,
            'X'         to wa_bdcdata-dynbegin.
      append wa_bdcdata to i_bdcdata.
      call transaction 'VBO3'     "Crt Outb.Del. w\Order Ref.
      using i_bdcdata             "structure BDCDATA
      mode 'E'.
      if sy-subrc = 0.
      endif.
    Thanks and Regards,
    Sooness

  • ADDED TWO FIELDS IN THE me49 OUTPUT

    HI i have added the two fields for field cat for the ME49 output
    could please tell me how to update those fields with the values.
        CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
          EXPORTING
            i_interface_check       = ' '                       "n1068548
            i_callback_program      = l_repid
            is_layout               = ls_layout
            i_grid_title            = l_grid_title
            i_grid_settings         = l_grid_settings
            it_fieldcat             = lt_fieldcat
            i_default               = 'X'
            i_save                  = 'A'
            is_variant              = ls_variant
            it_events               = lt_events
          IMPORTING
            e_exit_caused_by_caller = l_exit_caused_by_caller
            es_exit_caused_by_user  = ls_exit_caused_by_user
          TABLES
            t_outtab                = <outtab>
          EXCEPTIONS
            program_error           = 1
            OTHERS                  = 2.
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
    <outtab> am not able to update those values into this table.

    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
          EXPORTING
            i_interface_check       = ' '                       "n1068548
            i_callback_program      = l_repid
            is_layout               = ls_layout
            i_grid_title            = l_grid_title
            i_grid_settings         = l_grid_settings
            it_fieldcat             = lt_fieldcat
            i_default               = 'X'
            i_save                  = 'A'
            is_variant              = ls_variant
            it_events               = lt_events
          IMPORTING
            e_exit_caused_by_caller = l_exit_caused_by_caller
            es_exit_caused_by_user  = ls_exit_caused_by_user
          TABLES
            t_outtab                = <outtab>
          EXCEPTIONS
            program_error           = 1
            OTHERS                  = 2.
    hi i copied ME49 report two add two fields in the output, fields are added in the field catalogue but please tell me how to get the data into output, <removed by moderator>.Am not able to update the data into output.
    Edited by: Thomas Zloch on Oct 23, 2011 8:44 PM

  • SDIMA: Values for field SUPP_EXIST in condition table CNCCRMPRCUS801 differ

    Hi Experts,
    when checking condition records consistency between CRM and ERP via transacation SDIMA we get the following error for one of the conditon records: 'Values for field SUPP_EXIST in condition table CNCCRMPRCUS801 differ'. Can anybody explain to me where this message could come from? To my understanding field 'SUPP_EXIST' only exists in CRM condition tables for technical reason. So no way to compare this against an ERP condition table field, is there?
    And related to this: I found that this error message is triggered from method CL_CND_DIMA_CRM->COMPARE_MBDOC. As the DIMA-Compare is triggered asynchronously and just setting a break-point is no option therefore, I was wondering if anybody knows a way of debugging this method in order to find out what the coding does in detail before the message is thrown.
    Thanks a lot for your help!
    Cheers,
    Jens

    Hi Brian and the other Experts,
    thanks for your help. Unfortunately, I don't have a single record with this problem but a lot more. So it is not possible to correct this manually. Also, I would not know how to correct this anyhow as I don't understand what field in R/3 should map to field SUPP_EXIST in CRM condition tables. Let me explain:
    From my understanding, in CRM (leave aside scales) we have two database tables for each condition table, a central and a supplemental table. A condition record always creates a data record in the central table and nothing is inserted in the supplemental table in case that the fields form the supplemental table are not needed. However, when there are less common condition features involved (e.g. uppler limits), then an additional data record will be created in the supplemental table with the relevant data. And this is when field SUPP_EXIST comes into play as it is an indicator for the system that a data record exists for that condition record also in the supplemental table.
    The condition record data model in R/3 is completely different. For CRM condition table CNCCRMPRCUS801 the following tables in R/3 are involved: A801, KONH and KONP. And there is a data record for each of them for a given condition record. There is no concept of having a supplemental table as far as I understand it so where exactly would I find this SUPP_EXIST in R/3 so that I can make sure it does not deviate from the data in CRM?
    Would be great if someone could give me another hint. What am I getting wrong?
    Cheers,
    Jens

  • Is there a way to have two fields hidden from the user but active for the person receiving the form?

    I have an order form where there are two fields that the original form filler does not fill out. The person who finally receives and processes the completed form needs to fill in those two fields. I'm not sure how to handle this. Any help would be appreciated.
    Thanks,
    MDawn

    My suggestion is a folder level script, that controls the visibility of form objects.
    Only if this script is installed the fields will be visible.
    You need three things for this.
    1. The folder level script that has to be installed in the javascript folder of Acrobat or Reader:
    var ShowMeAll = app.trustedFunction(function(doc)
         app.beginPriv();
         var ShowMe = this.xfa.form.Form1.Master.ShowAllContent;
         ShowMe.rawValue = "Yes";
         app.endPriv();
    2. A hidden textfield in the form (on the masterpage for example).
    Let's say you name it "ShowAllContent".
    Put this script into it's docReady:Event.
    try
         event.target.ShowMeAll(event.target);
    catch(e)
         this.rawValue = "No";
    3. A script in the layoutReady:event of the subforms or form fields you like to show/hide depending on the presence of the folder level script.
    if (xfa.form.Form1.Master.ShowAllContent.rawValue == "Yes")
         this.presence = "visible";
    else
         this.presence = "hidden";

Maybe you are looking for

  • Trying to connect my iPhone 5s to my macbook pro

    Hi there, Im new to Mac and have just got my first macbook pro. Im trying to take advantage of the iPhone and mac feature that lets me answer and make phone calls on my macbook, and I'm having trouble connecting my iPhone and macbook together. Ive tr

  • Why do visited sites not show in my jump list? (Win 7 Ultimate).

    Even after I visit several websites, the pinned icon on my Win 7 taskbar for Firefox 21 does not show any visited websites, nor does it show tasks like "Open new tab," or "reopen last session." I just recently reinstalled, and did see my "bookmark.ht

  • How to set width of a prompt in OBIEE 11g?

    Hi, We have recently upgraded to OBIEE 11G. In 10g all our prompts were fine. After upgrade, the prompts look distracted. All the prompts are Choice Lists. The width of the prompts is varying depending on the width of the values that are coming from

  • Problem resolution video

    hi I would like to solve this problem permanently. I got pictures taken with Panasonic DVCProHD and other images taken with Canon 5D MarkIII. I placed on a timeline in premiere, the timeline that I created in DVCPROHD 1080i 25, because the main immai

  • Restore Mailbox Exchange 2013

    Hi, I'm trying to restore a mailbox from a database recovery, but after I run the command, the status of Restore always stays in Queued and does not change. Vanderlei