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

Form settings using SDK

Hi Friends

I am doing on Purchase order form.i need to set visible some column of matrix visible and active (in table Format and RowFormat) with out using form setting inter face , means through code using SDK.Is it possible

Thanks

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Jul 24, 2008 at 07:43 AM

    Hi Muna,

    it's like Roberto told you in the other thread.

    the information is in the CPRF table.

    there you can chance the order, active and visibility !

    but the problem is - you can only change it when the business one is closed.

    the reason: sap loads the settings in memory (from table) when you start the business one

    and saves it back when you close it.

    lg David

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Muna,

      So From SDK we have written down everything I think.

      By the way I am suggesting the following:

      1. Make the column order by normal way (open from settings, and move with mouse) for manager

      2. Log off for everybody

      3. Copy settings from manager to every user using SQL.

      Regards,

      J.

  • author's profile photo Former Member
    Former Member
    Posted on Jul 24, 2008 at 09:38 AM

    Hi Muna,

    Because of the settings by user, you have to include the usersing into your query. This will give you row by users.

    See SDK documentation where CPRF table structure and fields are described very good.

    -- for manager
    
    SELECT * FROM CPRF WHERE FormId='142' andColID ='12' and ItemID='38' and UserSign = '1'
    
    

    Please log off, now change the fields and log on again. as David described, B1 overwrites fields values at log off procedure.

    Regards,

    J.

    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.