FI Validations in GGB0 at complete document level

Hi
I have a requirement where i need to do a validation in FV60/65. Earlier, for a similar requirement for validation at the header level, i have used GGB0 and wrote custom code in the available userexit ( i had made a copy of RGGBR000 and implemented custom code in the copy) and replaced the standard program RGGBR000 in tcode GCX2)
Now, when im trying to implement a similar solution at the line item the userexits in GGB0 are not being accessed by the tcode FV60. Can someone explain where i could have gone wrong.
Note: I have activated the validations in OB28.
Thanks
Nag

Closed

Similar Messages

  • Validation complete document level

    Dear All,
    I want to create one validation to restrict user at document type level. if document type DZ system should not allow entires like gl to gl postings.
    Regards,
    Sankar

    I think your requirement can be met through the configuration of Document Splitting through the indicator, "Only Once".  Below are the details of this indicator.
    Item type permitted only once
    If this parameter is selected, the corresponding item category may only be used once in the business transaction concerned. A document of this business transacation cannot be posted if the item category exists more than once.
    You may find this indicator in table V_T8G28 or menu path, "Define Business Transaction Variant" in configuration of Document Splitting.  Define a new variant or change the existing one attached with the Document Type DZ.
    Regards,

  • Change Validation to complete document level

    SAP experts,
    In tcode F-65 the business is using account assignment model to post recurring entries by filling in the template. Here it has a validation "Amount is Zero - line item will be ignored" at the Line item level. Business wants this validation to be changed from Line item level to the whole document level (at the time of save).
    The message no. is -- FX090
    "Amount is Zero - line item will be ignored"
    How can I change this validation settings?... please help asap.
    Thanks in advance.

    Dear Sameer,
    You would need to implement it at header level.
    For example in IMG under
    Financial Accounting -> Accounts Receivables and Accounts Payable -> Business Transactions -> Posting with alternative Reconciliation accounts -> Carry out and check document settings -> Validation in Accounting Documents.
    You can see some of the validations are implemented at item level and some at header level.
    Regards,
    Naveen.

  • 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

  • Delivery completion flag at delivery document level

    Hello Tean
    we have developed one inbound interface and Now the interface is working fine.. I am able to do the GR against inbound delivery and the PO status and delivery completion flag is also set at the PO level but now my FO is asking to me to set the delivery completion flag at inbound delivery document level and updation of history also. so i request you to please check and help me to find the solution.
    Technical details which i have used for developing the interface
    IDOC type: MBGMCR03
    Message type: MBGMCR
    Post Goods Movements with MB_CREATE_GOODS_MOVEMENT (ie bapi_goods_mvt_create )
    Please check and let me know the solution.
    Regards
    Raj

    use T code SQVI. here you can join tables having atleast one key field among.
    SQVI> give table name> press create> pop up will come> give the details > select table join from the drop down> click insert table> in pop up give table name > table details will appear> again press insert table> give next table name and so on. this way you can join many tablesd with key field. if key field is not there. it will not allow.  after joing all the required tables press back button.
    now from left side pane you can select the fields from ech table and decide which should come as input ( for eg company code , date etc)  and the outputs from each table.  Then save.
    now you can execute this in the same screen. or else you can use it later on also.  go to SQVI. give the Quickveiw name you have selected. and exceute.  it will act a  report with the inputs and outputs you have selected.
    if you want to restructure the report . it is possible.  change the input and output fields.  and save

  • BCS validation at document Level

    Hi all SEM-BCS experts
    We are adopting a matrix consolidation (company & profit center) design. We would like to have a validation at the manual posting document (posting level 10) where all line items can only be posted with the SAME company code only. Posting to different profit center is allowed.
    Currently the system allows the posting of manual document which involves multiple company code with different profit center as system can generate an auto clearing cons unit line item to balance up the document.
    Appreciate any advice on the set up of the validation rule which is assigned to the document type. Thanks
    Cheers
    Lee

    One suggestion is to create a header validation requiring (condition) a company code.

  • Validation: usage of "Complete Document" event

    Hi All.
    I'm trying to implement a Validation which checks several conditions in a Document to know if it is valid or not.
    Since these conditions are spread between the Document's lines, I choose the "Complete Document" event and expected to get a table of all lines, but it is not the case.
    I debugged the code and found that the SAP code that calls my code has a parameter called BOOL_DATA which is a table that holds the BKPF structure (of course) and also all the Document lines (stored as a table in its BSEG field).
    However, this BOOL_DATA is not used at all when my Validation is called.
    2 questions:
    1.
    How can I use this BOOL_DATA table so I can see all the Document's lines?
    2.
    If this param cannot be used, what the difference between the "Line Item" event and the "Complete Document" event in terms of what I can see and use?
    Regards.
    Ayal Telem.

    Hi Ayal Telem,
    Dear Md Faheem.
    I was not familiar with this subject.
    Thank you very much for the info.
    I started to read the documentation you referred me to and it looks interesting.
    I will update after implementation.
    Regards.
    Ayal Telem.
    That's good. Ask me anything if you struck up somewhere.
    Thanks & Regards,
    Faheem.

  • Validation for parking the FI document

    Dear All,
    Can we set any validation or BTE or User Exit for the duplication of documents in Parking based on same reference and vendor?
    regards,
    Murali

    Hello Murali,
    You can create a Validation for this.
    1. GoTo transaction GGB0 (Change Validation).
    2. Click on Financial A/C'ing folder. Here you can see the Callup Point "Complete document".
    Here you can set your validation for parking.
    BR,
    Suhas

  • How do I validate a certificate (not visible) at the document level?

    I am using Acrobat XI Pro running in Windows 8.
    I created a PDF document with form fields (type: button) and JavaScript codes (field-level and document-level). Before I certify (not visible) and save the document, I want to add a document-level script that checks if the certificate is valid. If the certificate is valid, I would like to  schedule an interval object to update some of the icons in the fields. Is this possible? If so, how do I get the “certificate (not visible) field” and check that it is valid
    Thanks. - john

    I am using Acrobat XI Pro running in Windows 8.
    I created a PDF document with form fields (type: button) and JavaScript codes (field-level and document-level). Before I certify (not visible) and save the document, I want to add a document-level script that checks if the certificate is valid. If the certificate is valid, I would like to  schedule an interval object to update some of the icons in the fields. Is this possible? If so, how do I get the “certificate (not visible) field” and check that it is valid
    Thanks. - john

  • Document-level javascript quandry

    Ok, completely clueless newbie here whose only coding experience is Access VBA…from a few years ago. Need to write up some Javascript to make this work – that was a month’s worth of a migraine.  I ask for your patience, and would like to ask for forgiveness in advance for any headaches I induce while you try to figure out my problem(s).  Also, I’m not sure how to copy paste images or code examples, but I will do my best.
    So, basic premise:  make a drop-down combo box that will populate another combo box based on whatever was selected in the first box – in this case, 31 items in the ‘Inventory Parts Used’ list, and a total of 427 respective sizes in the other list. 
    YES, I’ve already looked at that http://acrobatusers.com/tutorials/js_list_combo_livecycle1 example, and followed it closely.  Took me forever, but I somehow got it to work. Was very happy.  Only thing I couldn’t figure out was the export value b/c mine wasn’t a number.  But I solved that by putting the CodeID and respective PartSize together (ex: 4-inch Fire Hydrant would show up as "FH-01:  4"). Anyways, I selected that working row and choose the “Place Multiple Fields” option times 15 rows.  Still working.  I’m dancing a jig. Then I tried to check on the code: 
    “Text cannot be displayed in full by the Edit Dialog.  Please use an External Editor.” 
    Uh… So I deleted a row at a time until I could see what my limit was.  I had to pare down 15 rows to a measly 3 rows.  Took me a while but I was able to see where the problem was.  Instead of being written into the Document-Level JS, my array was tied to the first combo box’s Keystroke event on the Field Level.  So when I multiplied the rows, that humongous list essentially had diarrhea.
    I’ve tried to delete that header and keep it to Document Level.   It basically ignored me and keep those lines.  When I did manage to make the <Document-Level> on top, it just didn’t work.
    (    //<AcroForm>
    //<ACRO_source>Row0.InvPart:Keystroke</ACRO_source>
    //<ACRO_script>
    /*********** belongs to: AcroForm:Row0.InvPart:Keystroke ***********/    )
    I’ve searched other forums about the Document-level…. I swear I read a lot of forums that said using Advanced>Document Processing>Set Document Actions>Edit All was ok. Clearly it’s not ok, especially after I found this forum: http://answers.acrobatusers.com/Where-I-enter-document-level-javascript-adding-FormRouter- Calendar-q55527.aspx. 
    So I guess my question(s) is this:  IS that “Edit Document Javascripts” really necessary?  B/c I’ve looked and I don’t have it. I’m using Adobe Acrobat 9 Standard, ver 9.5.5 (and I’m using Windows XP Pro ver 2002 , if that matters).  Is this JS editor only available to the Pro version?  Would it really be a bad thing to just leave it alone as a keystroke event (aside from the unwieldy large, duplicated codes it vomits as a result)? Or maybe, is there a way to code a new row on instead?  I remember seeing an example where you can add more lines as needed, but I can’t for the life of me find it again.
    Thank you in advance for all your assistance.

    * Huh....it just figures... right after I finally give up and post up a question, I would find the answer. =_=;; http://forums.adobe.com/message/4727325#4727325. 
    So, Standard version apparently doesn't have that exalted “Edit Document Javascripts”.  Apparently a way around it is using the Page Open event.  Well, it works - the massive array only shows up once in the editor, and the multiple rows each call the function instead.  Nice. 
    Well, I will leave this up in case someone else can use the reference.  Thanks to anyone who read this and was going to answer me. =)
    Don't suppose anyone knows how to create a code to add new rows instead of having 15 rows straight off the bat?  Or should I make a new post for that?

  • Document Level JavaScript to turn off caching for a PDF?

    I have been trying to find a way to ensure that a fillable PDF leaves no trace of itself on a computer that was used to open it. For example, if a user acceses a fillable PDF via browser or Reader, once they are done and have closed the browser or Reader, I want no trace of the information to remain in any cache on that machine. We don't want to require our users to try to control cache via settings in Reader, so I have been trying to find other ways to do this.
    I came across the following comment from GKaiseril in another thread - is this a way for a PDF to control its own caching? Any details or alternative approaches would be welcome!
    GKaiseril
    Re: Metadata - Can't remove
     You can also use document level JavaScirpts to turn off the auto complete and caching for a given PDF.

    Version 9 and 10 of Reader do not cache form data in a temporary FDF as previous version may have. The nocache document property it not even documented in the latest Acrobat JavaScript reference. If you're concerned about previous versions, you can use set the nocache document property at run-time, but users can disable JavaScript, so that approach is no guarantee.
    For information on controlling autocomplete, see: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.407.html

  • FI Validations through GGB0

    Hi
    I have a requirement where i need to post a warning message based on the date difference between Invoice date (BKPF-BLDAT) and posting date (BKPF-BUDAT) while posting a document in tcode FB60.
    I tried using the tcode GGB0 to build a validation but it did not help. I looked into the available userexits (U100) and tried to implement it. However, the form U100 refuses to recognize the fields from BKPF.
    Can some one throw light on how to write your own code in these userexits?
    Thanks
    Nag

    Hi,
    For the first case where you have directly put the validation in GGB0 you can check the following things
    1) Settings in Tcode OB28 for activating the validation for a paricular company code.
    2) Try Running the Generation program RGUGBR00.
    Regards
    Abhishek

  • PDS Appraisal Completed - Document not visible to manager

    Dear ,
    We are going live with Objective settings and performance appraisal. The functionality working well except an issue. The completed appraisal of subordinate is not visible to manager where as the same is visible to employee.
    Any idea why manager nnot able to see completed document after employee agreed on the PDS?
    Thanks in advance

    Hi,
    Thanks for your reply.
    1. "Please check role tab under category and template which you have been defined"
             In the category and Manager we selected
                    Self
                    Manager
                    Higher manager
    2. under this how many level of employee you have selected in which way like appraiser, and appriasee, like manager, co worker .
          (Employee>Manager>Higer Manager-->HOD )
          Employee
          Immediate Manager (line Manager)
          Higher Manager ( Manager of Line Manager )
          HOD (Cost centre Owner)
    3..more over you check manager position coming under which position....
         I am not clear about the above , can you eloborate?

  • Add application and document level events using javascript

    Hi All,
    I need to do some validation in the preprint event of the pdf document. There are samples available using the UI and adding the script in the script dialog, but my requirement is that i need to map the 'preprint' event and event handler to the pdf document using pure javascript code without the UI. Any help would be greatly helpful. Thanks in advance.
    Regards,
    Charan

    You can write a document-level function into the actions handlers using the doc.setAction() method from a folder-level script, but one folder-level script cannot create another.
    Suppose you have a folder-level function triggered by a menu item, and it has collected a reference to the active document as oDoc:
    var myScript = 'console.println("I am about to be printed and I have " + this.numPages + " pages" );';
    oDoc.setAction("WillPrint",myScript);

  • Adobe javascript include "this.saveas" into the pdf document level

    Hello,
    in some posts i read that if i certify a pdf, i would be able to include doc.saveas into the pdf document level. 
    Can anybody tell me what kind of cerify i'd need and how to have it done to make the saveas work from client side?
    thanks alot

    When you use the saveAs method with code inside the PDF, do not place it in a trusted function or use app.beginPriv/app.EndPriv. You have to confirm that the certificate is in your list of trusted certificates and that it is trusted to allow execution of high privilege JavaScript. Be sure to test the document with Reader and validate the signature before attempting to execute the code. There is a preference that controls whether signatures are validated when a document is opened. I would recommend setting this preference.
    I would suggest testing it with Reader.

Maybe you are looking for