Dynamic control of fields being mapped

Hi
I have a requirement like , I will be getting null values for all the fields except for the fields that are to be updated. So for example, lets say there are 10 fields. Out of them , only 2 fields are to be updated . So the source will have values only for those 2 fields, remaining fields will be null. So , how do I handle this in OWB update process. I just want to update those that are sent as not null .
One way is , I can actually form the record from the source similar to the target one, and map all fields in OWB. But, this will be updating all the fields . I m trying to avoid doing this way.
I am using OWB10G against Oracle 10G. Any suggestions/ideas would be greatly appreciated.
Thanks
Balaji

Hi Balaji
You can put code like this in a filter
field1 is not null or
field2 is not null
and only connect fields 1 and 2 to the target
or you could use a splitter.
Split into the target useing a filter of field1 is not null
Split into a copy of the target useing a filter of field2 is not null
etc
ignoring the remainder
both these methods would insure only those records that need to be updated would be
you also need to use an insert/update setting on the target but I warn you that a straight merge would be faster
Chris

Similar Messages

  • Problem while using dynamic geo characteristic on a map

    Dear all,
    I'm not able to display dynamic geo characteristics on a map though I am able to display static geo chars on a map. I have done the following:
    - Define the characteristic as dynamic geo characteristic.
    - Download the Geo data from the char on my local system.
    - Edit the data and enter the value in the fields X & Y (For latitude and longitue).
    - Save the file as csv and load the master data attr file back to the system along with the value of latitude and longitue.
    - Create a query and add keep only this char in a rows.
    - Use this query as a data provider for a map web item in WAD.
    After doing this I get 'Map can not be displayed' error when I execute this web template. Is there some step I have missed here? There's no problem with the IGS because I'm able to display the queries with static geo characteristics on a map using WAD.
    Another query I have is which shape file will be used and displayed as a map in the web template in case of dynamic geo chars (I'm confused because dynamic geo chars do not allow shape files to be loaded unlike the static geo chars). I'll be grateful for any suggestions on this. Thanks in advance.
    Regards,
    Sumit

    Just follow instructions for query design for class 2 renderers (symbol, bar chart, pie chart for dynamic geo-characteristics).
    "For these renderers, the dynamic geo characteristic must appear in the related data provider in the rows. You must have also selected the Longitude and Latitude display attributes to be displayed. No other characteristics or key figures must appear in the rows. Only the first column is considered by the symbol renderers. The renderers bar chart, pie chart, and pie chart (split) consider all columns."
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm
    In my case it helped

  • Mandatory fields  for mapping in ORDERS idoc.

    Hi
    I m working on File to idoc scenario for creation of sales order in ECC 6.0 , now I want to know what are the mandatory fields in ORDERS idoc which needs to be populated or else disbaled so that the sales order gets created properly in the ECC 6.0..
    Pl let me know the method of finding mandatory field for mapping for  any idoc  and which fileds of idoc are to be disabled.
    Pl help ..
    ans will be rewarded .
    thanks & rgds
    mojib

    HI,
    U can disable the control record segment and in the IDOC adapter use the option apply control record from payload.
    If you have set the Apply Control Record Values from Payload indicator in the receiver IDoc adapter, the following fields are filled from the IDoc-XML payload:
    ·        MESCOD
    ·        MESCFT
    ·        TEST
    ·        EXPRSS
    ·        STD
    ·        STDVRS
    ·        STDMES
    ·        SNDSAD
    ·        SNDLAD
    ·        RCVSAD
    ·        RCVLAD
    ·        REFINT
    ·        REFGRP
    ·        REFMES
    ·        STATUS
    ·        DIRECT
    ·        OUTMOD
    ·        CREDAT
    ·        CRETIM
    read the information in below link:
    http://help.sap.com/saphelp_nw70/helpdata/EN/ab/bdb13b00ae793be10000000a11402f/frameset.htm
    thnx,
    chirag

  • How can I allow the application to line through a field that has been locked after being digitally signed?  We have multiple sections on a form with some fields being proposed information and other in another section having the approved information. once

    How can I allow the application to line through a field that has been locked after being digitally signed?
    We have multiple sections on a form with some fields being proposed information and other in another section having the approved information. once the approved information is entered we line through the proposed field so the data entry clerk won't pick up the wrong information.  However we are receiving an error when attempting to enter data  in the field which we have this edit.  Error property: line through cannot be set because doing so would violate the document permission setting.  any idea how we can get around this issue?

    You can control which fields are locked down after signing by setting up a collection. Then those that are not locked can be changed after signing. If this is not possible, then the line outs must occur prior to signing.

  • How to get the co-ordinates of a dynamically created input field

    Hello Frn's
    i have created a dynamic text view . but this text view is not appearing at proper position . I want palce it infront of a dynamically created input field . how can i do this ?
    as i am thinking ...i should first of all  get info about the co-ordinates of   dynamaclly creatd input field . and with respect to these co-ordinates ...set the position of  text View .
    Please suggest  your thoughts .
    Thanks and Regards
    Priyank Dixit

    Hi,
    There is no provision in WD for getting screen coordinates and then placing the UI element.
    You to add the UI element to layout editor and based on the layout type it will add the UI element to respective position.
    I would advice not to create dynamic UI elements( instead you can create them statically and then play with visibility status through context binding ). This will be more effective way and less error prone. This is also recommended practice.
    still,For dynamic creation you can refer to following wiki:
    http://wiki.sdn.sap.com/wiki/display/WDABAP/CreatingUIElementsDynamicallyinAbapWebdynpro+Application
    regards
    Manas Dua

  • Activation of Bank Control Key field (P0009-BKONT) in IT 0009

    Hi,
    We got a requirement to activate Bank Control Key field (P0009-BKONT) in IT 0009 for the Countries Barbados, Dominican Republic and Trinidad & Tobago.
    For activating this field, we copied a new screen for each country for IT 0009 and made the field P0009-BKONT as Standard in T588M (Screen Modifications). Updated the feature P0009 also.
    When checked IT 0009, Bank Control Key is not found. Again, we have added the entries for these countries in table V_T521A (Bank details: Relevance of special fields) by selecting Control Key as Relevant.
    Still no luck. Bank Control Key is not seen in IT 0009.
    Can someone help me by providing solution how to activate field P0009-BKONT for the above countries. Thanks !!

    Hi Sai,
    You mean system uses this new screen but you don't see the field on it?
    If this is npt the case and system does not select the right screen check the feature P0009 in PE03.
    Regards,
    Omid

  • Generation of Control file in OWB Mapping.

    Hi All,
    OWB config details is as follows:
    OWB 9i :9.2.0.2.8
    OWB Repository: 9.2.0.2.0
    OWB 9i Client OS: Windows XP Environment
    Oracle DB 9i Enterprise Edition 9.2.0.1.0-64 bit Production on IBM AIX machine.
    I developed mapping which involved a source file (CSV) & oracle table as target.
    Validated & Generated mapping. No error displayed.
    Configured mapping set Data File Location, Bad File Location, Log File Location (All these parameters were set to point to different directories in unix.)
    Registered all the above location in Deployment Manager.
    Deployed the mapping & executed mapping.
    I was expecting control file generated by mapping to create on unix partition, however many times it did save on my local machine on Windows XP rather than on unix. The control file created in the local directory where OWB client is installed.
    When the same mapping is executed from another machine still the file was created on my local machine.
    This was observed after I created file location for Bad file & Log file from OWB.
    Why does control file is created on local machine rather than Unix Server?
    Can someone please let me know more on this?
    Thanks in Advance.
    Regards,
    Vidyanand

    Hi Vidyanand
    You may try to register physical file location under one logical location. Then register the location with physical datafile lication. It worked for us.
    Cheers, Bana

  • How to Raise Alerts from the fields of Mapping?

    HI,
    We had a very typical requirement for our client.
    Scenarios is IDOC to multiple files else consider a simple file to file scenario.
    Source structure contains some 5 fields and the target also remains the same 5 fields.
    Assume SERNO presents in both structures.
    The issue here is i need to check for a Target SERNO field  should accept only numerical value, there is a possibilty of coming alphanumeric and sometimes with specialcharacter appended  numeric. i have developed a udf which allows only numeric.
    The mapping is getting failed if alphanumeric or special character exists in that field.
    But, the client requires an alert mentioning that this mapping is failed due to the problem in Source SERNO field so that he can easily debug and resubmit those idocs.
    I want to know is it possible to raise alerts at field levels.
    Thanks,
    --Kishore

    Hi Raja,
    This is a new development and we dont hve any Alert framework right now exist, i believe even the alert category its not possibel to drill down to the field level.
    if its possible could you please elaborate.
    We have many fileds to check as similarly defined above example SERNO, so if the alerts are triggered @ filed level that are failed that will be a great..
    My Ultimate requirement is to notify client that due to this field the mapping was occured and alert should throw some light on to locate the error at the field level.
    Please suggest how to procced..
    Thanks,
    --Kishore

  • GRC 10.01 - RCM report to be added with control relevance fields

    Hi GRC Experts,
    I
    I need to add Control relevance fields into the RCM report - Risk and control Matrix. I added through the IMG node as below:
    Governance, Risk and Compliance-->Reporting-->Maintain Report Column Settings and selected the F7 report and clicked the columns and added the fields CN_RELEVANCE and CN_RELEVANCE_T. It worked fine in the Development system.
    When I moved the transport into QA, the RCM report is not having any columns to display and it says 'Table does not contain visible columns'.
    Appreciate any help on this issue.
    Regards,
    Saran.

    Hi Ravi,
    Can you try in the following IMG path.. I never faced this, but gut feel says importing report from 000 should help
    IMG Path is Controlling > Cost Center Accounting > Information System > Standard Reports
    Regards
    Ajay M

  • Accessing Dynamic Internal table fields

    Hello All,
    I have one internal table ep_tabx having 138 columns whose data is getting displayed
    by using function module reuse_alv_grid_display.
    Now my query is, i have created one custom button on the appl toolbar to download ep_tabx data.
    IF the user changes the the layout of the output at runtime and then presses that custom button
    then i have created one dynamic internal table using call method cl_alv_table_create=>create_dynamic_table suppose <dyn_table> whose struc will be that of
    dynamic fieldcatalog returned by using FM REUSE_ALV_GRID_LAYOUT_INFO_GET.
    And then I have put a loop on the int table ep_tabx and move corresponding to the int table
    <dyn_table>. But when i download the <dyn_table> data through GUI_DOWNLOAD the
    date fields data is not getting downloaded correctly. I have 4 date fields in my ep_tabx.
    In the alv grid output the date is getting displayed like 08/30/2004(ie mon/date/yr) but in download
    file it comes like 20040830(ie yr/mon/date and that too without /).How to access the dynamic
    internal tables fields separately so asto convert them in the pgm before the download.
    Kindly Help.
    Thanks in advance.
    Mansi

    Hi,
    Search in SDN you would get loads of info on accessing dynamic itab's .
    in order to convert your date format use WRITE stmt to convert the value in your itab before passing it to download FM.
    Regards,
    Raghavendra

  • Need Help in Field Symbol for Dynamically passing  table field value

    Hi All,
    In my internal table I am having data.
    I am dynamically forming table field name and substitute for the another table field name to pass DATA.
    but I am getting the Variable name insted of Value ie Data.
    I am using Field Symbol for this.
    data:
    Field-symbols <TS> type any.
    field1 type string.
    LOOP AT TABLEFIELDS INTO WA_TABLEFIELDS.
                READ TABLE  TEST  WITH KEY NAME = WA_TABLEFIELDS-FIELDNAME.
                IF SY-SUBRC = 0.
                  CONCATENATE 'WA_' WA_TABLEFIELDS-TABNAME '-' WA_TABLEFIELDS-FIELDNAME INTO  Field1.
                  Assign Field1 to <TS>.
                    ALL_VAL-VALUE = <TS>
    "After substituting the <TS>  into ALL_VAL-VALUE  field I need a DATA to be passed but the variable name is appending"*    
             APPEND ALL_VAL.
                ENDIF.
              ENDLOOP.
    kindly how to pass the value into the table.
    Thanks in advance.
    San

    Hi,
    pls assign a break point in
    CONCATENATE 'WA_' WA_TABLEFIELDS-TABNAME '-' WA_TABLEFIELDS-FIELDNAME INTO Field1.
    Assign Field1 to <TS>.
    ALL_VAL-VALUE = <TS>
       " Put a break point here and check for the value in <TS>.
    if <TS> contains value then create a work area for ALL_VAL AND PASS the Field-Symbol to that and then  append thw wa into the table...
    Hope this works out!!
    thanks

  • How can we make a field confirm control compulsory field

    how can we make a field 'confirm control' compulsory field while creating a vendor code
    this field is under tab default data material tab while creating vendor code in purchasing org .part of vendor

    Hello,
    This can be done using the configuration..
    Go to Logistics - General >Business Partner>Vendors>Control>Define Account Groups and Field Selection (Vendor)--> and select the vendor group for which you want this field to be mandatory.
    Press details --> in the block "field status", double click Purchasing Plant and again double click Plant level purchasing data, in the second page (down), you can see the confirmation control key, that you have to make as req entry.
    If you want the conf control key to be mandatory for all the vendors groups, then you can do this by purchasing organisation level..that config node is just below this settings.
    Regards,
    Sakthi

  • Field Status control for fields at Account assignment level .

    Hi All ,
    I have to take care of enabling / disabling / hiding / making fields mandatory  for some of the standard and custom fields for SC and PO depending on the Account assignment value .
    I am not sure how to go about this .
    I think this has to do something with the field status control .
    SPRO -> IMG -> SRM sever -> cross application basic settings -> extension and field control ( personalization ) -> Configure control for fields of substructure .
    I think i have to define some dyn class and also methods .
    But not sure how to move ahead , how to declare class / methods , which super class to use , how will i get the req parameters for the methods , ...
    Will appreciate a lot if somebody can guide me on this .
    Regards,
    Ambar Patil.

    Hi ,
    Check in SPRO for SRM -> Extensions and Field Control (Personalization) -> Configure Field Control.
    The metadata configuration for enabling disabling actions/fields in SRM can be checked from the tables
    This contains the data for all the business objects
    Check in SM30 the following views:
    /SAPSRM/V_MDA_HD for Header actions
    /SAPSRM/V_MDA_IT for Item Actions
    /SAPSRM/V_MDF_HD for header fields
    /SAPSRM/V_MDF_IT fir IT fields.
    You can customize your logic for enabling diabling the actions or fields by maintaining the entries in the corresponding customer views for this data
    for e.g.
    /SAPSRM/V_MDF_HC for header customer fields 
    /SAPSRM/V_MDF_IC for item customer fields
    You need to maintain field enabled, disabled ,required based on your requirement.
    Regards,
    Neeraj

  • Number field type mapped as String

    Oracle Number field is mapped as CSTRING when using CRECORDSET class in VC++.
    Any ideas why? or what I should do?

    How big is the number column defined? ANything larger than a NUMBER(14) will map to a character string since there isn't a datatype large enough to hold say a NUMBER(30).
    Here is the mapping as I rememeber it (it is old information and may not be quite up to date with the latest drivers):
    if Scale = 0 then if Precision <= 4 then
    Number Size: Integer
    if Precision <= 9 then Number Size: Long
    Integer
    if Precision <= 15 then Number Size: Double
    if Scale > 0 then if Precision <= 15 then
    Number Size: Double
    Any other field types mapped to Text (Field
    Size = 255).

  • Coloring of Particular Cells in a dynamic internal table(field symbols)

    Hi,
         I have a requirement to introduce color into some particular cells in a dynamic internal table(Field symbol) based on some conditions.I know that color can be introduced at cell level in the case of static internal table.But, can anybody tell me whether it is possible to introduce color to particular cells in the dynamic internal table(Field Symbol) .Please suggest me on this issue.
    Thanks in advance,
    Rajesh

    Hi,
    This is the sample coding for the colour cell report.
    Kindly go through it. It will helps u.
    REPORT YMS_COLOURTEST .
    DATA: BEGIN OF TP OCCURS 10, ID, NR(8), TEXT(255), END OF TP.
    DATA: LENGTH TYPE I VALUE 8, " Length of list
    TESTSTRING(15) TYPE C VALUE '012345678901234',
    WIDTH TYPE I. " Width of list
    DATA: TXT_REPORT LIKE DOKHL-OBJECT.
    START-OF-SELECTION.
    PERFORM HEADING.
    PERFORM OUTPUT_BODY.
    FORM HEADING.
    FORMAT INTENSIFIED OFF. " Remove any INTENSIFIED
    ULINE AT (WIDTH). " Upper frame border
    FORMAT COLOR COL_HEADING INTENSIFIED." Title color
    WRITE: / SY-VLINE. " Left border
    WRITE: 'No |Colour |intensified |intensified off|',
    'inverse' NO-GAP.
    WRITE: AT WIDTH SY-VLINE. " Right border
    ULINE AT (WIDTH). " Line below titles
    FORMAT COLOR OFF.
    ENDFORM.
    FORM OUTPUT_BODY.
    DO LENGTH TIMES.
    PERFORM WRITE_LINE USING SY-INDEX.
    ENDDO.
    ENDFORM.
    FORM WRITE_LINE USING COUNT TYPE I.
    DATA: HELP(14) TYPE C,
    COUNT1 TYPE I.
    COUNT1 = SY-INDEX - 1.
    WRITE: / SY-VLINE NO-GAP.
    WRITE: (4) COUNT1 COLOR COL_KEY INTENSIFIED NO-GAP.
    WRITE: SY-VLINE NO-GAP.
    CASE COUNT1.
    WHEN '0'.
    HELP = 'COL_BACKGROUND'.
    WHEN '1'.
    HELP = 'COL_HEADING'.
    WHEN '2'.
    HELP = 'COL_NORMAL'.
    WHEN '3'.
    HELP = 'COL_TOTAL'.
    WHEN '4'.
    HELP = 'COL_KEY'.
    WHEN '5'.
    HELP = 'COL_POSITIVE'.
    WHEN '6'.
    HELP = 'COL_NEGATIVE'.
    WHEN '7'.
    HELP = 'COL_GROUP'.
    ENDCASE.
    WRITE: HELP COLOR COL_KEY INTENSIFIED NO-GAP.
    WRITE: SY-VLINE NO-GAP.
    WRITE: TESTSTRING COLOR = COUNT1 INTENSIFIED NO-GAP.
    WRITE: SY-VLINE NO-GAP.
    WRITE: TESTSTRING COLOR = COUNT1 INTENSIFIED OFF NO-GAP.
    WRITE: SY-VLINE NO-GAP.
    WRITE: TESTSTRING COLOR = COUNT1 INVERSE NO-GAP.
    WRITE AT WIDTH SY-VLINE NO-GAP.
    ENDFORM.
    Thanks,
    Shankar

Maybe you are looking for