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.

Similar Messages

  • 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

  • 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,

  • 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

  • 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.

  • USER EXIT/ BADI (The price should not be changed in the billing document)

    Hi all,
    We have given manual entry provision for pricing in Sales order level. But as per the company requirement, the price should not be changed in the billing document. Also the point to be considered is, it is a delivery based billing. 
    Kindly help me for finding USER EXIT/ BADI to achieve my requirement.
    Thanks.

    Hi,
    Please refer to OSS notes:
    105621 - Authorization check for the condition screen - you can use following user-exit includes for changing the condition tab to display only:
        USEREXIT_FIELD_MODIFICATION
        USEREXIT_PRICING_CHECK
        USEREXIT_FIELD_MODIFIC_LEER
        USEREXIT_FIELD_MODIFIC_KZWI
        USEREXIT_FIELD_MODIFIC_KOPF
    1165078 - Authorization check for conditions or subtotals - from ECC6.0 EHP4 there is a dedicated BAdI for authorization check, however if the user is not aurhorized to change the conditions, the conditions are not visible for the user as well.
    Regards,
    Marcin

  • 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?

  • Maintain Validity Date for Documents

    Hi
    Any Idea how can we put and maintain Validity Dates for any Document uploaded in DMS Server.
    Validity Dates here means (Documents cannot be used if validty is over)
    I could not find any option in CV01*   T-Codes.
    Regards

    Dear Prasant,
    You can also do this solution also if you find it OK.
    1. Create a Class with "Validaty Date" as characteristics. Assign this Charac to class. Assign this class to doc Type. This charac should not be editable to any one except creator.
    2. Create a program with BAPI " Set Status" ( Check the name). which will run in background to check the validity date of Document. If the validity date is reached the BAPI will change the status to "S" as stated by Chritoph.
    This will help user to manually tracked which documents have exceded the validity date. You can also genegrate report and mail it to particular user that what documents have been set to Status "S".
    Hope I have provided a valid solution as I have tried similar kind of functionality with changing a characteristics with Date.
    With warm Regards
    Mangesh Pande

  • 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 Substitution rule on completed document

    Hi Everyone,
    We're trying to create a substitution rule to change the payment terms on our invoices (fields BSEG-ZTERM and BSEG-ZBD1T).  We're having trouble with our prerequisite:  If any of the expense distributions are being charged against a federal grant (BSEG-GRANT_NBR) then call the substitution rule.   We want our exit to loop through all distribution lines and if it finds any being charged to a grant it should set the condition to true and substitute...if it doesn't find any it should be set to false. 
    We've done all of the necessary steps:
    -Activated the fields on GB01
    -Defined the substitution rules on OBBH
    -Build and compiled the user exit.
    Problem we're having is that when there are multiple lines it only seems to be reading the last line item to make the determination.
    Example 1:
    Line 1 Grant
    Line 2 No Grant
    Result is that payment terms are not substituted.  It should be substituted because line 1 hit a grant.
    Example 2:
    Line 1 No Grant
    Line 2 Grant
    Result is that payment terms are substituted correctly. 
    My ABAPer says that the problem seems to be that on the completed document he can only see the last line (not all the lines)....does anyone know a way to loop through all the records on a completed document?  It seems that substitution gets called before records get inserted into the database so we're not sure how to make our pre-requisite work.
    thanks for your help

    Hi,
    here is the solution.
    Create your user exit.
    FORM u280 USING bool_data TYPE gb002_015.
    FIELD-SYMBOLS: <ls_bseg> LIKE LINE OF bool_data-bseg,
    LOOP AT bool_data-bseg ASSIGNING <ls_bseg>.
    * Here is your logic needed
    ENDLOOP.
    Create a substitution for the complete document in GGB1 and choose no field but "Only exit'.

  • Purchase Requisitions Change after create existing document.

    Hi,
    We want to restrict System not allow to change the Purchase Requisition Quantity after create the existing document RFQ & PO with reference of PR.
    Regards
    Aamir

    Dear Amir,
    We had also faced same problem in our organization 2 years back. Then I have change the screenlayout of ME52N as follows.
    SPRO -> Materials Management -> Purchasing - > Purchase Requistion -> Define screeen layout at document level -> Create new entry ME52N by coping ME52. Then goto qty & price field, tick the Qty field as display.
    Due to this changes in PR Qty in ME52N will not be possible. If any change in PR QTY before creation of PO has to be done then user has to delete that line item in ME52N & create new line item in same PR.
    This development is successful at our end.
    Regards,
    Shekhar Gaikwad.
    SAP MM Consultant

  • BAPI  :  CHANGE  Assignment  OF  FI DOCUMENT (FB02)

    I want change  Assignment of a document  , Is there any BAPI or FM to  do it ?
    help please  !  THS

    Hi,
    you can use BAPI_ACC_DOCUMENT_POST for updating assignment field of FB02.
    Structure used in BAPI is BAPIACGL09 which is at item level and field used here is ALLOC_NMBR which is pointing to ZUONR [assignment number.
    Thanks
    Sudharshan

  • Mass Change fuctionality for Delivery Documents

    Hi all,
    I want to carry out a mass change for a field in the delivery document header.
    I know the transaction MASS is not catering for that.
    Is that any other standard  transaction to do a mass change in the delivery document header level, other than do it through a LSMW?
    Appreciate your help on this!
    Best regards,
    Anupa

    hi,
    MASS is not there.
    As per my knowledge
    BAPI_OUTB_DELIVERY_CHANGE - BAPI for Change to Outbound Delivery
    BAPI_INB_DELIVERY_SAVEREPLICA - Create Inbound Delivery
    RV_DELIVERY_CREATE - Create Delivery
    GN_DELIVERY_CREATE - Create an Outbound Delivery
    REGARDS,
    BALAJIA

  • Document level Authorization

    Hi Gurus
    Can user(Owner) define authorization for the roles/user to change / display particular document. As i know we  can control the users by status level, but our client doesn't want to check any values. They just want to restrict the users to change/display the particular document.
    The requirement is that, If a document is created by a user then he should be able to define the authorization for other users. Suppose is he gives display access to USER1 the USER1 should only be able to view the document. If he gives change access to USER2 then USER2 can be able to change the document.
    Regards
    Raja

    Thanks  Iring...
    I have already checked ACL , but there are some problems in ACL
    Can you please provide your Suggestions/Solutions for the below issues
    We have 2 users => USER1, USER2
    USER1 is authorized for create, change & display (not for delete)
    USER2 is authorized for display (not for create, change & delete)
    Issue-1:
    Suppose if USER1 provides "NOAUTH" to USER2 in Authorization Tab  then the system should restrict USER2 to access that document. But the system allows USER2 to view the document (CV03N ).
    There are no entries defined for the authorization object ACO SUPER .
    Issue-2
    If there is no entry for USER2 in Authorization Tab then he can't be able to view the document even he is authorized to display the document in CV03N.
    Issue-3
    If USER2 wants to delete all the entries defined in Authorization Tab then he can't be able to delete the entry for USER2 (same user).
    Issue-4:
    If a document is created by USER3 then the system should not allow USER2 to specify the authorization in Authorization Tab in CV01N.
    Regards
    Raja

Maybe you are looking for