Validation Exit Issue

Dear All ,
1. I am using a user exit  program (ZRGGBS000 copied from RGGBS000)
2. I created a validation in which
prerequisite------> true 
check----
>U100 (in the exit I im returning the value of B_RESULT as F)
After all these steps my exit is not getting called during the validation.
Can anyone please help me with the same?

solved by self

Similar Messages

  • FI Validation Exit: how to disable system standard message "Correct the..."

    Hi,
        I had setup a FI validation exit. In the source code of this validation, I raise an error message, if any. For example:
        LOOP AT t_messages_return.
          MESSAGE ID t_messages_return-id TYPE  t_messages_return-type
                     NUMBER t_messages_return-number
                     WITH t_messages_return-message_v1
                             t_messages_return-message_v2
                             t_messages_return-message_v3
                             t_messages_return-message_v4.
        ENDLOOP.
       The validation is working fine, and it's not allowing user to continue document posts while error exists. The problem is that between my custom message error display and system come back to input screen, there's a popup raised by standard code:
      "Correct the error reported before on the next screen".
       User doesn't want this message being displayed, since it's an Information Message (like i000). Is there any way to disable this message ? It's raised by standard code just after my custom message code...
    Thanks
    Rodrigo

    Is the user exit used in defining validation step in Tx:GGB0?
    It's not good practice to issue error message in validation user exits, because document postig transactions are used in BDC sessions by SAP standard FI programs.
    Instead of raising error in user exit, set B_RESULT = B_FALSE and issue generic message in message part of validation.
    Check the validation definition in GGB0, message you are gettinin might be defined in the validation, removing it might not show the message.
    Regards
    Sridhar

  • Update Bool_data during validation exit

    Hello Experts,
    Is it possible to update the Bool_data fields during validation Exit ? I tried Update and Modify but not working.
    Example,
    Lv_text = 'TEST01'.
    Bool_data-bseg-sgtxt = Lv_text.
    so after posting, we will find the FI document line item text = TEST01.
    I do not want to use substitution, so please avoid that
    Thank you

    Hello Krishna,
    You can not during a Validation Exit update the Bool_data fields.
    To do so, SAP have created substitutions.

  • Help needed on Validation exit GGB0

    Hi Guys,
    Pls suggest how can i go about using exit validation for callup point 3(complete document level).
    i am trying to call form U101, but its not getting called.
    below is the code for this form.
          FORM U101                                                      *
          Example of an exit using the complete data from one            *
          multi-line rule.                                               *
          This exit is intended for use from callup point 3, in FI.      *
          If account 400000 is used, then account 399999 must be posted  *
          to in another posting line.                                    *
    -->  BOOL_DATA   The complete posting data.                         *
    <--  B_RESULT    T = True  F = False                                *
    FORM u101 USING    bool_data TYPE gb002_015
              CHANGING b_result.
      DATA: b_acc_400000_used LIKE d_bool VALUE 'F'.
    Has account 400000 has been used?
    LOOP AT BOOL_DATA-BSEG INTO BSEG
                    WHERE HKONT  = '0000400000'.
        B_ACC_400000_USED = B_TRUE.
        EXIT.
    ENDLOOP.
    Check that account 400000 has been used.
    CHECK B_ACC_400000_USED = B_TRUE.
    B_RESULT = B_FALSE.
    LOOP AT BOOL_DATA-BSEG INTO BSEG
                    WHERE HKONT  = '0000399999'.
        B_RESULT = B_TRUE.
        EXIT.
    ENDLOOP.
    lemi knw the process to call validation exit at complete document level (callup point 3).
    actually i am not able to pass parameter bool_data. plz suggest wht do v do for tht.
    Rgrds,
    Prash
    Edited by: Prashant Malik on Sep 11, 2008 12:00 PM

    Hi Prash,
    in ZGGBR000 (copy of RGGBR000) you have to add your exit to internal table exits e.g.
    Einfügen von U535 NB20081022
      exits-name  = 'U535'.                                     "NB20081022
      exits-param = c_exit_param_class.                         "NB20081022
      exits-title = text-535.                                   "NB20081022
      APPEND exits.                                             "NB20081022
    The value c_exit_param_class for exits-param will provide you after creating the step in validation (transaction GGB=) below coding for the call of the exit in my exmaple in include GBTASFIF. With the vlaue c_exit_param_none it doesn't work. I did the same error.
    FORM VALCHCK_2FI_BELG003
             USING
               BOOL_DATA
             CHANGING
               RES000.
      DATA:  RES001 LIKE D_BOOL.
          Exit-Evaluation :RES000                                       *
      RES000     = B_TRUE.
      PERFORM U535(ZGGBR000)
                    IF FOUND
                  USING
                    BOOL_DATA
                  CHANGING
                    RES000.
    ENDFORM.                               " VALCHCK_2FI_BELG003
    Hope that solved your problem.
    Regards
    Norbert

  • Validation for issue for production not working

    hi all,
    i have designed database validation for issue for production  .
    by default SAP gives error  if instock is less than the quantity to be issued.
    My Clients requierment is whlie issuing item for production, row level item quantity should not be greater than the instock of a warehouse selected for that item in row level.
    while in case of sap default validation it considers all the instock of item from all the warehouse and i want to consider only those stock  of warehouse whih is selected for the item at row level.
    my validation is as follows but it gives error for all cases.
    IF @transaction_type in ('A','U') AND @object_type = '60'
    BEGIN
    declare @line as numeric(4)
    declare @dline as numeric(4)
    declare @ritem as nvarchar(50)
    declare @bref as nvarchar(50)
    select @bref= T1.[BaseRef] from OIge T0 left outer JOIN
    Ige1 T1 ON T0.DocEntry = T1.DocEntry
    left outer join oitm t2 on t2.itemcode=t1.itemcode
    left outer join  OITW T3 on t3.whscode=t1.whscode and t3.itemcode = t1.itemcode
    where T1.docentry=@list_of_cols_val_tab_del
    set @dline=0
    select @line= isnull(max(t1.linenum),0)
    from OIge T0 left outer JOIN
    Ige1 T1 ON T0.DocEntry = T1.DocEntry
    left outer join oitm t2 on t2.itemcode=t1.itemcode
    left outer join  OITW T3 on t3.whscode=t1.whscode and t3.itemcode = t1.itemcode
    where t1.docentry= @list_of_cols_val_tab_del
    while @dline<=@line
    begin
    select @ritem= t1.itemcode from OIge T0 left outer JOIN Ige1 T1 ON
    T0.DocEntry = T1.DocEntry
    left outer join oitm t2 on t2.itemcode=t1.itemcode
    left outer join OITW T3 on t3.whscode=t1.whscode and t3.itemcode = t1.itemcode
    where T0.DocEntry = @list_of_cols_val_tab_del and
    t1.linenum=@dline
    if exists (SELECT T0.DocEntry
    from OIge T0 left outer JOIN Ige1 T1 ON T0.DocEntry = T1.DocEntry
    left outer join oitm t2 on t2.itemcode=t1.itemcode
    left outer join OITW T3 on t3.whscode=t1.whscode and t3.itemcode = t1.itemcode
    where T0.DocEntry = @list_of_cols_val_tab_del and
    t1.linenum=@dline and t1.itemcode in (@ritem) and t3.onhand < t1.quantity )
    BEGIN
    SELECT @Error = 1, @error_message = 'less quantity'
    END
    set @dline=isnull(@dline,0)+1
    set @ritem=' '
    end
    END
    pls suggest solution...

    Iu2019m sorry. The error was that the tables contain the data after the transaction. So try this:
    IF @object_type = '60' and @transaction_type= 'A'
    and (Select top 1 j.BaseType from IGE1 j
          Where j.DocEntry = @list_of_cols_val_tab_del)=202
    BEGIN
    if exists
    (Select i.DocEntry from IGE1 i
       Where i.DocEntry = @list_of_cols_val_tab_del
        and (select w.OnHand from OITW w
            where w.ItemCode=i.ItemCode and w.WhsCode=i.WhsCode)<0 )
    Begin
    set @error =1
    set @error_message = 'Less quantity in the warehouse !'
    End
    END

  • Not a Valid Month Issue

    Hi,
    When i execute an insert statement i get ORA-01843 not a valid month error.
    below is the SQL i try to execute in SQLPlus;
    Insert into IKD$TA_L_FACHL_SCHRITT (FACHL_SCHRITT_ID, FACHL_SCHRITT_TEXT, VALID_FROM, VALID_TO) values (1,'LOAD_STG_TMD_ZUSATZDATEN' ,'19.08.2008','31.12.9999');
    However if i execute the same in Oracle SQL developer it is working fine. Can someone please suggest what could be the reason for error in SQL PLUS ?
    I suspect this to be the NLS_DATE_FORMAT setting issue, please correct if im wrong.
    Thanks

    Hi,
    Never use a VARCHAR2 where a DATE is needed.
    Use TO_DATE (with 2 arguments) to convert a VARCHAR2 to a DATE when necessary.
    For example:
    Insert into IKD$TA_L_FACHL_SCHRITT
           ( FACHL_SCHRITT_ID, FACHL_SCHRITT_TEXT,             VALID_FROM,              VALID_TO)
    values ( 1,             'LOAD_STG_TMD_ZUSATZDATEN' , TO_DATE ( '19.08.2008'
                                                             , 'DD.MM.YYYY'), TO_DATE ( '31.12.9999'
                                                               , 'DD.MM.YYYY)
           );The problem with implicit conversions is that they don't necessarily use the format you want them to.
    Always use an explicit conversion function, and specify the format.

  • DMS Document Validity date issue.

    Hello All,
    I have an issue in DMS Valid from Date & Valid to date as below.
    In our Document type when our document status is set to OB i.e. obsolete, in front of the status, system is showing two dates like 22.01.2014 to 31.12.9999.
    We are not using change number functionality in this document type. But still system is showing two dates. When document is in RE i.e Release status system is showing 22.01.2104... date in front of the status.
    Could you please let us know why it is showing two dates in front of document status.
    Thanks

    Hi,
    from my point of view I can inform you that these dates are validity dates for the document. Normally these dates are filled when the document is released to show which version of the document is valid or was valid in a specific period.
    By using menu "Extras" >> "Versions". Here a list of all versions should be displayed and the columns "Valid From" and "Valid to" should show the validity dates.
    Normally these date values are only filled when the status has set the "release" flag in transaction DC10.
    Best regards,
    Christoph

  • Validation exit at F-43/FB60 Payment method

    Hi
    I have requirement where at the time of Vendor invoice(F-43/FB60) if user enters a payment method other than what is there on the Vendor master data the system should throw up a warning message.
    Has someone worked around this area?
    Can this be achieved through validation or do I have to go for an Exit? Can you give me the relevant exit ?
    Thanks in advance.
    Dasaradh

    Hi,
    Good morning and greetings,
    You can try using the following function modules
    BPP1                          
    BPAR_P_FI_PAYMENT_METHOD      
    F028                          
    PAYMENT_METHOD_CHECK          
    TB26                          
    TB_PAYMENT_METHODS_CHECK      
    You can copy one of these function module to a bespoke FM and then activate it using FIBF (P&S Method) to do the check at the time of doing FB60 or F-43.
    Please reward points if found useful.
    Thanking you,
    With kindest regards
    Ramesh Padmanabhan

  • Sick Quota validity/ded. issue

    Hello,
    Can you guys please help me with this issue..
    we have only one sick quota and , and its validity periods are set as year to year (validity beginning of year and deduction as end of year)..
    but, we have 2 rules for new hires... for one group.. they should get quota on hire date valid thru end of year.. and for other group the quota should start after 3 months of service to end of the year. all other people with more than 1.5 yrs of service will have the quota validity and deduction dates from beginning of the year.
    so how to have different validity/ded periods of one quota type..
    Annmarie.

    here
    we can divide it into three parts
    for nornal hireing period if u want to generate the quota
    >u can check the Pro rata option in the accural period
    for the second one
    Run the Programme RPTQTA00 once only when he comepletes the 3 months of service
    for the last one also we can do same as manually
    if this is not possible thru standrad the only option is to change the code of RPTQTA00
    but check above options once

  • Unable to create BOMMAT IDOCs due to validity date issue

    Hello everyone,   (Posted in SAP-PP forum as well)
    I am having a unique issue with our Bills of Materials. After they are created and set to active, they have validity dates that go from 2001 to 9999. When I go to BD30 to distribute the BOM to the external systems I am getting the following error message:
    No bill of material exists on 08/25/2009 for 2557B27H02/FBLR/1/01
    Message no. BOM014
    Diagnosis
    You want to distribute BOM 2557B27H02/FBLR/1/01 via ALE. However, the BOM is invalid on 08/25/2009.
    System Response
    The system does not distribute the BOM.
    Procedure
    Check the BOM's validity.
    If you want to distribute all BOMs with the change status for another key date, enter another valid-from date on the initial screen.
    If you only want to distribute a certain BOM with the change status for another key date, enter another valid-from date or a change number on the selection screen.
    We get this for any BOM in this system.
    This is our QA environment and do not have this problem in our Development system. BD30 finds the BOM we specified but claims it is invalid on that date.
    We are trying to figure out if there is another status or approval step that I am missing here.
    SAP v4.7 level 19
    Thanks and points awarded for helpful answers!
    John

    Hi John
    Check you Material & Bill of Material in Table:  MAST & STKO whether they are valid or not .. Check valid from date in Bill of material
    Ramesh

  • Validity date issue: Access Enforcer

    Hi All,
    There is a request in Access Enforcer wherein there are total 4 stages of approval, the first 2 stages have been properly approved however when the same arrived to the 3rd stage of approval, the validity date for the request was over and therefore the approvers tried to extend the same, but the "more" tab is not appearing and therefore the approvers are not able to approve the request by extensing the validity date.
    Can you please help with this issue?
    Thanks
    Vani

    Vani,
      Go to the stage level settings for this particular stage via configuration -> workflow -> stage. Change the option of 'Change request content' to 'Yes' and the approver in this stage should be able to change the vailidity dates.
    Regards,
    Alpesh

  • Basic finish date exit issue

    Hello Gurus
    I have a requirement to bring the basic finish date based on the priority calculation date from the maintenance plan for auto generated work orders. Since its defaults to the start date, I am trying to use the user exit : IWO10012 Maintenance order: Priority treatment on central header.
    I talked to developer and it seems like he is facing issues on and off using this exit.He cannot figure out when it gets called.  He has a debugging break point in the user exit which will take to the code of the exit whenever it is called.  It gets called in some circumstances, but not in othersu2026 and he cannot find any reason to it.  When it does get called, however, it does its job of updating the Basic Finish Date.
    So what could be the issue in this situation ?
    Mahee

    Mahee,
      On the order side, This exit will only be called during create.I dont think this will be called on change mode or when the priority is changed.
    Regards
    Narasimhan

  • User Exit issue after upgrade from 4.6c to ECC 6.0

    Hi Experts,
    After upgrade we are facing some issues regarding user exit. In 4.6c we have implemented several user exit to do customization in several module like SD,FI and HR. But after upgrade it has been identified that SAP has already provided this functionality in ECC 6.0. Now our problem is when this transactions are called or executed control is going to both custom and standard code. Which took long time to execute and causing performance issue.
    Is there any ways to identify which are the functionality SAP has provided in ECC 6.0 so that we can delete our custom user exits.

    Hi
        List all the user exits which you have modified and check in OSS notes you will get the OSS note with all the details what functionality has been changed.  Based on this you can delete or retain the user exits which ever you want.
    Regards,
    JB

  • Adobe CS5 error and exit issue

    Hi There,
    I have a computer installed Adobe CS5 suite, while using Flash CS5, sometimes, there will be error message like "Memery cant be read" or "Access error" and then after close the error message, CS5 exit, need to restart it.
    I have tried to reinstall the OS and reinstall CS5, it just doesn't work, do guys have any good ideas on this?
    Computer Hardware:
    HP workstation xw8600
    4 core cpu.
    4GB memory.
    OS: WinXP SP2.
    Before install CS5, our company use CS3 and it works well for years.
    many thanks!

    Hi,
    Remove the all the files from
    /Volumes/Mac HD1/Adobe Encore Projects/BD/AuthorScriptHDMVSessions/
    This will resolve this issue.
    This happens if any file corrupted in Volumes/Mac HD1/Adobe Encore Projects/BD/AuthorScriptHDMVSessions/ folder
    Thanks,
    Pankaj Gauba

  • Screen exit issue

    Hi Experts,
    The issue is that whenever the screen exit SAPLXM02 0111 is created within a customer project the package is being assigned as $TMP in the development system.
    The project was earlier created and moved to testing by someone else and the screen was available in the testing.
    But due to testing system refresh the screen is not available in testing now.
    How can we move the subscreen SAPLXM02 0111 which is with $TMP to testing system from development system now.
    Regards,
    Hyma

    Hi Hyma,
    $TMP object are can not be transported.
    If you want to transport $TMP object you need to convert those object.
    Use Tcode se03--> Object Directory -->Change Object Directory Entries
    Selection By object:
    LIMU   COMM      SAPLXM02 0111
    Execute.
    OR
    Further Restictions:
    Package   $TMP
    Person Responsible  (Name)
    Then Execute.
    you can get Objects -->WES Original system --> $TMP --> SAPLXM02
    Double click on item.
    Save with your our package and request.
    I hope this may helpfull.
    Thank you,
    Thanks,
    Ams

Maybe you are looking for

  • Flattening

    Can someone help explain the difference between Flattneing a PDF in Acrobat (Flatten Preview tool) verus opening a PDF file in Photoshop and re-saving as a PDF?

  • Video Pro application missing from my 808 even aft...

    Hi, Well the title says it all. I saw everywhere on the net that the 808 PureView was to get the Video Pro app after the FP2 update, but even after the update to FP2 my 808 still doesn't have that application. And it doesn't show up in the update app

  • Missing project templates and quiet MIDI keyboard?

    Shouldn't I have a "Loops", "Voice" and "Podcast" templates when creating a new GarageBand project? Screenshots I've seen online indicate that I should, but I don't have them... Additionally: why is playing using the Korg Nanokey results in sounds th

  • Linking Several Project Files as one Learning Session

    I have eight large Captivate files that I want to link into one, single window, seamless learning experience. I've tried quite a few options, but I can't get any to work. In one failed attempt, I wanted to publish 8 flash files that were linked so th

  • How to know a call is hitting our CallManager?

           How to know a call is hitting our CallManager?