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

Standard transaction CG02 is not saving the data through F4 help.

Hi Guru's,

I have a standard transaction CG02 for this i need to maintain the data for few of the fileds like Heat sensitive, Thermal energy hazard etc for updating Derived C-Alpha code. So for i can able to maintain data in two ways either directly or through F4 help. when i supply data through F4 help, on the F4 help window im providing the value and clicking on continue button. when i press on the contine button it has to update the Derived C-Alpha code if all the required fields filled. If suppose i do nt fill the required fileds it has to through the error message on the status bar like 'Invalid Data Combination'. Now the problem is when i clicking on continue button of F4 help window im displaying error message. when i try to change the value or try to fill the required fields so for im clicking on F4 button then its directly taking me out from the transaction. If i press on any key also samething is happening but the same is not happening when i supplied the value directly and saving. Please let me know the reason and help me for the same with needful solution. If anyting required plz ask me i wil provide u.

Here we are using the user-exit EXIT_SAPLC107_001 and is used in FM C107_CUSTOMER_FUNCTION_CALL.

Thanks in advance.

Yours,

Somu.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Nov 08, 2011 at 05:51 PM

    Hello Somu

    I found this link: http://www.consolut.com/s/sap-ides-zugriff/d/e/doc/E-EXIT_SAPLC107_001

    sorry it is in german. The english one does not contain the same precise informations. to my knowlegde in SPRO you will find a suitable english explanation of the exit.

    Generally: this exit can be used on the level of e.g. the value assignment to "do something". To my knowledge the exit is triggerd during "enter" activity (not save).

    I am not sure if SAP is providing a example for the implementation of this exit.

    Reading your explanations it seems to be that your code "returns" to "fast" from the value assignment which you would like to check; but in principle it should work-

    As the implementation of the exit is customer specific I have no idea how I could help you further. Only som,e "tips" from my side:

    1.) the check you are trying to get is "property"/value assignemt specific" => make sure that your code reflects this (may be by using some customer specific customizing tables)

    2.) the check you are trying to get is "charaacteristic" based and may be differend per value assignment

    Here I am not sure but i believe this is the story: if you have a check per value assignment then the checked is called by using any characteristic; therefore you need may be check which characteristics are in scope and which not (e.g. density does have a number of characteristitics). May be helps too.

    Further on: if you would like to "change" phrase sets of a charactertistic in one property based on value in a characteristic in the same property there is a different suitable exit available which can be used.

    Further on: to my knowledge by default you do not have "all" information in memory which might be needed. E.g. the check is valid (or will be called) if the specifciaiotn is LIST_SUB or RAL_SUB or.. (it is simply a property specific check). May be you need to consider this on top.-

    Sorry; for more help I would nee more details.

    With best regards

    C.B.

    Edited by: Christoph Bergemann on Nov 8, 2011 6:51 PM

    Edited by: Christoph Bergemann on Nov 8, 2011 6:52 PM

    Add a comment
    10|10000 characters needed characters exceeded

    • Hello Somu

      according to the link provided these are some further "tipps" and "ticks".

      The exit is called starting from: C107_CUSTOMER_FUNCTION_CALL. According to the german link provided go on like this:

      you should create a break point in function module C160_BREAK_POINT at a suitable place. and then you debug the different maintenance scenarios (check not only the property in scope but others too !).; I believe that there seems to be "many" problems in your code which you must analyse step by step

      As explained: the use of such an exit is customer specific and the "coding" you haven written/prepared depends on the requests of the customer and can have a high complexity.

      May be as a further tipp: reduce your code to only "one property" and the requested check and try again. If you have understood how to use the exit in the context of one property you should be able to enhance your solution.

      I am sorry; but further help might be not easy and requires more input from your side (property/characteristic; what should happen if condition 1 or 2 or ... is fulfilled.)

      With best regards

      C.B.

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.