Hide a field of function module

hi
in my customized FM if i give the report id it will display the page number, date, system name ,report name, etc., in the header of the report
i just dont want the page number to get displayed in the header of the report how to hide the field from displaying

Hi Varalakshmi,
  I think u can use the <b>READ LINE <LINE NO></b>........statement along with
                                     <b>REPLACE</b>........... statement to change the contents of the list output.
something like this:
read line 1 of page 1.
replace <> with SPACE into sy-lisel.
modify current line.
Message was edited by:
        Rajesh

Similar Messages

  • How to fetch values at runtime in field exit function module

    Hi all,
    I am creating a field exit for delivery date in Purchase requisition.
    For that I need to capture Delivery Date and Sale Order entered in purchase requisition and pass this to Function module and validate this data.
    I am using import and export parameters but it is giving runtime error.
    please tell me how to solve it.
    Regards,
    Sunny

    Hi,
    There are other ways to access the purchase requisition related values..that is using field symbols..
    pls check the below mentioned link:
    Re: Pricing Routine : Can we get the VBAP Data in this pricing routine.(VOFM)
    Identify the similar data fields for requisition.
    Hope this wil help..
    Sumit

  • Error with field E_ENDEDATUM, function module PK_ENDDAT_AUS_START_PLUS_WORK

    Hi
    Well, i don´t know exactly were put this, but, here it is.
    The estandard function module PK_ENDDAT_AUS_START_PLUS_WORKD has an error on his definition: due to the field E_ENDEDATUM has no type, when you test it on SE37, gets a dump error message.
    Maybe using it directly in a program, may not happen (I didn´t tested it), but if you first need make tests, you CAN NOT!!
    How notify this issue to SAP AG or to somebody of staff of programming???
    Thanks in advance.
    José Gabriel Martínez.

    you cannot test it in SE37. you have to write a small program to call this function and test it.
    and the data type of the variable to be used with E_ENDEDATUM  should be of type sy-datum or SCAL-DATE
    Regards
    Raja

  • Error with the FIELD CAT function module.

    Hi folks,
    This was the error message i had got from the FIELDCAT function module.
    An exception occurred that is explained in detail below.
        The exception, which is assigned to class 'CX_SY_READ_SRC_LINE_TOO_LONG', was
         not caught in
        procedure "K_KKB_FIELDCAT_MERGE" "(FUNCTION)", nor was it propagated by a
         RAISING clause.
        Since the caller of the procedure could not have anticipated that the
        exception would occur, the current program is terminated.
        The reason for the exception is:
        There was an attempt to read program "/A1SSPC/ITP_SCH_REP" from the database.
        The READ REPORT statement allows you to copy a program text into an
        internal table. The occupied line length in the program text must not
        exceed the width of the internal table.
        The internal table "\FUNCTION=K_KKB_FIELDCAT_MERGE\DATA=???" is 72 characters
         wide. The program line is
        204 characters wide.
    Reg,
    Hariharan

    You can do this
    TYPE-POOLS:slis.
    DATA: it_vabp TYPE STANDARD TABLE OF vbap WITH HEADER LINE.
    DATA: it_fieldcat TYPE slis_t_fieldcat_alv.
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
       i_program_name               = sy-repid
       i_internal_tabname           = 'IT_VBAP'
       i_inclname                   = sy-repid
      CHANGING
        ct_fieldcat                  = it_fieldcat
    * EXCEPTIONS
    *   INCONSISTENT_INTERFACE       = 1
    *   PROGRAM_ERROR                = 2

  • Call Pop-up screen with I/O fields form function module.

    Hello experts,
      I have a Zfunction module with input paramteres i_matnr, i_posnr and i_kwmeng.
      My requirement is to call a pop-up screen with following fields.
      Material - Inputbox for material (Read Only)  " v_matnr
      Item     - Inputbox for Item (Read Only)      " v_posnr
      Quantity - Inputbox for Qty (Read Only)       " v_kwmwng
      Price    - Inputbox for Qty (Change only)     " v_price
      Submit button.
      I created function ZSD_MAT_DATA.
      Added statement CALL SCREEN 0005
    In PBO_0005, (include Prog)
      v_matnr = i_matnr
      v_posnr = i_posnr
      v_kwmeng = i_kwmeng
    1. But it gives me error for not declaration i_matnr. What I am missing here?
    2. Is there anything to make window as pop-up with some specific size?
    Regards,
    RH

    Hi,
    You can use the stanadard FM K_KKB_POPUP_RADIO3
    else like same you can craete a new function accordind to your requirement.
    Hope it helps you.
    Reagrds
    Arbind

  • Use of structure ICL_SFC_DI in function module ICL_CLAIM_DI

    Hi.
    We are using function module ICL_CLAIM_DI to create claims and we want to add data to some SFC fields, the function module has a structure called ICL_SFC_DI for creation of the fields.
    In some of our SFC fields the answer is declared as a "Free Text" field, but i cant seem to find a field in the ICL_SFC_DI structure to fill in the free text?
    Regards Liselotte

    Hi,
    I'm more into functional side of claims management, however will attempt to answer this question.
    The Free text of an SFC and a normal options, both share the same field :
    Answer / BSFC_ANSWER / ICL_SFC_DI
    Value Range Table: TBSFC002
    Hope this helps.
    Regards,
    Anish

  • PO requisition personalization Query_Want to hide Supplier field

    My client requirement is to hide supplier field in the po requisition form because requstor would not view the list of suppliers names in the LOV.
    I have tried to hide the SUPPLIER field but folder menu option is not active, without that i cannot hide the field.
    Can any one advise me how to disable the supplier field using form personalization
    Quick responses is higly appreciated.
    Thanks in advance

    Hi,
    Following personalization steps will hide the supplier field.
    Seq - 10
    Description - Hide supplier field
    Level - Function
    Enabled - Checked
    Condition tab
    Trigger Event - WHEN-NEW-FORM-INSTANCE
    Actions tab
    Seq - 10
    Type - Property
    Description - Hide Supplier field
    Object Type - Item
    Target Object - LINES.SUGGESTED_VENDOR_NAME
    Property Name - Displayed
    Value - False
    Finally apply the changes and re-open the form.
    Let me know how you go.
    Thanks,
    PS.

  • Regarding Function Module trace.

    Hi,
    How are you ?. I need a help for Function Module datasources of how to get info of fields related to tables. I tried ST05 of SQL Trace but not showing complete picture and I heard through ST12 can do Function module trace to obtain table names. Can you kindly walk me through of how to Obtain table names for fields for Function Module Datasources through ST12 or any tcode in detail.
    Thanks in advance.
    Regards
    Srinivas M.

    Hi Srinivas,
    I suggest to first have a look at the SAP Help for Business Content DataSource. You might find information on the source tables here.
    As a next step you can have a look in the coding of the Function Module or debug it. You have to look to statements like TABLES and SELECT.
    As a last step (and maybe time-consuming) execute an SQL Trace using t/code ST05 during executing t/code RSA3 in the Source System.
    Best regards,
    Sander

  • Error with quantity field:Datasource Creation Using Function Module method

    Problem with DATASOURCE Creation using Function Module method :
    I have created a datasource ZSTANDARD_COST_PRICE using Function Module method . The datasource creation is successfull when I remove the quantity field from the Z table . If I dont remove the quantity field from my Z table it gives an error as "Units Field WAERS for field STPRS of datasource ZSTANDARD_COST_PRICE is hidden". I am not able to remove this error . Please someone guide.
    Let me know if my explanation is not clear enough.
    Thanks in advance,
    Neha.
    Z table definition is as below :
    MATNR MATNR CHAR 18 0 Material Number
    BWKEY BWKEY CHAR 4 0 Valuation area
    LFGJA LFGJA NUMC 4 0 Fiscal Year of Current Period
    STPRS STPRS CURR 11 2 Standard Price   " Here the currency field is WAERS and table T001
    PEINH PEINH DEC 5 0 Price Unit
    VJSTP VJSTP CURR 11 2 Standard price in previous year
    VJPEI VJPEI DEC 5 0 Price unit of previous year.
    Edited by: Neha Rathi on Jan 30, 2009 3:03 PM

    Hi,
    You should add it as one of the main fields as you have added other fields and not as the currency fields...that is..it should be part of the data source and you should be able to see it in RSO2...
    Also if added as i said then it will come as new field in the data source...you can either let it be there...or hide it..
    also if you want to populate it then you will have to write the code for this fields as well.
    Thanks
    Ajeet

  • Use HIDE in Function Module.

    Hi expert,
    When I using HIDE in my function module, i got an error message said that
    "You cannot use HIDE with a local field". How can this happen and what can i do?
    Pls advise. Thanks.

    hI
    <b>UCCHECK</b>
    <b>ABAP Unicode Scan Tool UCCHECK</b>
    You can use transaction UCCHECK to examine a Unicode program set for syntax errors without having to set the program attribute "Unicode checks active" for every individual program. From the list of Unicode syntax errors, you can go directly to the affected programs and remove the errors. It is also possible to automatically create transport requests and set the Unicode program attribute for a program set.
    Some application-specific checks, which draw your attention to program points that are not Unicode-compatible, are also integrated.
    <b>Selection of Objects:</b>
    The program objects can be selected according to object name, object type, author (TADIR), package, and original system. For the Unicode syntax check, only object types for which an independent syntax check can be carried out are appropriate. The following object types are possibilities:
    <b>PROG Report</b>
    CLAS Class
    FUGR Function groups
    FUGX Function group (with customer include, customer area)
    FUGS Function group (with customer include, SAP area)
    LDBA Logical Database
    CNTX Context
    TYPE Type pool
    INTF Interface
    <b>Only Examine Programs with Non-Activated Unicode Flag</b>
    By default, the system only displays program objects that have not yet set the Unicode attribute. If you want to use UCCHECK to process program objects that have already set the attribute, you can deactivate this option.
    <b>Only Objects with TADIR Entry</b>
    By default, the system only displays program objects with a TADIR entry. If you want to examine programs that don't have a TADIR entry, for example locally generated programs without a package, you can deactivate this option.
    <b>Exclude Packages $*</b>
    By default, the system does not display program objects that are in a local, non-transportable package. If you want to examine programs that are in such a package, you can deactivate this option.
    <b>Also Display Modified SAP Objects</b>
    By default, SAP programs are not checked in customer systems. If you also want to check SAP programs that were modified in a customer system (see transaction SE95), you can activate this option.
    <b>Maximum Number of Programs:</b>
    To avoid timeouts or unexpectedly long waiting times, the maximum number of program objects is preset to 50. If you want to examine more objects, you must increase the maximum number or run a SAMT scan (general program set processing). The latter also has the advantage that the data is stored persistently. Proceed as follows:
    - Call transaction SAMT
    - Create task with program RSUNISCAN_FINAL, subroutine SAMT_SEARCH
    For further information refer to documentation for transaction SAMT.
    Displaying Points that Cannot Be Analyzed Statically
    If you choose this option, you get an overview of the program points, where a static check for Unicode syntax errors is not possible. This can be the case if, for example, parameters or field symbols are not typed or you are accessing a field or structure with variable length/offset. At these points the system only tests at runtime whether the code is sufficient for the stricter Unicode tests. If possible, you should assign types to the variables used, otherwise you must check runtime behavior after the Unicode attribute has been set.
    To be able to differentiate between your own and foreign code (for example when using standard includes or generated includes), there is a selection option for the includes to be displayed. By default, the system excludes the standard includes of the view maintenance LSVIM* from the display, because they cause a large number of messages that are not relevant for the Unicode conversion. It is recommended that you also exclude the generated function group-specific includes of the view maintenance (usually L<function group name>F00 and L<function group name>I00) from the display.
    Similarly to the process in the extended syntax check, you can hide the warning using the pseudo comment ("#EC *).
    <b>Applikation-Specific Checks</b>
    These checks indicate program points that represent a public interface but are not Unicode-compatible. Under Unicode, the corresponding interfaces change according to the referenced documentation and must be adapted appropriately.
    <b>View Maintenance</b>
    Parts of the view maintenance generated in older releases are not Unicode-compatible. The relevant parts can be regenerated with a service report.
    <b>UPLOAD/DOWNLOAD</b>
    The function modules UPLOAD, DOWNLOAD or WS_UPLOAD and WS_DOWNLOAD are obsolete and cannot run under Unicode. Refer to the documentation for these modules to find out which routines serve as replacements.
    <b>REWARD IF USEFULL</b>

  • What is the Function MOdule that returns the fields in database table order

    Hello Folks
      I have a dynamic internal table with fields ( which are not in order). I want to display them in the order of which they are present in the database table? Is there any function module that returns the fields in database order?
    FAQ. Please search before posting your question.
    Edited by: Suhas Saha on Oct 10, 2011 10:19 PM

    Hi,
    You can use this BAPI.
    <b>BAPI_SALESORDER_GETLIST</b>
    Reward if useful.
    Regards,
    Vimal

  • How to pick the entries from a function  module fields values

    hi guys,
                i have a function module 'BP_JOBLOG_READ’.when i execute this for a particular jobname,i will get some entries.again if i click those entries,i will get some fields with values.in that one field 'text' contains total credit amount(purely numeric).how to fetch this value into internal tabel and update into my internal table.very urgent.plz provide some coding.rewards wil b there for helpful sggestion.

    Mahesh,
    Use the FM  BP_JOBLOG_SHOW  to display those job logs.
    Hope this is helpful.
    Thanks,
    Naren

  • Type conflict when calling a function module (field length)

    Dear All,
                I am getting this following error while executing:  Type conflict when calling a function module (field length)
    This is piece of coding i have writern in my action button.
    method SEARCH_MATERIAL .
      data:
            node_mat_input TYPE REF TO  if_wd_context_node,
            node_mat_output TYPE REF TO if_wd_context_node,
            material TYPE BAPIMATDET-MATERIAL,
            itab TYPE TABLE OF BAPIMATDOA.
      node_mat_input = wd_context->get_child_node( 'NODE_MAT_INPUT' ).
      node_mat_output = wd_context->get_child_node( 'NODE_MAT_OUTPUT' ).
      node_mat_input->get_attribute( EXPORTING name = 'MATERIAL'
                                     IMPORTING value = material ).
      CALL FUNCTION 'BAPI_MATERIAL_GET_DETAIL'
        EXPORTING
          material                    = material
        PLANT                       = plant
        VALUATIONAREA               =
        VALUATIONTYPE               =
        MATERIAL_EVG                =
       IMPORTING
         MATERIAL_GENERAL_DATA       = itab
        RETURN                      =
        MATERIALPLANTDATA           =
        MATERIALVALUATIONDATA       =
      node_mat_output->bind_table( itab ).
    endmethod.
    Attributes are:
    Node name = INPUT its structure is BAPIMATDET
    INPUT attributes = MATERIAL of type BAPIMATDET-MATERIAL
    Thanks,
    Gopi.

    Hi Amit,
               I have used service call to fetch records from that bapi..
    The following is the code generated by service call:-
    METHOD execute_bapi_material_get_deta .
    declarations for context navigation
      DATA:
        node_bapi_material_get_de   TYPE REF TO if_wd_context_node,
         node_exporting   TYPE REF TO if_wd_context_node,
         node_material_general_dat   TYPE REF TO if_wd_context_node,
         node_importing   TYPE REF TO if_wd_context_node,
          lri_element    TYPE REF TO if_wd_context_element.
    declarations for fuba parameters
      data:
        stru_c_material_general_dat    TYPE if_componentcontroller=>element_material_general_dat.
      DATA:
        attr_material    TYPE bapimatdet-material,
        attr_plant    TYPE bapimatall-plant.
    get all involved child nodes
      node_bapi_material_get_de = wd_context->get_child_node( `BAPI_MATERIAL_GET_DE` ).
      node_exporting = node_bapi_material_get_de->get_child_node( `EXPORTING` ).
      node_material_general_dat = node_exporting->get_child_node( `MATERIAL_GENERAL_DAT` ).
      node_importing = node_bapi_material_get_de->get_child_node( `IMPORTING` ).
    get input from context
      node_importing->get_attribute(    EXPORTING      name = `MATERIAL`
                                                         IMPORTING      value = attr_material ).
      node_importing->get_attribute(  EXPORTING       name = `PLANT`
                                                              IMPORTING       value = attr_plant ).
    the invocation - errors are always fatal !!!
      CALL FUNCTION 'BAPI_MATERIAL_GET_DETAIL'
        EXPORTING
          material =                        attr_material
          plant =                           attr_plant
    "      valuationarea =                   wd_This->Valuationarea
    "      valuationtype =                   wd_This->Valuationtype
    "      material_Evg =                    wd_This->Material_Evg
        IMPORTING
          material_general_data =           stru_c_material_general_dat
    "      return =                          wd_This->Return
    "      materialplantdata =               wd_This->Materialplantdata
    "      materialvaluationdata =           wd_This->Materialvaluationdat
      node_material_general_dat->bind_structure( stru_c_material_general_dat[] ).
    ENDMETHOD.
                                 but the problem is I  am getting the following error while compiling...
    " stru_c_materialplantdata " is not an internal table - the " OCCOURS n"  specification is missing.
    Thanks,
    Gopi.
    Edited by: Yegalaivan on Nov 18, 2009 8:30 AM

  • BAPI function module name and mandatory fields

    Give the name of BAPI function module for pricing change into the transaction VA05 ?
    What are the mandatory fields ?
    Please give a exemple code to do this.

    Hi,
    VA05 is for list of sales order. But if you want to change pricing of material stocks go for follwoing fn module.
    BAPI_SALESORDSTCK_PRICE_CHANGE
    If you want other BAPI for sales related, just go to SE37, give BAPISALE and press F4, you will get all the BAPI fn modules.
    Rewards points if helpful.
    Regards,
    CS.

  • Accessing all the fields of a function module in EWM

    Hi All,
    I have a requirement to prepare a report that pulls some fields of the Function module /SCWM/STOCK_INC_OUT_MON.
    This Fuction module is in EWM.
    I need result rows for multiple values(user inputs) of warehouse.
    Cant we access individual fields from this FM without using the structure?
    i need to pull the fields MATNR, NLPA PROC and GRDATE
    for all the user entries in Wahrehouse code
    Thanks, Arka

    Hi,
    You can use the work area to capture the output of the function module and then use the data (fields) which ever you require.
    The structure of the Work area (Data Types of the field) should be same as data types of output parameters of that Function Module.
    Hope this helps.
    Regards,
    Shweta Soragavi

Maybe you are looking for

  • Re: problem calling a method from another class

    This line here: app.computeDiscount(ord,tentativeBill);... You are not capturing the returned amount. double d = app.computeDiscount(ord,tentativeBill);

  • Error in Upgrading 10.1.0.3 to 10.2.0.1

    I am upgrading an Oracle 10.1.0.3 db to 10.2.0.1 on a Linux server. I have run the Pre_Upgrade scripts, made the recommended db changes, run statistics, compiled the Invalid objects, and restarted the database in Upgrade mode. Started 'dbua' (with th

  • How to provide a stable stream service in FMS2

    Hi, My name is Charley Shin. I use FMS2 dev. version to streming Flash Videos for test. But it doesn't stable. 1. When I want to play a next video, the swf load continuously. Then I click stop button and play again. This work properly. I check that F

  • Material documents can not be printed

    hi!! I see that material documents can not be printed material in a storage, we need to print at least the original and copies I mean to be printed two copies when you post the transaction MIGO_TR. When performing the movement I leave the check box a

  • I pod cases, do they work with i phone?

    Hi,I saw a case for the ipod nano and wanted to know if it would work with the iphone. The reason is because it has a arm band and a neckband that would be great for the gym. Thanks...