User defined Catalog type u0093Su0094  - Valuation code field missing

Hi Quality Experts,
I have created a user defined catalog type in customization coping the catalog type 3.
This is required for authorization purposes.
Transaction Code : QS51.
For system defined catalog type 3, in QS51 all fields are visible.
Hence selection set can be created.
For user defined catalog type S which is a copy of 3,
for the same transaction code QS51 many field are hidden.
Hence selection set can not be created.
15 Columns are existing.
S.No     System defined Catalog Type "3".     User defined Catalog Type "S".     Remarks
1     Code Grouop     Code Grouop     OK
2     Code                      Code                      OK
3     Short Text for Code     Short Text for Code     OK
4     Long Text for Code     Long Text for Code     OK
5     Valuation Code     MISSING                     THIS FIELD IS MISSING
6     Quality Score     MISSING                     THIS FIELD IS MISSING
7     Posting Propasal UD     MISSING                     THIS FIELD IS MISSING
8     Long Term Char.     MISSING                     THIS FIELD IS MISSING
9     Stock Screen
                Backgr.                    MISSING                     THIS FIELD IS MISSING
10     Follow up action     MISSING                      THIS FIELD IS MISSING
11     Short Text      MISSING                     THIS FIELD IS MISSING
12     Changed By     Changed By     OK
13     Changed On     Changed On     OK
14     Created By     Created By     OK
15     Created On     Created On     OK
===========================================================
Total  7 fields are missing.
SAP Version : SAP ECC 6.0
Please guide.
With Best Regards,
Raghu Sharma.

Hi
when you have created new Catalog type by copying 3, did you check whether Selected Sets is flagged in the configuration?
regards
Srinivas

Similar Messages

  • User defined Catalog type3 - Valuation Code field is missing

    Hi Quality Experts,
    SAP Version : SAP ECC 6.0
    I have craeted the user defined catalog type "S" coping the system defined catalog type "3".
    In sytem defined catalog type "3", in transaction code QS51, there are 15 fields.
    Where as user defined catalog type "S", for the same transaction code QS51,
    7 fields are hidden including the "Valuation Code" field.
    Hence the selection set can not be created.
    The details are given below.
    S.No     System defined Catalog Type "3".     User defined Catalog Type "S".     Remarks
    1     Code Grouop     Code Grouop     OK
    2     Code                      Code                     OK
    3     Short Text for Code     Short Text for Code     OK
    4     Long Text for Code     Long Text for Code     OK
    5     Valuation Code     MISSING                    THIS FIELD IS MISSING
    6     Quality Score     MISSING                    THIS FIELD IS MISSING
    7     Posting Propasal UD     MISSING                     THIS FIELD IS MISSING
    8     Long Term Char.     MISSING                      THIS FIELD IS MISSING
    9     Stock Screen Backgr. MISSING        THIS FIELD IS MISSING
    10     Follow up action     MISSING                  THIS FIELD IS MISSING
    11     Short Text      MISSING                      THIS FIELD IS MISSING
    12     Changed By     Changed By       OK
    13     Changed On     Changed On      OK
    14     Created By     Created By     OK
    15     Created On     Created On     OK
    Please do the needful.
    With Best Regards,
    Raghu Sharma

    Hi Anton,
    Thanks for your prompt reply.
    Can u please guide to create a user defined catalog of type 3 ?
    While creating the selection Set, I need all fields.
    With Best Regards,
    Raghu Sharma.

  • Issue with xsd Data type mapping for collection of user defined data type

    Hi,
    I am facing a issue with wsdl for xsd mapping for collection of user defined data type.
    Here is the code snippet.
    sample.java
    @WebMethod
    public QueryPageOutput AccountQue(QueryPageInput qpInput)
    public class QueryPageInput implements Serializable, Cloneable
    protected Account_IO fMessage = null;
    public class QueryPageOutput implements Serializable, Cloneable
    protected Account_IO fMessage = null;
    public class Account_IO implements Serializable, Cloneable {
    protected ArrayList <AccountIC> fintObjInst = null;
    public ArrayList<AccountIC>getfintObjInst()
    return (ArrayList<AccountIC>)fintObjInst.clone();
    public void setfintObjInst(AccountIC val)
    fintObjInst = new ArrayList<AccountIC>();
    fintObjInst.add(val);
    Public class AccountIC
    protected String Name;
    protected String Desc;
    public String getName()
    return Name;
    public void setName(String name)
    Name = name;
    For the sample.java code, the wsdl generated is as below:
    <?xml version="1.0" encoding="UTF-8" ?>
    <wsdl:definitions
    name="SimpleService"
    targetNamespace="http://example.org"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://example.org"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
    >
    <wsdl:types>
    <xs:schema version="1.0" targetNamespace="http://examples.org" xmlns:ns1="http://example.org/types"
    xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:import namespace="http://example.org/types"/>
    <xs:element name="AccountWSService" type="ns1:accountEMRIO"/>
    </xs:schema>
    <xs:schema version="1.0" targetNamespace="http://example.org/types" xmlns:ns1="http://examples.org"
    xmlns:tns="http://example.org/types" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:import namespace="http://examples.org"/>
    <xs:complexType name="queryPageOutput">
    <xs:sequence>
    <xs:element name="fSiebelMessage" type="tns:accountEMRIO" minOccurs="0"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="accountEMRIO">
    <xs:sequence>
    <xs:element name="fIntObjectFormat" type="xs:string" minOccurs="0"/>
    <xs:element name="fMessageType" type="xs:string" minOccurs="0"/>
    <xs:element name="fMessageId" type="xs:string" minOccurs="0"/>
    <xs:element name="fIntObjectName" type="xs:string" minOccurs="0"/>
    <xs:element name="fOutputIntObjectName" type="xs:string" minOccurs="0"/>
    <xs:element name="fintObjInst" type="xs:anyType" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="queryPageInput">
    <xs:sequence>
    <xs:element name="fPageSize" type="xs:string" minOccurs="0"/>
    <xs:element name="fSiebelMessage" type="tns:accountEMRIO" minOccurs="0"/>
    <xs:element name="fStartRowNum" type="xs:string" minOccurs="0"/>
    <xs:element name="fViewMode" type="xs:string" minOccurs="0"/>
    </xs:sequence>
    </xs:complexType>
    </xs:schema>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://example.org"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://example.org" xmlns:ns1="http://example.org/types">
    <import namespace="http://example.org/types"/>
    <xsd:complexType name="AccountQue">
    <xsd:sequence>
    <xsd:element name="arg0" type="ns1:queryPageInput"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:element name="AccountQue" type="tns:AccountQue"/>
    <xsd:complexType name="AccountQueResponse">
    <xsd:sequence>
    <xsd:element name="return" type="ns1:queryPageOutput"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:element name="AccountQueResponse" type="tns:AccountQueResponse"/>
    </schema>
    </wsdl:types>
    <wsdl:message name="AccountQueInput">
    <wsdl:part name="parameters" element="tns:AccountQue"/>
    </wsdl:message>
    <wsdl:message name="AccountQueOutput">
    <wsdl:part name="parameters" element="tns:AccountQueResponse"/>
    </wsdl:message>
    <wsdl:portType name="SimpleService">
    <wsdl:operation name="AccountQue">
    <wsdl:input message="tns:AccountQueInput" xmlns:ns1="http://www.w3.org/2006/05/addressing/wsdl"
    ns1:Action=""/>
    <wsdl:output message="tns:AccountQueOutput" xmlns:ns1="http://www.w3.org/2006/05/addressing/wsdl"
    ns1:Action=""/>
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="SimpleServiceSoapHttp" type="tns:SimpleService">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="AccountQue">
    <soap:operation soapAction=""/>
    <wsdl:input>
    <soap:body use="literal"/>
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal"/>
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="SimpleService">
    <wsdl:port name="SimpleServicePort" binding="tns:SimpleServiceSoapHttp">
    <soap:address location="http://localhost:7101/WS-Project1-context-root/SimpleServicePort"/>
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    In the above wsdl the collection of fintObjInst if of type xs:anytype. From the wsdl, I do not see the xsd mapping for AccountIC which includes Name and Desc. Due to which, when invoking the web service from a different client like c#(by creating proxy business service), I am unable to set the parameters for AccountIC. I am using JAX-WS stack and WLS 10.3. I have already looked at blog http://weblogs.java.net/blog/kohlert/archive/2006/10/jaxws_and_type.html but unable to solve this issue. However, at run time using a tool like SoapUI, when this wsdl is imported, I am able to see all the params related to AccountIC class.
    Can some one help me with this.
    Thanks,
    Sudha.

    Did you try adding the the XmlSeeAlso annotation to the webservice
    @XmlSeeAlso({<package.name>.AccountIC.class})
    This will add the schema for the data type (AccountIC) to the WSDL.
    Hope this helps.
    -Ajay

  • User defined table type output not coming

    hi all,
    i have a userdefined type delcared as:
    create or replace TYPE SAMPLE_SEARCH AS OBJECT (
    -- LIST OF VARIABLE NAMES AND RESPECTIVE DATA TYPE
    i have a user defined table type defined as:
    create or replace TYPE SAMPLE_SEARCH_TABLE IS TABLE OF SAMPLE_SEARCH;
    I have a stored proc which has an output paramter of type SAMPLE_sEARCH_TABLE.
    that is,
    sp_sample_proc(sample_search_tb OUT SAMPLE_SEARCH_TABLE);
    When i invoke the above stored proc from an anonymous pl/sql block , how can i display the contents of the output parameter using dbms_Output statements?

    Try this.........This is just a sample code.
    CREATE OR REPLACE TYPE address1 AS OBJECT
    (country VARCHAR2(1000),
    city VARCHAR2(1000),
    zip NUMBER,
    add1 VARCHAR2(4000),
    add2 VARCHAR2(4000));
    CREATE OR REPLACE TYPE t_addObj IS TABLE OF address1;
    CREATE OR REPLACE PROCEDURE Sp_Address_Obj(Out_Add_Obj OUT t_Addobj) IS
    v_Addobj t_Addobj := t_Addobj();
    BEGIN
    SELECT Address1(u.Object_Name,
    u.Object_Type,
    u.Object_Id,
    'Add01' || Rownum,
    'Add02' || Rownum) BULK COLLECT
    INTO v_Addobj
    FROM User_Objects u;
    Out_Add_Obj := v_Addobj;
    END Sp_Address_Obj;
    DECLARE
    v_Addobj t_Addobj := t_Addobj();
    BEGIN
    Sp_Address_Obj(v_Addobj);
    Dbms_Output.Put_Line(v_Addobj(1).City);
    FOR i IN 1 .. v_Addobj.Count LOOP
    Dbms_Output.Put_Line(v_Addobj(i).Country || '-' ||
    v_Addobj(i).City || '-' ||
    v_Addobj(i).Zip || '-' ||
    v_Addobj(i).Add1 || '-' ||
    v_Addobj(i).Add2);
    END LOOP;
    END;

  • Retain standard SAP order type after copying with user defined order type

    Hello SAP Gurus,
    We have a requirement of retaining the standard SAP order types after copying with User defined order types. But the issue is we don't want to see the standard SAP order type such as PM01, PM02 in production system while using transaction like IW31 etc.
    Is there anybody who has answer to retain these stanadard SAP order types without deleting from system configuration?
    Thanks in advance.
    Cheers,
    Vaibhav

    Vaibhav,
    When you F4 on the order type field in IW31 you will get the popup showing the order type list. At the top of this list is a button with a green "+" sign (Insert in personal list).
    You can use this button to select your favourite list.
    This function is available in most F4 drop-down lists.
    However, you cannot set this setting for all users. You will need to write an ABAP program to do this.
    PeteA

  • BRFplus: How to create an instance of User-Defined Expression Type?

    Hi,
      I've created an expression type in a System Application and marked its Access Level as Global. I've created a Class & Interface and assigned it to my Expression Type, and activated it successfully.
    Now how do use this Expression Type to create expression in my Customizing Applications?
    Do I have to make any more code changes like extending any more classes or implementing additional interfaces? (I've already created a dummy Query Class and UI class)
    Any documentation or example of how to create a user-defined Expression Type and how to use them will be very helpful for me.
    Thank you & Best Regards

    Well I was going through the PDF documents available on SDN. I came across a document which referred to a document on creating user-defined expression.
    Document Name: [BRFplus XML Export and Import|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/20462066-a086-2d10-a999-c9075767ce48?quicklink=index&overridelayout=true].
    The code sample for creating user-defined expression types is available in the How to Create Custom Expression Types document
    Pg. 24
    I had a hard time looking for that document. Couldn't find it though.
    Thank you Mr. Ziegler, now I know that currently there isn't any documentation on User-Defined Expression Types. I'll be awaiting for your  document on this
    Any overview about the steps to be followed in creating a custom expression type, with a few simple steps on how to do it over here would be greatly appreciated. Especially on how to get it seen in the Create Expression Sub-Menu. Also do I have to code a web dynpro for the UI?
    Thank you & Best Regards.

  • User-Defined Table Types - Where is it in SQL Server 2008?

    I am having 2 issues:
    1.  I don't see a folder for 'User-Defined Table Types' under programmability-->Types
    2.  When I execute the following code to create a Type; I get an error 'Incorrect syntax near the keyword 'AS'.'
    USE Locations;
    GO
    /* Create a user-defined table type */
    CREATE TYPE LocationTableType AS TABLE
    ( LocationName VARCHAR(50)
    , CostRate INT );
    GO

    Hi Shayann,
    The  user-defined table type is a new
    feature from SQL Server 2008. If you want to use it you have to upgrade your database to SQL Server 2008 or above.
    In you scenario(SQL Server 2005),as a workaround, you can use the  local temporary table instead. 
    --in SQL Server 2005
    CREATE TABLE tblType(id INT,name VARCHAR(99))
    GO
    CREATE PROC proc1
    AS
    BEGIN
    SELECT * FROM #temp;
    END
    GO
    SELECT * INTO #temp FROM tblType; -- the #temp name is fixed
    INSERT INTO #temp VALUES(1,'Eric');
    EXEC proc1
    --In SQL Server 2008 or above
    CREATE TYPE LocationTableType AS TABLE
    ( id INT,
    name VARCHAR(99) );
    GO
    CREATE PROC proc1 @t LocationTableType READONLY
    AS
    BEGIN
    SELECT * FROM @t
    END
    GO
    DECLARE @t LocationTableType;
    INSERT INTO @t VALUES(1,'Eric');
    EXEC proc1 @t
    I still suggest you upgrade to higher SQL Server.
    If you have any question, feel free to let me know.
    Best regards,
    Eric

  • Crm 7.0 webchannel ,define catalog type query

    Hi all,
    m facing a problem in webchannel (crm),if any of you can guide me in this regard, i would greatly appriciate it..the problem is :
    While performing "define catalog type" ,under the "Folder Template" tab when m trying to assign my newly created AREA & ITEM m getting the message "no values selected, maintain entries" & when i click yes m getting a window "choose customizing project". There is a button stating "continue w/o specifying project", if i click on that its taking me to "Define template for forlder" under basic functions in spro crm.I have already maintained folder for area & item which are saved then why are they not showing when m pressing f4.
    regards,
    Nitin

    I am assuming that your requirement is to create a new catalog type
    Normally, the CRM system comes with few standard catalog types - such as, AUTO and MANU. These catalog types usually have the respective "Areas" and "Items" predefined. For example, the Catalog type MANU has MANU-AREA and MANU-ITEM. The message here is, the standard system does come with several values predefined for these configuration tasks.
    Now, coming to your requirement, if you don't see any standard values in your configuration steps, then there is some issue you should look into.
    In your case, since no standard values are available for the "For Areas" and "For Items" - which actually should be in CRMD_KW_TEMPL table, I think you have to check if everything has been done correctly as far as the upgrade transport or installation transport goes.
    What is the version of CRM are you in? Though the following note is old, it is worth investigating.
    [Note 751751 - Content Management: Error TK295 in Customizing|https://service.sap.com/sap/support/notes/751751]

  • Syntax error when creating a user-defined table type in SQL Server 2012

    Why am I getting a syntax error when creating a user-defined table type in SQL Server 2014?
    CREATE TYPE ReportsTableType AS TABLE 
    ( reportId INT
    , questionId INT
    , questionOrder INT );
    Results:
    Msg 156, Level 15, State 1, Line 1
    Incorrect syntax near the keyword 'AS'.

    Hope these posts could help, 
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/37a45a9a-ed8c-4655-be93-f6e6d5ef44be/getting-incorrect-syntax-while-creating-a-table-type-in-sql-server-2008-r2?forum=transactsql
    Regards, Dineshkumar,
    Please Mark as Answer if my post answers your question and
    Vote as Helpful if it helps you

  • User defined table types sometimes show up a unknown data type in Profiler

    A couple of our users have a problem when using user defined table types. Calls are made using UDTT as variables and these are then passed to a stored procedure as parameters. Sometimes the application returns a timeout. In such situations a Profiler-Trace
    shows the following:
    declare @p4 unknown
    whereas the correct trace (that is sometimes displayed) should be:
    declare @p4 dbo.ReportFilterTableType
    ReportFilterTableType is a UDTT. The users do have correct permissions for the UDTT (otherwise they would never be usable for the user). What could be the reason that the data types for the variable
    @p4 in the example are sometimes returned as unknown and at other times are returned correctly as
    ReportFilterTableType? Could this possibly be a network related issue?
    Thank you.
    Graham Goodwin Email: [email protected]

    I know this is a old post, but i am also facing the same issue that too in my production server. Did you find any workarround for this issue. Please do reply. Critical problem we are facing.
    Alka, Is your problem timeouts when passing TVP parameters, or is it that a Profiler Trace shows type "unknown" for the TVP data type name?
    If your problem is timeouts, be aware that TVPs do not have statistics so the optimizer might not be able to generate an optimal plan for non-trivial queries. Declaring a primary key or unique constraint on the table type may help since that will provide
    useful cardinality information.  You may need to resort to hints in some cases.
    I suggest you start a new thread with details of your specific situation if the information in this thread doesn't help.
    Dan Guzman, SQL Server MVP, http://www.dbdelta.com

  • How do i declare a user defined table type sproc parameter as a local variable?

    I have a procedure that uses a user defined table type.
    I am trying to redeclare the @accountList parameter into a local variable but it's not working and says that i must declare the scalar variable @accountList.this is the line that is having the issue: must declare the scalar variable @accountListSET @local_accountList = @accountListALTER PROCEDURE [dbo].[sp_DynamicNumberVisits] @accountList AS integer_list_tbltype READONLY
    ,@startDate NVARCHAR(50)
    ,@endDate NVARCHAR(50)
    AS
    BEGIN
    DECLARE @local_accountList AS integer_list_tbltype
    DECLARE @local_startDate AS NVARCHAR(50)
    DECLARE @local_endDate AS NVARCHAR(50)
    SET @local_accountList = @accountList
    SET @local_startDate = @startDate
    SET @local_endDate = @endDate
    CREATE TYPE [dbo].[integer_list_tbltype] AS TABLE(
    [n] [int] NOT NULL,
    PRIMARY KEY CLUSTERED
    [n] ASC
    )WITH (IGNORE_DUP_KEY = OFF)
    GO

    Why are you asking how to be an awful SQL programmer??  Your whole approach to SQL is wrong.
    We have a DATE data type so your insanely long NVARCHAR(50) of Chinese Unicode strings is absurd. Perhaps you can post your careful research on this? Can you post one example of a fifty character date in any language? 
    The use of the "sp_" prefix has special meaning in T-SQL dialect. Good SQL programmers do not use CREATE TYPE for anything. It is dialect and useless. It is how OO programmers fake it in SQL. 
    The design flaw of using a "tbl-" prefix on town names is called "tibbling" and we laugh at it. 
    There are no lists in RDBMS; all values are shown as scalar values. First Normal Form (1NF)? This looks like a set, which would have a name. 
    In any -- repeat any -- declarative programming language, we do not use local variables. You have done nothing right at any level. You need more help than forum kludges. 
    --CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
    in Sets / Trees and Hierarchies in SQL

  • How to call user define data type as data type for concurrent parameter

    Hi All,
    i find some difficulty while creating the concurrent program.
    i.e.
    i have one of the parameter of table type i.e. user define data type at PLSql program
    now i need to register same PLSQL program into oracle applications as concurrent program
    but while i am creating Parameters for concurrent program
    How could i define that user define data type at database level in oracle applications using 'Value set' ?
    any one save me from this Problem
    thanks and Regards,
    sai krishna@cavaya.

    Don't think this can be done..
    One way I can think of is to wrap your PL/SQL program under another procedure/package that can accept "normal" parameter,and use/register this wrapper instead of your original pl/sql program.
    HTH

  • Error when try Specify User-Defined Text Types

    Hi all,
    I have a problem when I try to Specify User-Defined Text Types. The system gave me the error what is described below. Do you know how to solve a problem?
    F1
    Choose the key from the allowed namespace
    Message no. SV019
    Diagnosis
    You have attempted to create an entry and have used a key which is not in your namespace.
    This can cause problems in later upgrades because the entry could be overwritten by an import, or overwrite an existing entry.
    Procedure
    Check your entry and try to enter a key value from your namespace.
    You can display the namespace definition with RDDKOR54.
    If you must use the key entered, document your change so that it can be repeated after an upgrade or release change if necessary. If you put the data in a change request, you can export it before an upgrade or release change, and import it again afterwards.

    do you have more details or advice and so on?

  • Syncing contacts: user defined address type won't show in iPod

    Hey,
    I have contacts in my address book with user defined address types. For example, I defined an address type "parents" to save the postal address of my friend's parents.
    After having synced my contacts using iTunes 7.6, my friend's parental address shows up as her private address whereas her private address isn't displayed at all.
    Is this a bug in the iPod firmware (1.2.3) or in AddressBook (Mac OS 10.5.1)?
    Is there a workaround available?
    Thanks for any hint,
    Markus

    Yep, I had the same problem as sfraize - exactly. Address Book showed in the Dock as being active, but didn't display, and wasn't showing in the Force Quit window either.
    Here's what I did:
    1. removed Address Book from the Dock;
    2. tried to launch it from the Applications folder (but it crashed the Finder and I had to shut down by holding the Start key);
    3. on reboot, launched Address Book again from the Applications folder and this time, magically, it worked;
    4. I've now put it back into the Dock, from where it seems to launch just fine.
    Hope this helps people with similar problems!
    I really don't like this horrible leather-effect-torn-pages appearance of the OS apps, by the way. About as progressive and witty and elegant as printing CDs with images of vinyl records (anyone else remember World Party's 1990 album Goodbye Jumbo?)

  • USER DEFINED F1 documentation for seelction screen fields.

    I have one selection screen in my Program.
    If I give F1 , It has to display user defined documentation.
    like...I have customer field in selection screen.
    Select-options:S_CUST for BSAD-KUNNR.
    For this I need doc as "Enter customer number excluding from the Table"
    Not the documentation of the KUNNR field.
    How to do this.
    Many Thanks!!!

    Hi
    You can write what you want to dysplay your text. For example I created a document (type SIMG) by SO72 and this is the code to call it:
    FORM MY_F1_FOR_S_CUST.
      DATA: T_LINE LIKE TLINE OCCURS 0,
            XHEAD  LIKE THEAD,
            HELP_INFO LIKE HELP_INFO,
            TEXC LIKE SY-UCOMM OCCURS 0,
            V_OBJECT LIKE  DOKHL-OBJECT.
    Costants
      DATA: PREF_SIMG(4) VALUE 'SIMG',
            DOCID_HY LIKE DOKHL-ID VALUE 'HY'.
    Object name
      CONCATENATE PREF_SIMG MY_OBJECT INTO V_OBJECT.
    Get Text
      CALL FUNCTION 'DOCU_GET_FOR_F1HELP'
           EXPORTING
                ID       = DOCID_HY
                LANGU    = SY-LANGU
                OBJECT   = V_OBJECT
           IMPORTING
                HEAD     = XHEAD
           TABLES
                LINE     = T_LINE
           EXCEPTIONS
                RET_CODE = 1
                OTHERS   = 2.
      CASE SY-SUBRC .
        WHEN 0.
    Dysplay text
          GET CURSOR FIELD HELP_INFO-DYNPROFLD.
          HELP_INFO-DOCUID         = DOCID_HY.
          HELP_INFO-DOCUOBJECT     = V_OBJECT.
          HELP_INFO-SPRAS          = SY-LANGU.
          HELP_INFO-PROGRAM        = SY-REPID.
          HELP_INFO-DYNPRO         = SY-DYNNR.
          HELP_INFO-DYNPPROG       = SY-REPID.
          HELP_INFO-PFKEY          = SY-PFKEY.
          HELP_INFO-FIELDNAME      = HELP_INFO-DYNPROFLD.
          CALL FUNCTION 'HELP_DOCULINES_SHOW'
               EXPORTING
                    HELP_INFOS     = HELP_INFO
                    OVERLAY_HEADER = XHEAD
               TABLES
                    EXCLUDEFUN     = TEXC
                    HELPLINES      = T_LINE.
        WHEN OTHERS. MESSAGE S720(SH).
      ENDCASE.
    ENDFORM.
    Max
    Message was edited by: max bianchi

Maybe you are looking for