Skip to Content
author's profile photo Former Member
Former Member

very urjent in table maintanace generator

Hi Experts,

I am new to table maintenance generator, i got below issue can u please guide on this.

I am having two customized tables ZARCAT, ZARCAT.

Is there any of the one of the events available before output or make the modification in the screen directly by coding F4 help. (in this case as and when table maintenance is generated code will be lost so we have to be careful) .

2) We need to put validation in "before saving data" event that if all the fields Ccode + Category + GL Account + Doc type are blank then raise an error message "All Fields Cannot be Initial"

This can happen only once since this is the primary key, but we need to make sure there are no blanks otherwise it will affect the report selection and layout both.

3) Validations to be built on ZARCAT table maintenance ,

a) Category code should not be initial

b) Check that no user is able to delete category code 00 and 99 (since these pertain to Opening bal and Closing Bal ) .

c) Field colseq should never be blank

d) Whenever SUBTOTFR is entered check that SUBTOTTO is also entered and

e) Validate SUBTOTFR is not greater that SUBTOTTO .

f) SHKZG should not be initial on any record

g) CATDESC should not be initial.

All these validations can be done using events.

Thanks in advance,

Mahamood.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jun 16, 2008 at 12:19 PM

    Hi,

    The table maintainance generator is standard program created by SAP at runtime.

    But there are provisions given by SAP to put your logic in that program on the basis of specific event.

    go to se11-->put your Z table name - >table maintaninance - >Environment->Modifcation->Events.

    When chosse the events and code accordingly in the editor i.e. icon given beside at the table that will lead you to the code editor.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 16, 2008 at 10:56 AM
    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.