Logical Checks

Is it possible to program/activate logical checks between fields?  i.e., if answer to question 2 is Yes, then question 3 must be completed

Yes, it's possible.
First, you can make question 2 a required field and then apply a show/hide region to make question 3 is displayed only when question 2 is Yes.

Similar Messages

  • Reg logical checks..

    Hi,
    can any one tel me how to do logical checks in BDC ???? this was an interview question...
    Regards,
    ABC XYZ

    Hi,
    You can use IF statement or CASE statement.
    Regards,
    Ferry Lianto

  • Script Logic - Check Work Status

    Hi,
    I am using the standard process chain "/CPMB/DEFAULT_FORMULAS_LOGIC" to trigger Script logic file.
    I have created some logic to clear and copy data to a targer category. I want to check the workstatus of the target category and if it is locked i want to clear/copy to fail.
    I am not sure how to go about this? I was thinking of adding the following but that is just a guess!
    TASK(/CPMB/CLEAR_SOURCE_CUBE,CHECKLCK,1)
    any advice would be helpful.
    Thanks,

    Hi,
    Ideally did want an option for the user to select option to check whether the copy should happen if the data had been locked. Have done this via the standard COPY package.
    Can this be done with the script logic e.g. using paramters in the package?
    Or if you create a script logic file does it always check the workstatus?
    thanks

  • BAdI - HRPAD00INFTYBL - IT business logic checks

    Hello,
    I was wondering if any of you have used BAdI/Enhancement Spot HRPAD00INFTYBL?
    It is used to perform checks on infotype entry made through the HRPA series of infotype logic classes (which are used extensively in ESS as in most newer HR developments).
    I'm using an ECC6 system.
    Does anyone have any advice regarding the use of this BAdI, it looks perfect for my needs, but I'd be very interested in anyone having more information than is provided by the example implementation class.
    Thanks,
    Chris

    Hi Chris,
    I am trying to add a custom validation on the mobile number (IT0105 - 9004 subtype) when entered through "CHANGE OWN DATA" from ESS.
    I have implemented the BADI "HRPAD00INFTYBL"  method ~MODIFY_COMPUTATIONS and activated the implementation.
    but when i enter the values for my mobile number this BADI implementation method is not getting triggered.  The documentation says this is the one Method that i should be using but i couldnt succeed.
    As you have alredy done this, Can you please guide me if I am missing something or do i need to do anything else ( i may be sounding crazy in asking this... but I am new to ESS technical parts) becoz the other classical BADI that i used for same validation using PA30 is working fine...
    Appreciate your valuable inputs and thanks in advance..
    Regards,
    Lakshmi

  • Authority-check logic

    Hi ppl,
    I have a sales org field on the selection screen for which I have to check the authorization.
    The field name is s_vkorg (as a select-option).
    I am using the below logic to check for the sales org authorization:
      AUTHORITY-CHECK OBJECT 'V_VBAK_VKO'
               ID 'VKORG' FIELD s_vkorg
               ID 'VTWEG' DUMMY
               ID 'SPART' DUMMY
               ID 'ACTVT' FIELD '03'.
    My query is that will this logic check for all the sales orgs entered by the user OR should I loop at s_vkorg and write the logic as:
    loop at s_vkorg.
      AUTHORITY-CHECK OBJECT 'V_VBAK_VKO'
               ID 'VKORG' FIELD s_vkorg-low
               ID 'VTWEG' DUMMY
               ID 'SPART' DUMMY
               ID 'ACTVT' FIELD '03'.
    endloop.
    Please help.
    Thanks,
    Dawood.

    u have to do authorisation check aftr u have fetched all the sales organisation into one internal table..
    like..
    select vkorg from tvko
                       into table it_vkorg
                       where vkorg in s_vkorg.
    loop at it_vkorg into wa_vkorg.
    AUTHORITY-CHECK OBJECT 'V_VBAK_VKO'
    ID 'VKORG' FIELD wa_vkorg-vkorg
    ID 'VTWEG' DUMMY
    ID 'SPART' DUMMY
    ID 'ACTVT' FIELD '03'.
    endloop.

  • Logic to check batch number using user exit

    hi friends,
    I wanted to know if the below checking logic can be implemented in transaction MIGO at the time of good receipt. Is it possible to implement this checking logic using enhancements. if so are there any USER EXITS or BADI for this?
    PFB the checking logic
    Checking logic:
    Example: Existing Batch No. for a material is available as 10, 20, 30 and 50.  If the batch No. 40 is entered for any new GR, system should show an information message since the current batch number 40 is earlier than the last available batch ie., 50.
    thanks and regards,
    vinod

    Hi Vinod,
    You can implement the badi MRM_HEADER_CHECK if it is a header related data and we can raise the messages too.
    Hope it solves your issue.
    Siva

  • Parameter ' check logical ' question

    Hello,
    in the rman backup and recovery reference 10gR2, it says for the check logical parameter for backup:
    If the initialization parameter DB_BLOCK_CHECKSUM=TRUE, and if MAXCORRUPT and NOCHECKSUM are not set, then specifying CHECK LOGICAL detects all types of corruption that are possible to detect.
    But there is no description for the alternative of DB_BLOCK_CHECKSUM=FALSE.
    Now Ct. wants to know: What does check logical check if this parameter is not set to true?
    Ct. wants to check all kinds of corruption which is checkable by rman.
    regards
    Ulli

    Without the CHECK LOGICAL clause, RMAN will perform 2 types of validation in the cache layer of the datablock: block checksum and head/tail verification. When you add CHECK LOGCIAL clause, we perform additional checks in the transaction and data layer of the block which will add to the the processing time.
    However, a delay of 3.2 times seems a bit of higher side. You might want to check for the CPU/IO utilization on the machine. If you have idle CPU, you may consider adding more channels. Look out for v$backup_async_io.LONG_WAITS, if the number is high, IO is slow.
    It is also possible that due to the additional checks, RMAN is not able to fill the output buffer as fast as earlier. In that case, consider increasing multiplexing (FILESPERSET / MAXOPENFILE)

  • Greater Than Function in Script Logic File

    BPC Experts,
    I've got a pretty simple script logic file to calculate salary amounts, overtime, etc.  The purpose of this logic is for forecasting.  I have two referenced dimensions, TIME and SCENARIO, where TIME.MONTHNUM is equal to its relative month number (eg: Jan monthnum = 1), and SCENARIO.CURRMONTH is equal to the relative amount of actual months data, (eg Jan currmonth = 0, Feb = 1) because if you are completing a February forecast, you have one month of actual.
    The ACTUAL scenario is never touched, but after a month closes, we copy the ACTUAL data to, for example, FEB_FCST.  So, after January closes, its actuals are copied to the FEB_FCST scenario so we can complete an actual/forecast (one month actual, 11 months forecast).
    Currently, the default logic skips anything in the ACTUAL scenario, by stating "*WHEN SCENARIO, *IS <> "ACTUAL" yada yada yada.
    However, when the default logic runs on the forecast scenarios, it takes the same inputs from the months that are copied over from the ACTUAL scenario and adds to the original amount, essentially doubling the value--ultimately causing an incorrect actuals number in the forecast scenario.
    My script right now looks like this:
    *XDIM_MEMBERSET DATASRC=INPUT
    *XDIM_MEMBERSET PRODUCT=NO_PRODUCT
    *XDIM_MEMBERSET SHIFT=NO_SHIFTS
    *XDIM_MEMBERSET MEASURES=PERIODIC
    *WHEN SCENARIO
    *IS <> "ACTUAL"
         *WHEN TIME.MONTHNUM
         *IS > SCENARIO.CURRENTMNTH
              *WHEN ACCOUNT
              *IS "SALARIED_MANPOWER"
                   *REC(EXPRESSION=((([ACCOUNT].[SALARIED_AVG_WAGE] * (1 + [ACCOUNT].[SALARY_TIMEAHALF]))* [ACCOUNT].[SALARIED_MANPOWER])),ACCOUNT="01100")
              *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *COMMIT
    When it hits line 9 (*IS > SCENARIO.CURRENTMNTH) during validation, it errors.  How can I use a "greater than" function to dictate whether or not a given scenario should run default logic on a specific month?
    If not, is there a different/better way to do it?
    Thank you!
    ABF

    Hi Alex
    Take this sample logic, check the properties in your Time dimension to trouble shoot your issue.
    *SELECT(%CAT_VAR%, "ID", CATEGORY, ID= PLAN_APRIL)
    *XDIM_MEMBERSET CATEGORY = ACTUAL, PLAN, %CAT_VAR%
    *SELECT(%CATMTH%, "STARTMTH", CATEGORY, ID= %CAT_VAR%)
    *SELECT(%ACT_PERIOD%, "ID", TIME, MONTHNUM < %CATMTH% AND  LEVEL = MONTH AND YEAR = 2010)
    *SELECT(%PLAN_PERIOD%, "ID", TIME, MONTHNUM >= %CATMTH% AND LEVEL = MONTH AND YEAR = 2010)
    *XDIM_MEMBERSET TIME= %ACT_PERIOD%
    *XDIM_MEMBERSET CATEGORY=ACTUAL
    *WHEN CATEGORY
    *IS ACTUAL
    *REC(EXPRESSION=%VALUE%, CATEGORY = %CAT_VAR%)
    *ENDWHEN
    *XDIM_MEMBERSET TIME= %PLAN_PERIOD%
    *XDIM_MEMBERSET CATEGORY=PLAN
    *WHEN CATEGORY
    *IS PLAN
    *REC(EXPRESSION=%VALUE%, CATEGORY = %CAT_VAR%)
    *ENDWHEN
    Thanks

  • BUDGET LOGIC  TO BE IMPLEMENTED AT WBS LEVEL WITH 10% TOLERANCE

    Budget Logic check at each WBS level allowing 10% tolerance and the project level budget to remain constant
    The project structure or the project hierarchy is not fixed. The requirement is that the  released budget should be allowed 10% above the present released budget.  Also despite this change the budget at the project level should remain constant. The 10% surplus has to be adjusted from the other WBS if they have spare budget and if thereu2019s no surplus budget in any WBS then the system should throw an error. Available budget has to be checked against the PR/ PO creation each time so ensure that Purchase is not made in excess to the budget allocated. Procurement happens thru MM/PS both
    Please advice

    You can activate Budget availibility control aginst Overall Budget / Released Budget.
    Infact,  Budget availability control functionality is designed at WBS level only.
    All you need to do is create required Budget profile  and assign the same to your project profile.
    For detail please refer  this link
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/e0/c4a637f39a6a66e10000009b38f889/frameset.htm
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/d5/74a9371c726343e10000009b38f842/frameset.htm
    Regards
    Nitin

  • Duplicate check while mapping

    Hello,
    I have a source message with 2 fields headerID and DetailID.
    The target is an IDoc structure with below snippet.
    Segment E1E337
         HeaderID
          Sub-Segment E1E440
              DetailID
    HeaderID and DetailID in the IDoc segments are mapped to the sources structure fields accordingly.
    When there are 6 messages, I am able to see an IDoc with 6 E1E337 segments. This works fine.
    I need to insert the following logic:
    Check and create the segment E1E337 as long as the values of HeaderID and DetailID are unique. There should not be two E1E337 segments which have the same value for HeaderID and DetailID.
    I think this needs a UDF. Can someone assist as to how this needs to be done.
    Thanks,
    Murali

    Hi ,
    Use the below logic
    Regards
    Venkat

  • Checking for a specific shared printer

    I have a script that adds shared printers to a print server by passing arguments into it via a CSV file.  This normally works fine, but I need to validate that the printers actually got created afterwards, so I'm attempting via powershell to check for
    the existence of a printer on a specific print server.
    I've read another thread that has partway lead me down the path I think I need. What that has given me thus far is the following:
    gwmi win32_printer -filter "name='PrinterName'"
    2 issues with this.  When I run this from the prompt it shows information for the printer in question then seems to hang rather than return to the prompt.  The data returned is: Location, Name, PrinterState, PrinterStatus, Sharename, & SystemName,
    then this is where it hangs.  When I cancel via <CTRL+C> I get the following:
    Get-WmiObject : Out of memory
    At line:1 char:5
    + gwmi <<<< win32_printer -filter "name='PrinterName'"
    + CategoryInfo : InvalidOperation: (:) [Get-WmiObject], ManagementException
    + FullyQualifiedErrorId : GetWMIManagementException,Microsoft.PowerShell.Commands.GetWmiObjectCommand
    So I'm not certain how to deal with the 'hang' & subsequent error.  Also I really want to reach a Boolean type of value where I can have the scripts take action on whether its there or not.  So that the code would follow the following logic:
    Check for Printer1 on ServerA
    If Printer1 exists on ServerA - do This
    If Printer1 does NOT exist on ServerA - do something else
    Any assistance appreciated!
    # When I wrote this script only God & I knew what I was doing.
    # Now, only God Knows!
    don't retire technet http://social.technet.microsoft.com/Forums/en-US/e5d501af-d4ea-4c0f-97c0-dfcef0192888/dont-retire-technet?forum=tnfeedback

    Hi Wasisname,
    In addition, to solve System.OutOfMemoryException error, please try to configure the memory for Windows PowerShell:
    set-item wsman:localhost\Shell\MaxMemoryPerShellMB 2048
    Reference from:
    Learn How to Configure PowerShell Memory
    If you have any feedback on our
    support, please click here.
    Best Regards,
    Anna Wang
    TechNet Community Support  

  • Which is a better source for an Indicator, physical or logical

    Hi guys,
    this is something I was wondering -
    which is better for filtering out a value? (for example to Count measures with certain Indicator equal to Yes).
    A) Logical (check "Use existing logical columns as the source") and the use something like CASE Logical table.Indicator Measure When 'YES' Then 1 END
    or
    B) Physical (create a column and in Data Type select the Column mapping and map as
    CASE Physical table.Indicator Measure When 'YES' Then 1 END
    Physical table is the same.
    I know, it's always best to push things to DB back. But in this case, it'd be the same, it doesn't appear to me which option is better at this point.
    By the way, both of them work.
    Thanks
    Message was edited by:
    wildmight

    Both should be same. You can verify this by checking the physical sql generated by using both methods. Most likely they would be same.

  • Logic need for my selection screen

    Hi,
    i designed my selection screen
    PARAMETERS:
      rb_alv   RADIOBUTTON GROUP g2,                                                        " Radio 1
      rb_pc    RADIOBUTTON GROUP g2,                                                        " Radio 2
      rb_unix  RADIOBUTTON GROUP g2.                                                        " Radio 3
    *File path
    PARAMETERS: pa_ftxt TYPE rlgrap-filename.
    Below isMy requirement is :How to do it???please help
    Do not hard-code the directory output for Unix. Just make sure the selection logic checks to make sure a value exists in the path field if either download option (pc/unix) is set). For the PC default, use u2018c:\temp\veninfo.txtu2019 as a constant.
    Thanks
    asis

    PARAMETERS:
    rb_alv RADIOBUTTON GROUP g2 user-command 'RAD', " Radio 1
    rb_pc RADIOBUTTON GROUP g2, " Radio 2
    rb_unix RADIOBUTTON GROUP g2. " Radio 3
    *File path
    PARAMETERS: pa_ftxt TYPE rlgrap-filename.
    at selection-screen output.
    if rb_pc = 'X'.
    pa_ftxt = 'c:\temp\veninfo.txt'.
    else.
    clear pa_ftxt.
    endif.
    at selection-screen on value request for pa_ftxt.
    CALL FUNCTION 'F4_DXFILENAME_TOPRECURSION'
    EXPORTING
    i_location_flag = 'A'
    i_server = ' '
    i_path = ' ' "here you can give the path of the server directory
    IMPORTING
    o_path = l_path
    abend_flag = l_abend_flag
    EXCEPTIONS
    communication_failure = 1
    system_failure = 2
    rfc_error = 3.
    IF sy-subrc EQ 0.
    p_file = l_path.        "This gives you the path
    ENDIF.
    IF l_abend_flag = 'X'.
    EXIT.
    else.
    Move l_path to your screen field pa_ftxt.
    ENDIF.

  • Logical block corruption

    Hi all,
    i have database 11.2.0.1.0 on linux 5. on this database we found so many block corruption with are related to indexes.
    some of the indexes rebuiled, and rebuilded indexes are working fine. But we have so many indexes corrupted.
    SQL> select count(*) from v$database_block_corruption;
    COUNT(*)
    2347
    SQL>
    i verified by from RMAN logical check also.
    if i keep on rebuilding these indexes it will take long time and maily may impact on performance.
    Could you please suggest what is the best possible ways to get out from this.
    thanks a lot.

    899329 wrote:
    Hi all,
    i have database 11.2.0.1.0 on linux 5. on this database we found so many block corruption with are related to indexes.
    some of the indexes rebuiled, and rebuilded indexes are working fine. But we have so many indexes corrupted.
    SQL> select count(*) from v$database_block_corruption;
    COUNT(*)
    2347
    SQL>
    i verified by from RMAN logical check also.
    if i keep on rebuilding these indexes it will take long time and maily may impact on performance.
    Could you please suggest what is the best possible ways to get out from this.
    thanks a lot.Replace the sick disk.

  • Backup and Logical Corruption

    Hello,
    I am running a backup and checking for any logical corruption -
    RMAN> backup check logical database;
    Starting backup at 03-MAR-10
    allocated channel: ORA_SBT_TAPE_1
    channel ORA_SBT_TAPE_1: SID=135 device type=SBT_TAPE
    channel ORA_SBT_TAPE_1: Data Protection for Oracle: version 5.5.1.0
    allocated channel: ORA_SBT_TAPE_2
    channel ORA_SBT_TAPE_2: SID=137 device type=SBT_TAPE
    channel ORA_SBT_TAPE_2: Data Protection for Oracle: version 5.5.1.0
    allocated channel: ORA_SBT_TAPE_3
    channel ORA_SBT_TAPE_3: SID=138 device type=SBT_TAPE
    channel ORA_SBT_TAPE_3: Data Protection for Oracle: version 5.5.1.0
    channel ORA_SBT_TAPE_1: starting full datafile backup set
    channel ORA_SBT_TAPE_1: specifying datafile(s) in backup set
    input datafile file number=00014 name=/oracle1/data01/TESTDB/TESTDB_compress_test_01.dbf
    input datafile file number=00006 name=/oracle/TESTDB/data01/TESTDB_shau_01.dbf
    input datafile file number=00015 name=/oracle/product/11.1/dbs/ILM_TOOLKIT_IML_TEST_TAB_A.f
    channel ORA_SBT_TAPE_1: starting piece 1 at 03-MAR-10
    channel ORA_SBT_TAPE_2: starting full datafile backup set
    channel ORA_SBT_TAPE_2: specifying datafile(s) in backup set
    input datafile file number=00003 name=/oracle/TESTDB/data02/TESTDB_undo_01.dbf
    input datafile file number=00013 name=/oracle/TESTDB/data01/TESTDB_roop_01.dbf
    input datafile file number=00012 name=/oracle/TESTDB/data01/TESTDB_example_01.dbf
    input datafile file number=00005 name=/oracle/TESTDB/data01/TESTDB_sysaud_tab_1m_01.dbf
    channel ORA_SBT_TAPE_2: starting piece 1 at 03-MAR-10
    channel ORA_SBT_TAPE_3: starting full datafile backup set
    channel ORA_SBT_TAPE_3: specifying datafile(s) in backup set
    input datafile file number=00004 name=/oracle/TESTDB/data01/TESTDB_users_01.dbf
    input datafile file number=00001 name=/oracle/TESTDB/data01/TESTDB_system_01.dbf
    input datafile file number=00002 name=/oracle/TESTDB/data01/TESTDB_sysaux_01.dbf
    input datafile file number=00025 name=/oracle/export_files/TESTDB_users_02.dbf
    channel ORA_SBT_TAPE_3: starting piece 1 at 03-MAR-10
    channel ORA_SBT_TAPE_3: finished piece 1 at 03-MAR-10
    piece handle=5ul7ltsd_1_1 tag=TAG20100303T204356 comment=API Version 2.0,MMS Version 5.5.1.0
    channel ORA_SBT_TAPE_3: backup set complete, elapsed time: 00:05:15
    channel ORA_SBT_TAPE_2: finished piece 1 at 03-MAR-10
    piece handle=5tl7ltsd_1_1 tag=TAG20100303T204356 comment=API Version 2.0,MMS Version 5.5.1.0
    channel ORA_SBT_TAPE_2: backup set complete, elapsed time: 00:06:56
    channel ORA_SBT_TAPE_1: finished piece 1 at 03-MAR-10
    piece handle=5sl7ltsd_1_1 tag=TAG20100303T204356 comment=API Version 2.0,MMS Version 5.5.1.0
    channel ORA_SBT_TAPE_1: backup set complete, elapsed time: 00:08:16
    Finished backup at 03-MAR-10
    Starting Control File and SPFILE Autobackup at 03-MAR-10
    piece handle=c-2109934325-20100303-0c comment=API Version 2.0,MMS Version 5.5.1.0
    Finished Control File and SPFILE Autobackup at 03-MAR-10
    Question: By looking at the output, how can I say that RMAN did an Logical Check for the corruption? This output looks same as a simple backup without logical corruption check. Please advice how to check about this?
    Thanks!

    hi
    I think you won't see any summary on this, only when corruption is found.
    There is also one related setting that can be incorporated here - see example:
    Example 2-25 Specifying Corruption Tolerance for Datafile Backups
    This example assumes a database that contains 5 datafiles. It uses the SET MAXCORRUPT command to indicate than no more than 1 corruption should be tolerated in each datafile. Because the CHECK LOGICAL option is specified on the BACKUP command, RMAN checks for both physical and logical corruption.
    RUN
    +{+
    SET MAXCORRUPT FOR DATAFILE 1,2,3,4,5 TO 1;
    BACKUP CHECK LOGICAL
    DATABASE;
    +}+
    use this to see clear output:
    -- Check for physical corruption of all database files.
         VALIDATE DATABASE;
    -- Check for physical and logical corruption of a tablespace.
         VALIDATE CHECK LOGICAL TABLESPACE USERS;
    eg.
    List of Datafiles
    File Status Marked Corrupt Empty Blocks Blocks Examined High SCN
    +1 FAILED 0 3536 57600 637711+
    File Name: /disk1/oradata/prod/system01.dbf
    Block Type Blocks Failing Blocks Processed
    Data       1              41876
    Index      0              7721
    Other      0              4467

Maybe you are looking for

  • Make quantity field of Free goods as non-editable.

    Hie! I have free goods scheme of 9 + 1 .If quantity of main material is 10 then it will split into 9 + 1 where 1 is free of cost. While making the sales order the free goods quantity field is editable. So the users are able to change the free goods q

  • How do I find out what app is connecting to the internet

    Something on my iPhone 4 (fully updated) is constantly trying to connect to the internet via 3G, costing me a lot of money when I am not connected via WLAN! I can't work out what it is, but presume it is an app. How can I find out what is doing it? I

  • My iPod Mini has absolutely no Audio

    I have tried everything (5 r's included) and no dice. Everything works fine but just no sound. I have tried 3 different headphones and also speakers. Any ideas???

  • Oracle R12 on Windows Server 2008

    Hi - does anyone have a good guide or link to a site that does a walk through of installing Oracle R12 on Windows Server 2008? Thanks!

  • ORA-01720 when  in procedure, OK  when GRANT directly invoked

    I created quite a number of views. The views use some tables in another schema. Now I have to "GRANT SELECT" this views to some other user. Firstly I did this directly from sqldeveloper (and/or squirrel) without any problems. But because this is a lo