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

Collective search help in PA30

Hi Experts,

I have followed the below steps to add new field in the Collective search help in PA30.

1. Collective srch hlp for Employee is - PREM and the Elementary srch hlp for 'Last name - First name' is PREMN.

2. You can change standard search help without access key. So you have to change PREMN.

3. Selection Method used for PREMN is M_PREMN. Copy M_PREMN to ZM_PREMN.

4. In Database view ZM_PREMN, add field RUFNM(Nick Name) in View Flds Tab.

5. Assign Selection Method ZM_PREMN to PREMN.

6. In secarh help parameter assign SPos filed 3 for newly added RUFNM(Nick Name).

I have copied Selection method M_PREMJ into ZM_PREMJ. From SE11 selected radio button u2018Viewu2019 and entered ZM_PREMJ then selected Change button.

A new window pope up with options u2018Maint in orig. langu2019 and u2018Change orig. languageu2019.

If I select u2018Change orig. languageu2019 then I am getting the following error

View ZM_PREMJ contains inactive components

If I select u2018Maint in orig. langu2019 then it will allowing for modifications. But when I activate I am getting following errors:

Check view ZM_PREMJ (SAPUSER/01.08.11/13:02)

View field ZM_PREMJ-PERNR (domains of the data elements not equal)

Key field PA0002-OBJPS missing

Key field PA0002-SEQNR missing

Key field PA0002-SPRPS missing

Key field PA0002-SUBTY missing

All fields are evaluated as key field

View ZM_PREMJ is not consistent

Please guide me in adding a new field in PA30 Collective Search Help.

Regards,

Deepthi

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

6 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on May 05, 2011 at 12:10 PM

    Hi Suman,

    I tried as you suggested but still I am getting the same error.

    Regards,

    Deepthi

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      In the list of errors you have listed

      Check view ZM_PREMJ (SAPUSER/01.08.11/13:02)

      View field ZM_PREMJ-PERNR (domains of the data elements not equal )

      Key field PA0002-OBJPS missing

      Key field PA0002-SEQNR missing

      Key field PA0002-SPRPS missing

      Key field PA0002-SUBTY missing

      All fields are evaluated as key field

      View ZM_PREMJ is not consistent

      Only the "View field ZM_PREMJ-PERNR (domains of the data elements not equal)" is an error, rest all are warnings.

      Unchecking the Mod flag ( Indicator for change to data element ) should change the data element for PERNR from "PERNR_D" to "PERSNO" and the data element for PERNR will be disabled. Activating now will still give you warnings but the error should go off as now the domains of the data elements are equal.

  • author's profile photo Former Member
    Former Member
    Posted on May 04, 2011 at 09:44 PM

    Try removing the Mod indicator for the field PERNR and then activate.

    Edited by: Suman Jagu on May 4, 2011 5:51 PM

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 05, 2011 at 06:42 PM

    Hi Suman,

    Yes, it is activated now with some warning messages.

    After this in SE11, I have selected radio button u2018Search Helpu2019 and entered u2018PREMNu2019.

    And clicked on u2018Changeu2019 button, then I have two options u2018Maint in orig. lang,u2019 and u2018Main. in logon langu2019.

    I have selected u2018Main. in logon lang; (which option to be selected??)

    And replaced Selection method u2018M_PREMNu2018with ZM_PREMN, then activated.

    It was activated with warning and following are adjusted.

    SHLP EHS00SHLP_PREM was adjusted

    SHLP HREHS00PERSINTEXT was adjusted

    SHLP LO_OIF_PARTNER was adjusted

    SHLP PREM was adjusted

    SHLP PTRM_PREM_WEB was adjusted

    Up to here is fine, but when I tested in PA30 Collective search help, I can able to see new field u2018Nick Name but it is not working.

    Regards,

    Deepthi

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Regarding "able to see new field but it is not working" - Do you mean you are able see the Nick name in the Search help restriction screen, but not in the output ? Initially you have mentioned only the SPOS = 3 and nothing about LPOS. If you have given LPOS = 8 but still you are not able to see the value, Check the value of the nick name in the table contents of the view ZM_PREMJ directly in SE11.

      Regarding adding a new field to the Search help - As the elementary search help "PREMN" is being used in other places ( other than PA30 search help PREM. If you want to change only in the PA30 search help PREM, better option would be to copy the PREMN search help, change the selection method to the earlier copied selection method ZM_PREMJ , change the SPOS & LPOS and then append newly copied search help to the Collection search help PREM with parameter assignment,. Finally check the hide checkbox in the included search help for PREMN in the collective search help PREM.

  • author's profile photo Former Member
    Former Member
    Posted on May 24, 2011 at 12:59 PM

    Hi Suman,

    I am very sorry; I was sick and not able to respond you.

    Thank you very much for your help, I will follow the steps as you suggested and update you the status soon.

    Regards,

    Deepthy

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 26, 2011 at 12:12 PM

    Hi Suman,

    Thank you so much for your help, it is working.

    As you advised, I have coped PREMN into Z_ PREMN, coped selection M_PREMN into ZM_PREMN and followed the rest as you suggested,

    Another favour, can you please clarify the following:

    - While changing Z_ PREMN or ZM_PREMN, the system is promoting with u2018Maint in Orig. Langu2019 and u2018Change Orig. langu2019 options.

    Ihave always selected u2018Maint in Orig. Langu2019 option only. Please clarify which option is correct

    - After activation View ZM_PREMN or Search Help Z_PREMN I am getting Warning messages, is this acceptable

    - What is use of Param Assignment.

    Regards,

    Deepthy

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      -The Database view / Search help we copied has the Original language as 'DE'. ( Check in Attributes tab - Orignal language field ). As the Original language is different from logon language, System promts us that option. Its fine if you have chosen Maintain in original language as we dont have text to translate, but you can change the Original language to logon langauge and you will not get the prompt again.

      -In this case Warning messages are fine as they pertain to Key field missing in the output ( the key fields which we dont want to display ).

      -Param Assignment is to link the Collective search help Parameter and the Elementary search help export parameter.

  • author's profile photo Former Member
    Former Member
    Posted on May 26, 2011 at 07:41 PM

    Hi Suman,

    As a new member I posted my first message and I am so surprised at all the responses that I have received. Thank you so much for taking the time to support me with detailed explanations.

    My heartfelt thanks again.

    Regards,

    Deepthi

    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.