Use Long Text as Import Parameter in function module

Hi,
I need to use long text as import parameter and also in tables tab also. Can anybody suggest me the proper data dictionary names?
aRs

Try with :
CLTLINE  - Text line with language key
CODELINE - coding line
RTLINES
RTFLINES
RFCLINES
RFC_TLINE
TLINE
TLINE10
TLINE11
TLINE12
TLINE13
TLINE14
TEXTLINES
Thanks
Seshu

Similar Messages

  • Checkbox as import parameter in function module

    Hi all,
    how to create a checkbox as import parameter in function module,
    thnx in advance

    ?? Function modules don't have screens...they do have import, export parameters.
    If you look at how "checkboxes" are stored in db tables, you'll see that the previous replies are precisely correct.  A check box is a char1 field...it is on when 'X' (ABAP_TRUE) and off when blank (initial)....you would call your FM with an import field of type char1 set to 'X' or set to space, and handle accordingly in your FM code.
    If you have a checkbox on a selection screen, then the value of that parameter is either 'X' or space, depending upon whether or not the user checked the box.

  • Import parameter in Function Module for user exit

    Hi Experts,
    I need to send IDOC when PO release, for that i found an Exit M06E0004. It is having
    FUNCTION EXIT_SAPLEBND_002.
    ""Lokale Schnittstelle:
    *"  IMPORTING
    *"     VALUE(I_CEKKO) LIKE  CEKKO STRUCTURE  CEKKO  " EKKO table
    *"     VALUE(IT_BEKPO) TYPE  MMPUR_BEKPO OPTIONAL  " EKPO table
    *"     VALUE(IT_BEKET) TYPE  MMPUR_BEKET OPTIONAL    " EKEt table
    *"     VALUE(IT_EKKNU) TYPE  MMPUR_EKKNU OPTIONAL  
    *"  EXPORTING
    *"     VALUE(E_CEKKO) LIKE  CEKKO STRUCTURE  CEKKO
      INCLUDE ZXM06U22.
    ENDFUNCTION.
    All of the fields i have to take in IDOC segment r from EKKO and EKPO table, but 1 field is from MDSB table (MDSB-MATNR), how can i take it in the code i have to write. can i take TABLE: MDSB in the include, or any other way. because its standard FM we cant take it in IMPORT.
    Regards,
    Nik

    Hello Nik
    You can use a similar approach as described in thread:
    Get Parameter from Standard Transaction to BADi
    You need to find out in which main program MDSB is defined. Then you can try to access this field dynamically from within your exit.
    Alternatively, you have to search for a function module which can retrieve this (runtime) information (MDSB-MATNR).
    Regards
      Uwe

  • Passing parameter in function module

    hi friends,
    I have created one function module in which i need to pass PO/SO number from standard EKKO/VBAK tables through the select option parameter S_POSONO. Inside the function module I have a select query which fetches the records from a Z-table which has a field called 'REFERENCE' which is 16-char long. Hence the length mismatches with PO/SO no which is 10-char long. the first 10-char from 'REFERENCE' is PO/SO number, next 3-char is line-item num, and the last three char is schedule item num. It is required to match only first 10-char with the parameter passed i.e, S_POSONO and display only those datas.
    The function module is as follows.....
    Function :
    CALL FUNCTION 'YFIIN_RETRIEVE_SOURCE_DATA'
    EXPORTING
       LT_RANGE_BUKRS          = S_BUKRS[]
       LT_RANGE_DOCNO          = S_POSONO[]
       LT_RANGE_DOCDATE        = S_DATUM[]
       LT_RANGE_CURRENCY       = S_FCURR[]
      TABLES
        IT_TEMEXPOSU            = LT_TEMEXPOSU
    EXCEPTIONS
       INVALID_SELECTION       = 1
       OTHERS                  = 2.
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Source code inside function module:
      SELECT * FROM ZFIGL_TEMEXPOSU INTO  TABLE IT_TEMEXPOSU
                                     WHERE   COMPANY_CODE IN LT_RANGE_BUKRS
                                     AND  currency in LT_RANGE_CURRENCY
                                     and  REFERENCE in LT_RANGE_DOCNO
                                     and  doc_date in LT_RANGE_docdate.
    IF SY-SUBRC = 0.
    SELECT COMPANY_CODE ATTRIBUTE_01 REFERENCE CREATION_DATE FOREIGN_CURR                                                               
               FROM TEMT_RAWEXPOS APPENDING CORRESPONDING FIELDS OF
                   TABLE IT_TEMEXPOSU WHERE COMPANY_CODE IN  LT_RANGE_BUKRS
                                     AND REFERENCE in LT_RANGE_DOCNO
                                     AND CREATION_DATE IN  LT_RANGE_DOCDATE
                                     AND FOREIGN_CURR IN LT_RANGE_CURRENCY.
       ENDIF.
    Import Parameter of Function Modules :
    LT_RANGE_BUKRS   - type - BUKRS
    LT_RANGE_DOCNO  - type - EBELN
    LT_RANGE_DOCDATE - type - DOKDATS
    LT_RANGE_CURRENCY - type - WAERS
    please help me to solve this problem..

    Hi Ram Tej,
    Try this.
    First Read all the records without Checking REFERENCE field with LT_RANGE_DOCNO into an internal Tbale.
    Then looping at that internal table delete records from the same internal table where REFERENCE(10) <> LT_RANGE_DOCNO.
    Hope this may help ur requirement.
    Award points if useful.

  • How to Search document by using Long text description contents in SAPEasy DMS

    Hi,
    How to Search document by using Long text description contents in SAPEasy DMS
    Regards,
    Shrikant Shinde

    Hi Alfredo,
    Thanks for reply..Will you please explain in brief what are the  OCR program and workflow.
    Will you please send me any docs on [email protected]
    Thanks
    shiv.

  • Fetch data from table(ET_) which is exporting parameter of function module

    Hi,
    I m new to ABAP programming.
    I have to develop a smartform that has to be filled in with fields from few tables.
    These tables have the naming convention ET_<XXX> (i.e. exporting parameter of function module).
    I m not able to directly view its contents in se11 or use select query for it.
    I have a report program which i can execute to view these parameter names.
    Now, how do i fetch data from these parameters/tables and pass it from my driver program to smartform??
    Someone pls guide me...
    Thank You.

    Hi,
    I have done that using Field-Symbols.
    Thanks,
    Preetha

  • Add parameter in Function Module

    hi all,
    I'm trying to add a parameter to function module HRGPBS_HER_GET_SURNAME_NINO.
    However, the system is telling me to carry out modification comparison first.
    Can someone guide me on using SPAU or SE95, as I don't understand what to enter in the selection area?
    thanks

    If you go to transaction code: SPAU, you can find the item (program, function module, screen, etc) in question, open the tree to the lower levels. On the lower item, you can choose to save your changes or revert back to original.
    The developers should be able to tell what has been changed. In most cases, we wanted to keep our changes with the exception of when a change was made and later a note was released to produce the same result or if new functionality is released related to the item in question.
    Hope this helps.

  • Can't use F4 when try to test Z_INPUT_CUSTOMER function module

    Hi!
    I'm buy book "ABAP Objects" 2nd edition 2007 and try to make all exampless my self. All my examples have prefix Y (in program already used prefix Z by book authors). When i'm make reservation car example i have trouble to test my example with function module.
    Can't use F4 when try to test Y_INPUT_CUSTOMER function module.
    And i try to find error in Z_INPUT_CUSTOMERS. Bethween my program and builtint example i found 1 diffirence: built in example have object SREEN 1100 in tree OBJECT NAVIGATOR. When i try to make new srceen happents error (already exist). Because in module declared screen 1100.
    How can i fix error?
    Best Regards.
    [email protected]

    Hi!
    Thank every one. I have found my mistake. I forgot to make search help for id in table customers.
    Best regards.

  • Is there a way to use business objects in the program or function module?

    Hi Experts,
    Is there a way to use business objects in the program or function module.
    Thanks in Advance.
    Naval bhatt

    Hi Naval,
    Ofcourse you can use business objects in your programms/ methods.
    You can use function modules or macros (available from include <cntn01>) for using business objects in your application.
    refere following two links for startup information
    http://www.sap-img.com/abap/reading-attribute-of-a-business-object-in-abap.htm
    http://www.jt77.com/business-warehouse/work-flow-12619.html
    Regards,
    Abhijit

  • Using long text in Mobile 7.1

    Hello,
    We are using Mobile 7.1. We want to display a long text of the notification object in the Mobile Client. We defined this field as STRING data type in the DOE and set TEXT MEMO flag for it. Unfortunately we have a problem with its definition in the backend. This field is included in the header structure for the noitification obect so when we define it as STRING (DSTRING data element), we get compilation error that STRINGS cannot be defined in the flat structure.
    So how can we define this field in the backend in order to transfer more than 256 characters?
    Thanks in advance,
    Sergey

    Hi,
    You need to have a separate table to store attachments in the backend.
    In the DOE define the attribute as STRING(tick the text memo) [This you have already done] .
    In the backend you will need another table where you will be storing the attachments.
    Lets assume you have a notification table : In this define the field for headertext with the data type as CHAR  and length 1
    Create another table where you want to store the attachments:
    You can have the fields as NOTIFICATION and HEADERTEXT. This headertext should have a datatype STRING. You can also have a field called attachment type to store whether it is HeaderText or Binary Memo.
    Create a BAPI wrapper for getting the HEADERTEXT with importing parameter as NOTIFICATION and exporting HeaderText and a return parameter:
    Here the source code:
    SELECT SINGLE b~headertext INTO e_headertext
             FROM <notification table> AS a
               INNER JOIN <attachment table> AS b ON
                 borderid = aorderid
                 WHERE a~orderid = orderid AND
                  a~headertext = 'X' and
                  b~ATTCHTYP = 'HEDTXT'.
    Now in the DOE : give this function module name in the attachment Function module. SAVE (very important)
    After doing the mapping go to the attachment tab and do the mapping with the attachment function module.
    save and activate the backend adapter.
    execute SDOE_LOAD.
    Go to SE11: there should be a table starting <cds table name>ending with _TM.
    Create an application in the similar way. No extra code required.
    Thanks and Regards,
    Narayani

  • How to use long text editor in Webdynpro

    hi ,
    I want to use text editor in webdynpro.  I want to save the data in  long text.
    My requirement is the format of data should remain same(It should not get changed).
    Thanks
    SK

    Hi,
    use text editor uielement and bind it with a attribute of type string.  convert this string into a table using function module
    fill another internal table which is type compatible with table of SAVE_TEXT function module.
    CONVERT_STRING_TO_TABLE. Call the function module SAVE_TEXT to save this text. 
    you need to find proper tdobject and tdid value which is to be passed in importing parameter "header".
    similarly use FM "READ_TEXT" and convert the returned data into string using FM CONVERT_TABLE_TO_STRING.
    Bind the returned table to an attribute of your context. The data will be displayed in the same format in which you entered it.
    Thanks
    Vishal Kapoor
    Edited by: vishal kapoor on Oct 19, 2010 3:51 PM

  • Use of input parameter of function module

    Hi,
    we implemented an enhancement of a function module with a new inputparameter.
    Now we would like to do some follow-up to see if our developers are starting to use this new parameter.
    Is there a way to find this out? We can do a program scan on the name of this new parameter, but this does not seem to be enough.
    Thanks for the advice.
    Kris

    Hi Kris,
    as described, you can do a where-used-list and expand the nodes.
    This will not cover any dynamic calls.
    If you want to know the real use of the new parameter, then you can implement a LOG-POINT in the function module, like
    FUNCTION xyz.
    IF NEW_PARAMETER IS SUPPLIED.
      LOG-POINT ID YOUR_LOG_POINT FIELDS sy-uname sy-uzeit sy-cprog NEW_PARAMETER.
    ENDIF.
    You can create, activate and evaluate LOG-POINTS with transaction SAAB. It is extremely helpful for a lot of analyzing purposes as you can switch logging on and off for users and servers on the fly. If you know what you want to know you can leave the log-points in the program code and just deactivate logging.
    Regards,
    Clemens

  • How to use long texts in explanation tool tip?

    Hi ,
         Can anyone tell me how to add long text in Explanation tool tip?
    I am able to use short OTR texts in explanation tool tip but not able to use long OTR texts.
    Thanks and regards,
    Vivek Shetty.

    For long text
    method1
    Create TEXT node- general attributes change text type to include text
    then you can input text name/text object/text id/language
    method2
    create PROGRAM LINE node - use FM READ_TEXT to read it to a internal table
    then use LOOP or TABLE node to display it
    For TEXT module(For foreign language)
    Tr-code:smartforms -- choose Text module(not choose form)--create a text module object
    then enter smartform Create TEXT node- general attributes change text type to text module
    input the text module name which created by above
    btw SO10 is just for Scriptform, in smartforms we use text module to replace SO10

  • BPS web enabled exel text subcomponent  using long text

    i used text subcomponent and the long text. 
       If I enter data as such:
              this is a test
              to go to a new line
      the data displays like this
          this is a test to go to a new line
      How can I get it to display as
          this is a test
          to go to  a new line
       Or how to read in a word document that will not show a buch of garbage at the beginning and the end etc...

    i used text subcomponent and the long text. 
       If I enter data as such:
              this is a test
              to go to a new line
      the data displays like this
          this is a test to go to a new line
      How can I get it to display as
          this is a test
          to go to  a new line
       Or how to read in a word document that will not show a buch of garbage at the beginning and the end etc...

  • (internal) Tables obsolete as parameter in function modules,

    Hi
    As you probably can see by the question, my ABAP Knowledge isn't exactly overwhelming !
    <i>anyway:</i>
    I'm trying to create a function module in NW2004s, This functionmodule should take an internal table, based on a structure as (import) parameter.
    In the earlier version, I've done this by defining it under the TAB 'Tables' in the function builder - But know its telling me that "<i>Tables Parameters are obsolete</i>", and that I should define it under "Changing" instead.
    I have tried that, but I'm only allowed to pass a single line, and if I try to do a Loop, in the function module, it tells me that ity isn't created as an internal table.
    So please - what is the "best practice" here ?
    Regards
    Morten Nielsen

    Hi All,
    I followed Steps 1 and 2 but when I use the following select statement I get a dump with the error enclosed.
    Step1. Created a structure ZDFKKCOHI which is a replica of DFKKCOHI.
    Step2. Created a table type ZDFKKCOHITABLE with line type as ZDFKKCOHI.
    Step3. In my function module I have a changing parameter ZDFKKCOHIPARAM of type ZDFKKCOHITABLE.
    Step 4. When I use the following select clause I am getting a dump.
    DATA: wa_zdfkkcohi LIKE LINE OF zdfkkcohiparam.
      SELECT *
      FROM dfkkcohi
      INTO  CORRESPONDING FIELDS OF TABLE zdfkkcohiparam
      WHERE cotyp EQ zcotyp
      AND gpart EQ zgpart
      AND corr_status EQ zcorr_status.
      LOOP AT zdfkkcohiparam INTO wa_zdfkkcohi.
    *Move IT_ZDFKKCOHI to ZDFKKCOHIOUT.
    *Append ZDFKKCOHIOUT.
    *Clear IT_ZDFKKCOHI.
      ENDLOOP.
    What could be wrong?
    Thanks for all your help in advance.
    Regards,
    Divya

Maybe you are looking for

  • Touchpad randomly stops working and I need to disable/enable it in driver settings

    My mouse touchpad sometimes (very often, actually) just stops working completely (no mouse movements, no clicks etc.), it's just completely dead, even both click buttons. What I then need to do in order to temporarily fix it is to go Synaptics Pointi

  • Batch Number field in FB03

    Hi Friends, My client would like to have one additional field "Material Batch Number" field (i.e MSEG-CHARG) column in FB03 - Document Display layout. Need your help in achieving it. Thanks in advance. Regards, Sangharsh Navada

  • Does anyone have SSL working with the Sun Java System App Server PE?

    We have been having problems (to say the least) getting SSL to work with the Sun Java Application Server 8.1 Platform Edition. We have a signed certificate from VeriSign and have it imported correctly, but when you test it by going to https://localho

  • Bi in 12 no longer defaults blank template format to pdf

    Template formats previous left blank in 11i used to default to PDF. In release 12 this is not the case. Tested internally and it defaulted to EXCEL with running a Bi concurrent request. Is there a way to make blank formats default to pdf?

  • Muse showing as running in trial mode

    Hello, i'm having a cloud account...so i can have/use every program...but with muse i still get the question...this software remain 4 days, want to buy it?? or something like this... Do i something wrong...beside this i have several cs6 programs inst