Export parameter

Hi,
I need to export the number generated in an internal message. I have the message ID and number.
But while doing the simulation of the transaction, the field does not appear.
How can i set it as an export parameter?
I am using Message.. Endmessage...and also mentioning message id and number.
Thanks & Regards
Sonalika

Hi,
Usually MSGVX will contain more information for a particular message.
So if you know the message number and id then use below pseudo code.
if e_msg_1[id] = 'abc' and e_msg_1[nr] = 123
then
number = e_msg_1[msgv1].
endif
regards
vinay

Similar Messages

  • Purpose of FACTORYDATE export parameter in  date_convert_to_factorydate

    purpose of FACTORYDATE export parameter in  the bapi date_convert_to_factorydate . I want to know that the decimal value it holds, is what .

    purpose of FACTORYDATE export parameter in  the bapi date_convert_to_factorydate . I want to know that the decimal value it holds, is what .

  • How to use internal table in Exporting Parameter of method.

    Hi Friends,
    I am new to abap oops and using the following code to read a select-option and pass the data in an internal table but on defining
    internal table of a standard  type it is giving me following error :
    ITAB is not an internal table - the OCCURS n specification is missing.
    code
    ====
      class lcl_get_details DEFINITION.
        PUBLIC SECTION.
          types : r_carrid type RANGE OF sflight-carrid.
          data  : itab type STANDARD TABLE OF sflight.
          METHODS : get_data IMPORTING s_carrid type R_carrid
                             EXPORTING itab type sflight.
      ENDCLASS.   
    class lcl_get_details IMPLEMENTATION.
      METHOD get_data.
        select *
        from sflight
        into table itab
        where carrid in s_carrid.
        if sy-subrc eq 0.
          sort itab by carrid.
        endif.
      endmethod.   
    ERROR : ITAB is not an internal table - the OCCURS n specification is missing.
    Kindly help.

    Hi,
    I think your problem is, because you use 2 variables named ITAB in method get_data.
    Instance-variable ITAB is defined as STANDARD TABLE OF sflight.
    Exporting-parameter ITAB is defined as sflight.
    It seems like in implementation of get_data exporting-parameter ITAB is used.
    Try this implementation:
    METHOD get_data.
      select * from sflight into table me->itab
       where carrid in s_carrid.
      if sy-subrc eq 0.
      sort me->itab by carrid.
      endif.
    ENDMETHOD.
    This should solve your compiler error.
    Nether the less, get_data will yield an empty structure as result.
    Regards, Hubert
    Edited by: Hubert Heitzer on Feb 24, 2010 10:22 AM

  • How to give a value range in export parameter (global class)

    hi all,
    I have created a class-method called get_po_date. In this i had export parameter as qmfe-qmnum. If i give qmfe-qmnum in import parameter in class, i am able to give only one value at one time, but i need a range of values at a time. Instead of qmfe-qmnum in associated type, i have given 'LXHME_RANGE_C12' ( a range table for char 12 ). the thing is i wanted to select this range in select-options. but still iam getting <b>not type compatible syntax error</b>. can any body solve my problem,
    feel free to ask if any confusion with my question.
    Best Regards,
    abhilash.

    Hello Abhilash
    Instead of using a specific range (where field LOW and HIGH are of type QMNUM) you can use a <b>generic </b>select option (of type <b>RSDSSELOPT</b>). Have a look at the following sample report <b>ZUS_SDN_SELOPTIONS</b>.
    *& Report  ZUS_SDN_SELOPTIONS
    REPORT  zus_sdn_seloptions.
    TABLES: qmfe.
    DATA:
      gt_data          TYPE STANDARD TABLE OF qmfe,
      gt_data_x        TYPE STANDARD TABLE OF qmfe,
      gt_selopt        TYPE rseloption,  " generic table type for selopts
      gs_selopt        TYPE rsdsselopt.
    START-OF-SELECTION.
      SELECT        * FROM  qmfe INTO TABLE gt_data
             WHERE ( qmnum BETWEEN '000000000001' AND '000000000500' ).
      gs_selopt-sign   = 'I'.
      gs_selopt-option = 'BT'.
      gs_selopt-low    = '000000000001'.
      gs_selopt-high   = '000000000500'.
      APPEND gs_selopt TO gt_selopt.
      SELECT * FROM qmfe INTO TABLE gt_data_x
        WHERE ( qmnum IN gt_selopt ).
      IF ( gt_data = gt_data_x ).
        WRITE: 'Selected data are equal.'.
      ELSE.
        WRITE: 'Selected data are NOT equal.'.
      ENDIF.
    END-OF-SELECTION.
    Since RSDSSELOPT and RSELOPTION are global DDIC objects they can be used in <i>public </i>methods.
    Regards
      Uwe

  • 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

  • Use of exporting parameter VIA_T777D in function module RH_READ_INFTY

    Hi,
    Can any one explain me the use of exporting parameter VIA_T777D in the function module RH_READ_INFTY.
    Regards,
    Aravind

    Closing.

  • ABAP OO BOR export parameter

    Hi, All!
    I am beginner at ABAP OO in workflow and get a problem with using BOR in OO methods. Exporting parameter of the method typed as OBJ_RECORD. In workflow builder (method container) this   parameter displays as reference to BOR, but has not exact type of the BOR. Task container parameter has not type of BOR too.
    If i trying to change task or method container parameter - system returns it back and not saves binding.
    I need instructions, how to mount BOR type for method parameters. 
    Thanks,
    Constantine

    Martin,
    there is many methods in my  OO class (like prepare something and create something).
    In create method last raws like
    swc_create_object ex_changemaster c_bortype_changemaster l_objkey.
    ** error handling
    endmethod.
    In example, ex_changemaster has not BOR type in method and task container. And i can only control  task to model binding using manual assignment. No BOR type controlled by the system.
    Regards,
    Konstantin

  • ABAP for Super Dumps: Import- & Export-Parameter for a Table in a FM

    Hello ABAP Profs,
    sorry I am BW.
    <b>Import- & Export-Parameter for a Table in and out of an Function Modul.</b>
    I want to import a table into a Function Module, change it and export it again.
    How do I have to define the Import- and Export- Parameters in the FM ?
    The table looks looks this:
    DATA: zvpshub_tab TYPE SORTED TABLE OF /bic/pzvpshub WITH UNIQUE KEY
    /bic/zvpshub objvers /bic/zvpsoursy INITIAL SIZE 0.
    Thanks a lot
    Martin Sautter

    Hi Clemens,
    <u>in SE11</u> I defined a datatype of Type Structure: ZVPSHUB_ROW.
    <u>in SE11</u> I defiend a datatype of Type Tabletype: ZVPSHUB_TAB,
    bases on Rowtype ZVPSHUB_ROW.
    <u>in SE 80</u> I creates an FM with a CHANGEING Parameter referencing ZVPSHUB_TAB:
    FUNCTION ZVP_SHUB_TAB_LOAD.
    ""Lokale Schnittstelle:
    *"  CHANGING
    *"     VALUE(SHUB_TAB) TYPE  ZVPSHUB_TAB
    <u>in RSA1</u> in BW in the Startroutine of the Upload Rules in defined the table:
    DATA:shub_tab          TYPE zvpshub_tab.
    <u>in RSA1</u> in BW in the Startroutine of the Upload Rules in defined the table:
    DATA:shub_tab          TYPE zvpshub_tab.
    <u>in RSA1</u> in BW in the Startroutine i called the FM
    CALL FUNCTION 'ZVP_SHUB_TAB_LOAD'
        CHANGING
          shub_tab = shub_tab.
    and it works ..
    Thank You
    Martin Sautter

  • Regarding export parameter in rule

    Hi everbody,
    i have created rule  and i am using this rule in User decision step... for determining agents, when i excuted the worklfow it's working perfectly..
    i am using deadline montoring(Modeled) so here i want to pass the agent in sdend mal step to receive the deadline montoring message..  so i have created one container but export parameter checkbox has been disabled...
    please let me know whether i can't able to create container wirh export parameter in rule if yes then how to pass the value from rule to send mail step....
    Thanks in advance
    ram

    Hi prasanth,
    i have used this FM already, i am getting the value in AGENTS, but in the worklfow this method fails..
    and going to error.
    please let me know after geting the value in agents then what i should do...
    CALL FUNCTION 'RH_GET_ACTORS'
      EXPORTING
        act_object                      = 'AC90300002'
    " ACT_TASK                        = 'TS00008267'
      ACT_WI_ID                       =
      ACT_PLVAR                       =
       SEARCH_DATE                     = SY-DATUM
      ACTOR_CONTAINER_OO              =
      tables
    "  ACTOR_CONTAINER                 = adressstrings
      EXCLUDED_AGENTS                 =
        actor_tab                       =  AGENTS
      ERROR_TAB                       =
    EXCEPTIONS
       NO_ACTIVE_PLVAR                 = 1
       NO_ACTOR_FOUND                  = 2
       EXCEPTION_OF_ROLE_RAISED        = 3
       NO_VALID_AGENT_DETERMINED       = 4
      NO_CONTAINER                    = 5
       OTHERS                          = 6
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.

  • How to pass a string longer than 30 to an Export Parameter in a PI sheet ?

    Hi All,
    I'm trying to set  up a process instruction in a PI sheet that calls a URL web page.
    I found the function module CALL_BROWSER and tested it in SE37 and it works fine.
    I created a process instruction to call this function module and pass parameters to it.
    Everything works if the URL is short.  For example:
    0010   PPPI_BUTTON_TEXT          Show URL
    0020   PPPI_FUNCTION_NAME          CALL_BROWSER
    0030   PPPI_FUNCTION_DURING_DISPLAY     allowed
    0040   PPPI_EXPORT_PARAMETER          URL
    0075   PPPI_STRING_CONSTANT          http://www.google.com
    This is where I ran into a roadblock. 
    The characteristic PPPI_STRING_CONSTANT is only 30 characters long.
    I can't figure out how to pass an export parameter longer than 30 characters.
    I have also tried loading up multiple PPPI_VARIABLE(s) with the idea of some how combining them into a single long string that I can pass, but no luck figuring out how.
    Any help would be greatly appreciated
    Kind Regards
    Michael

    Thanks Dario, this is good information, but it does not directly solve my problem.
    I think I have figured out an approach, but was hopeing someone else had a standard solution.
    If I don't here something soon, I will try the following:
    Create a new function moduel as a shell or wrapper that calls the standard FM RUN_Browser.
    My shell will have 5 input parameters URLP1 thru URLP5.
    I can then pass a long URL to my shell in 5 parts.
    Inside my shell, the 5 parts will be joined up into 1 long string and passed on to the URL parameter in RUN_Browser.
    If anyone has a better idea, please let me know.
    Kind Regards
    Mike Rupp

  • Receiver Type Function Module in SWE2 use of export parameter.

    i am trying to understand the underlying concept in following things:(neednot to say i have searched alot and read sap documentation already).
    In event type linkage table say i have an entry for BOR -> AFVC_PM.
    As per sap Documentation says all these FM will trigger in following way.
    1 Check Function Module (to place any validations/checks)
    2 Receiver Type Function Module ()
    3 Receiver Function Module.
    Thats fine.
    This is what documentation says about Receiver Type FM(2nd FM) not Receiver FM(3rd FM).
    This FM has 1 export paramter
    Export parameters
    RECTYPE type SWETYPECOU-RECTYPE Receiver type( Result of the evaluation by the receiver type function module.)
    if i am understanding this right, in this FM receiver type will be decided .
    i have placed BREAK-POINT in this FM  and passing value WS90000024 (Workflow with simple mail step) in export parameter RECTYPE.
    after everything executed successfully why i can't see that mail in my inbox.
    Please correct me if i had misunderstood the concept .

    ok,indeed i was missing this thing.
    i got the mails in inbox.
    but why i can't see this value WS90000024 of this workflow ()which is going to be triggered ) in parameter RECTYPE.(its empty).
    it is empty after the receiver type function module execution is complete.
    below is workflow template,

  • Export parameter in elementary search help not working.

    I have created an elementary search help that will display all sold-tos for entered ship-to(s).  Everything works fine except that the sold-to that is selected from the hit list is not being entered into the customer field on the selection screen.
    eg transaction VD03, F4 on Customer, enter import parameters VKORG VTWEG SPART and KUNN2, hit list is displayed correctly and one line selected.  I expect that my export parameter KUNNR should now appear in the Customer field of VD03 but its not.
    This is my elementary search help definition:
    Elementary srch hlp  ZDEBIC                         Active
    Short description    Customers for Ship-to
      Selection method   Z_DEBIC            Dialog type
      Text table                            Hot key         2
    Search help exit    Z_SHIP_TO_SEARCH_HELP_EXIT
    Parameter  IMP  EXP  LPos  SPos  Data Element  Default Value
    SORT1                       1                  AD_SORT1                         
    SORT2                       2                  AD_SORT2                         
    MCOD1                      4                  MCDD1                         
    MCOD3                      5                  MCDD3                         
    PSTLZ                        6                  PSTLZ                         
    KTOKD                       7                  KTOKD                         
    VKORG     x       x       8        1        VKORG         VKO
    VTWEG     x       x       9        2        VTWEG        VTW
    SPART      x       x      10       3        SPART          SPA
    KUNN2      x               11       4        KUNN2          KUN
    KUNNR              x       3                  KUNNR                         
    I suspect the problem may be with default value KUN against KUNN2, but if I put it against KUNNR, I get a message "No values for this selection" instead of my hit list.
    Can anybody give me a clue as to the problem?
    Thanks,
    Brigitte

    I just found out - I had asked my fellow ABAPer to have a look at it and he just told me that he had changed the Parameter Assignment of the Collective Search Help from the proposed one of KUNN2 C KUNNR to KUNNR C KUNNR.  It seems that was necessary as well so I'm putting this in for future reference of anybody with the same problem.

  • Save the export parameter as an excel or notepad file in ecatt

    Hello,
    Que: I want to save the export parameter value to an excel or a notepad file in my ecatt script?
    Importing of notepad file can be handled as an external file variant input from test data container.
    But I am not able to export the value to a file.
    Kindly help.

    Well, dont know if that is like VB-Script
    but you could give it a try ...
    set xclapp = createObject("Excel.Application")
    set xclwbk = xclapp.Workbook.New
    set xclsht = xclwbk.Sheets("Tabelle1")
    xclsht.Cells(1,1).Value = [your Parameters go here!]
    set xclsht = Nothing
    xclwbk.close
    set xclwbk = nothing
    xclapp.quit
    set xclapp = Nothing

  • How to define Export parameter as Import parameter in next test script.

    Hi Experts,
    We have defined Purchase order no. as export parameter in ME21N transaction test script.
    Test configuration for ME21N transaction executed succesfully and the Purchase order No. appeared in the last message
    is the export parameter for next test script i.e. MIGO transaction.
    However I am unable to define this export parameter as Import parameter in next test script for MIGO transaction.
    Please suggest me the method to define the same.
    Please Help...
    Thanks in Advance
    Vikas

    Vikas,
    You need to create super script which is nothing but having the both the steps (Po creation & MIGO ) in this eCatt script. This can be achieved by using the REF command as ex. below.
    Create PO
    REF ( Z_CREATE_PO , Z_CREATE_PO_1 ).
    Create MIGO
    REF ( Z_CREATE_MIGO , Z_CREATE_MIGO_1 ).
    Z_Create_PO is the actual eCatt script that you recorded to create the PO. Z_CREATE_QUOTE_1 is the interface created by SAP. Similarly you have use the REF command to call the MIGO script inside this super script.
    To pass the export parameter from PO step to MIGO, double click the Z_CREATE_PO_1and define the export variable for PO number. And do the same on the interface for MIGO step.
    Follow the instructions if you need in this help document posted by another user in this forum
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417200)ID0134775250DB00634934533836311611End?blog=/pub/wlg/3497
    Note : Cut & paste the entire link above to view the document.
    thanks
    Venkat

  • Dump while executing class method whose exporting parameter  of type table

    hi,
    i am getting dump after executing a method in which i want to export an internal table which will hold all the states name along with its code on the basis of the country name which is my importing parameter.
    for the above i am using importing parameter named as country of type too5u-land1 and the exporting parameter named as itab of type table and below is my code for the requirement.
    method PROCESS.
      select BLAND BEZEI from T005U
             INTO TABLE ITAB WHERE
             LAND1 = COUNTRY.
    endmethod.

    Hi,
      Please check the below code
    parameters country type land1.
    *Refer the class which we are using like below
    data: a type ref to ZCL_TX_SERVICE_01.
    data itab type ycountry.
    *ycountry is a table type defined in dictionary with fields BLAND and BEZEI
    data wa like line of itab.
    *If we are using instance method we need  to create the instance like below
    create object a.
    *In the method process define exporting parameter itab as type ycountry which is a table type already defined
    CALL METHOD a->PROCESS
      EXPORTING
        COUNTRY = country
      IMPORTING
        ITAB    = itab.
    loop at itab into wa.
    write:/ wa-bland.
    endloop.
    Regards
    Dande

  • Exporting Parameter of type 'INDEX TABLE'

    Hi Experts,
    there is a standard method CL_CRM_MKTPL_OL_TRADE->GET_TRADESPENDS in CRM which has an exporting parameter ET_TRADESPENDS of type INDEX TABLE. Could somebody give me a hint on how to call this method and work with the data that is returned? I am assuming that I will need field symbols for this, correct? Coding examples would be greatly appreciated.
    Thanks,
    Jens

    Hi Jens,
    INDEX TABLE is a generic type. The data object expected depends on configuration and/or context. As we don't have any CRM system I can check CL_CRM_MKTPL_OL_TRADE->GET_TRADESPENDS I can't give you the details.
    I have some experience with comparable methods in SAP Transportation Managament which uses the BOPF framework. In program context, we know what type of table structure will be expected, so we defined a local table accordingly and passed it to the ET parameter.
    If you don't have any idea on how to find out, just declare any internal table, i.e-lt_test  type table of string. Then call the method with parameter ET_TRADESPENDS = lt_test. This will dump for sure. Enter debugger and check what kind of data are returned. From the field names you may get a clue what structure it could be. Dump analysis may also provide some info.
    Regards,
    Clemens

Maybe you are looking for

  • MacBook Pro (OS X 10.6.8): can't update adobe flash - now Word, Chrome, etc. all crashing on startup

    I am not computer savvy, so if you answer, please be slow and deliberate. thanks! Was having Adobe shockwave/flash problems while running Chrome, which is not completely unheard of. Restarted my MacBook Pro (OS X 10.6.8), which included a software up

  • Are the eBis provisioning profiles stored in OID?

    Details of eBis provisioning profiles stored in OID Recently I came across a situation where the provisioning profile had stopped working after moving our eBis servers to a new host. Even though we deregistered and reregistered OID in EBS, we are una

  • Dynamic HTML UI generation

    i am dynamically binding a panel grid to a panel grid from a backing bean which has getters/setters for the property specified but i am getting an error msg like following . error msg: javax.servlet.ServletException: The class 'com.argosoftware.xmlwe

  • I just realized my ical won't open since loading lion os also

    thanks smokemonster, I assume you meant in skype preferences. I shows that the built in isight is being used

  • Ghosting on cpu intensive app

    So I have a Flex app, which can be cpu intensive at times, with some ghosting issues ( see attached image ). I had this issue once before with just IE8 and textfields, but now its happening with everything in the swf and in every browser (Chrome, IE,