Assign value to import parameter table

Hello All:
  I am very new to ABAP programming.
  I have a code looks like below, where ORDER_ITEM_IN is a BAPIITEMIN TYPE. And it's a table passed in as parameter. I am looping through the table to find referenced material from CUST_MAT. But when I try to assign the found value to ORDER_ITEM_IN-MATERIAL, nothing is done. I still have a empty space even though the IMARA-MATNR return correctly. What am I doing wrong? Please let me know, this is urgent!
LOOP AT ORDER_ITEM_IN.
Call function 'CONVERSION_EXIT_ALPHA_OUTPUT'
Exporting
input = ORDER_ITEM_IN-CUST_MAT
Importing
output = strx.
READ TABLE IMARA WITH KEY EAN11 = strx.
strx = IMARA-MATNR.
  if IMARA-MATNR NE SPACE.
   ORDER_ITEM_IN-MATERIAL = IMARA-MATNR.
  ENDIF.
ENDLOOP.

Did you try like this:
DATA: strx type matnr.
data: itab like BAPIITEMIN  occurs 0 with header line.
itab[] = ORDER_ITEM_IN[].
LOOP AT itab.
  call function 'CONVERSION_EXIT_ALPHA_INPUT'
    exporting
      input = itab-CUST_MAT
    importing
      output = strx.
  READ TABLE IMARA WITH KEY EAN11 = strx.
  if sy-subrc = 0.    "<<<
  strx = IMARA-MATNR.
  endif.
  IF IMARA-MATNR is not initial. " <<<
    itab-MATERIAL = IMARA-MATNR.
  ENDIF.
  MODIFY itab.
  endif.
ENDLOOP.
ORDER_ITEM_IN[] = itab[].
Regards,
Naimesh Patel

Similar Messages

  • How to change value in v$parameter table

    hi ,
    i am installing metadata repository for oracle application server,
    i have to change the value of query_rewrite_enabled to TRUE,
    but i am not able to change its value in v$parameter table because it is a fixed table/view.
    pls help

    One does not 'update' any V$, DBA_, USER_ or ALL_ views. Nastiness occurs to the health of the database when you update individual SYS tables without ensuring the integrity of the remainder of the system dictionary, so you should always update those tables using the system DDL commands (CREATE, ALTER, DROP, GRANT, REVOKE). These commands simply do the appropriate insert/update/delete to all the related tables owned by SYS.
    If you are running with an SPFILE parameter file, as the DB superuser (SYS) you would alter the database system configuration using
    ALTER SYSTEM SET QUERY_REWRITE_ENABLED=TRUE SCOPE=BOTH;
    If you are using an older style PFILE (INITsid.ORA) you shut down the database, create or update a line in the PFILE with
    *.QUERY_REWRITE_ENABLED=TRUE
    and it will b e enabled on restart
    (Which are you using? One way to find out is to go to the $ORACLE_HOME/dbs directory and look at the time stamp of the init?.ora and spfile?.ora files.)
    By the way, such parameters and the permitted ways of changing them are discussed in the database Reference manual, which for 10g database is http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14237/toc.htm

  • Remote-enabled FM - empty value for import parameter

    Hi,
    I've created a remoted-enabled FM in ECC, to be called by an ABAP program in CRM.
    The FM has a import parameter of table (of char type). When it's called by the client with a value, but the debugging shown that the value is empty.
    Is there any special attention needed when defining table type for the import parameter?
    Any help would be much appreciated.
    p/s: Apology for te newbie question.
    Thanks.
    -julius

    Hello,
    When you declare parameters under the TABLES tab, you are actually declaring a global table with header-line in the FM. Be sure you re sending/checking the values in the table, not the header line.

  • Elementry search help (value of import parameter)

    hi friends..
    In my search help...when i pass value in WERKS as CV01 ..then no result is coming..as only CV0 value is passed to import parameter..
    and if put CV* then list is coming..
    Any IDEA to solve this problem...
    Message was edited by:
            Madan Gopal Sharma

    Hi
    Have you created the search help properly
    create by going through the doc and attach to the field werks and see,
    1) Elementary search helps describe a search path. The elementary search help must define where the data of the hit list should be read from (selection method), how the exchange of values between the screen template and selection method is implemented (interface of the search help) and how the online input help should be defined (online behavior of the search help).
    2) Collective search helps combine several elementary search helps. A collective search help thus can offer several alternative search paths.
    3)An elementary search help defines the standard flow of an input help.
    4) A collective search help combines several elementary search helps. The user can thus choose one of several alternative search paths with a collective search help.
    5)A collective search help comprises several elementary search helps. It combines all the search paths that are meaningful for a field.
    6)Both elementary search helps and other search helps can be included in a collective search help. If other collective search helps are contained in a collective search help, they are expanded to the level of the elementary search helps when the input help is called.
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee38446011d189700000e8322d00/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee45446011d189700000e8322d00/content.htm
    pls go through this for search help creation
    http://help.sap.com/saphelp_nw2004s/helpdata/en/41/f6b237fec48c67e10000009b38f8cf/content.htm
    Search Help Exits:
    Re: dynamic values for search help
    Re: Dynamic search  help
    Reward points if useful
    Regards
    Anji

  • Assign value to field of table before calling function module

    hi,
    FM 'ABC' have some TABLES parameters.
    Before calling a function module 'ABC',i want to assign a value to one of the fields of the TABLES parameter.
    TAB1 is a name of parameter and field FLD1 is a name of the field of TAB1 which i want to update before calling 'ABC'.
    Thank you in advance.

    hi,
    1. store value in workarea
    tab1-fld1 = 'value'.
    2. append/modify the entry in tab1.
    append tab1.
    or
    modify tab1
    3. call your function module

  • How to assign values to the parameter

    I have write a procedure in procedure builder like this:
    PROCEDURE "GETMCTOREPORT" (
    p_logname IN VARCHAR2,
    p_mysql IN VARCHAR2,
    p_opyear IN VARCHAR2,
    p_exrate IN VARCHAR2,
    p_flag IN OUT VARCHAR2)
    but I don't know how to run this procedure, espically how to declare a variable and then assign to last parameter, in the procedure builder environment.
    Anyone helps me,Thanks
    PL/SQL>

    Have a look at JDeveloper and it's PL/SQL development capabilities. You can write a PL/SQL procedure click run and a window will popup letting you fill values for the parameters. And you can even debug the procedure.
    For more info:
    http://otn.oracle.com/products/jdev/htdocs/database/db_overview.html

  • How to assign value to specifically 2D table cell in DIAdem?

    Assume the 2D table dimension is 4*5, and I want to write value to (2,3) of the table cell and don't change the values in other cells. How should I do?
    Another question:
    How to hide the heading of a 2D table?
    Thanks for any reply!
    YangAfreet

    Hi YangAfreet,
    All tables in DIAdem VIEW and REPORT display the values in specific Channels in the Data Portal (or in rare cases the values of a global array variable).  So if you want to change the value of a particular cell in your table, you need to change the value of that particular cell in the data channel being displayed in that table column.  This you can do with the ChV() function in a VBScript, or you can change that value interactively in a VIEW table.
    Of course, if you're talking about a table in a SUDialog, then there is a way to address and edit individual table cells, but my guess is that this is not the sort of table you're talking about.
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

  • Default value for importing parameter

    Hi all,
    I want to default a filename to the impoting parameter of Function module.
    But it allows only 21 chars. Can anyone help me in defaulting a value more than
    21 chars.
    Thanks,
    Keerthi.

    >
    keerthi kiran varanasi wrote:
    > Hi all,
    >
    > I want to default a filename to the impoting parameter of Function module.
    > But it allows only 21 chars. Can anyone help me in defaulting a value more than
    > 21 chars.
    >
    >
    >
    > Thanks,
    > Keerthi.
    I'm sorry, but there is no magic way of passing a value containing more than 21 chars into a variable defined as char21.

  • Search help import parameter

    Hi,
    I have 2 columns in my ALV table. COL_A and COL_B.
    My requirement is to populate the search help entries of COL_B based on COL_A. but if COL_A is left blank then search help of COL_B should display all values based on user access.
    Can I access value of import parameter (COL_A) of dictionary search help in search help exit so that i would know whether COL_A is empty or not.
    Please let me know how can I access value of import parameter of dictionary search help in search help exit .
    Thanks,
    Feroz

    Hi Feroz,
    It is easy..
    Just mention both column A and column B as importing paramenter.
    and use this code skeleton..
    use it in the "select" call control step
    CALL FUNCTION 'F4UT_RESULTS_MAP'
        EXPORTING
          source_structure   =  'XXXXXXXXX'
          apply_restrictions = ' '
        TABLES
          shlp_tab           = shlp_tab
          record_tab         = record_tab
          source_tab         = 'XXXXXXXX'
        CHANGING
          shlp               = shlp
          callcontrol        = callcontrol
        EXCEPTIONS
          OTHERS             = 0.
        CALL FUNCTION 'F4UT_PARAMETER_RESULTS_PUT'
        EXPORTING
          PARAMETER   = 'XXXXXXX'    "this can be your column A   
          fieldname   = 'XXXXXXXXX'
        TABLES
          shlp_tab    = shlp_tab
          record_tab  = record_tab[]
          source_tab  = lt_time_range
        CHANGING
          shlp        = shlp
          callcontrol = callcontrol.
    callcontrol-step = 'DISP'.
        CALL FUNCTION 'F4UT_PARAMETER_RESULTS_PUT'
        EXPORTING
          PARAMETER   = 'XXXXXXX'    "this can be your column B 
          fieldname   = 'XXXXXXXXX'
        TABLES
          shlp_tab    = shlp_tab
          record_tab  = record_tab[]
          source_tab  = lt_time_range
        CHANGING
          shlp        = shlp
          callcontrol = callcontrol.
    callcontrol-step = 'DISP'.
    here, source_structure is the structure of the table where the data is available which is the "source_tab".
    Parameter field is the name of parameter specified in search help. and fieldname is the field corresponding to the paramer in the table "source_tab".

  • Parameter table

    Hi All,
    Why the below procedure gives me wrong results when I input the values from a parameter table ? The values in the parameter table is as 'EF123','EF12','EF','DDD'
    Do I have to make this a dynamic query in order for it to work ?
    Please help. Let me know if I am not clear.
    PROCEDURE getOtherEmp(pApplication in varchar2,
                          pSubRole in varchar2,
                          pEmpId in varchar2,
                          pSearchVal in varchar2,
                          refOthEmp OUT REFCUR)
    is
      errmsg     VARCHAR2(4000);
      cccode  VARCHAR2(4000);
    BEGIN
    SELECT get_parameter_value('BCS_OTHER_EMP')
    INTO cccode
    FROM dual;
          open refOthEmp for
            SELECT A.EMPNO, A.NAME EMPNAME
             FROM   EMP A
             WHERE  (Upper(A.NAME) Like Upper('%'||pSearchVal||'%')
             OR A.STAFFNR Like '%'||pSearchVal||'%')
             AND A.emp_type='S'
        AND A.Ccc in (cccode)
             ORDER BY a.name;
       EXCEPTION
          WHEN OTHERS THEN
         errmsg := SQLERRM;
         DBMS_OUTPUT.PUT_LINE(errmsg );
               inserterrorlog('getOtherEmpDetails',sqlcode,sqlerrm);
    END;Message was edited by:
    user532086

    Problem is that cccode contains 1 string and not 4. So the condition a.ccc in (cccode) is looking for employees with a ccc that is equal to 'EF123','EF12','EF','DDD' (including the quotes!).
    There are several possibilities to solve this:
    a) make your function get_parameter_value returning an array which is defined in the database (create type) so you could do a
    and a.ccc in (select column_value from table(function_calll))
    b) use an instr function
    c) use dynamic sql

  • How to assign Values to nested table and pass as parameter to procedure?

    How to assign Values to nested table and pass as parameter to procedure?
    Below is the Object and its type
    create or replace type test_object1 as object
    val1 varchar2(50),
    val2 varchar2(50),
         val3 varchar2(50)
    create or replace type test_type1 is table of test_object1;
    create or replace type test_object2 as object
    val1 varchar2(50),
    val2 varchar2(50),
         val3 varchar2(50)
    create or replace type test_type2 is table of test_object2;
    GRANT ALL ON test_object1 TO PUBLIC;
    GRANT ALL ON test_type1 TO PUBLIC;
    GRANT ALL ON test_object2 TO PUBLIC;
    GRANT ALL ON test_type2 TO PUBLIC;
    here is the table made of object type:
    create table test_object_tpe
    sl_num NUMBER,
    description VARCHAR2(100),
    main_val1 test_type1,
    main_val2 test_type2
    NESTED TABLE main_val1 STORE AS tot1
    NESTED TABLE main_val2 STORE AS tot2;
    here is the procedure which inserts values into nested table:
    PROCEDURE INSERT_TEST_DATA(sl_num IN NUMBER,
    description IN VARCHAR2,
    p_main_val1 IN test_type1,
    p_main_val2 IN test_type2
    IS
    BEGIN
    FOR rec in p_main_val1.first..p_main_val1.last
    LOOP
    INSERT INTO xxdl.test_object_tpe
    sl_num,
    description,
    main_val1,
    main_val2
    VALUES
    sl_num
    ,description
    ,test_type1 (test_object1(
    p_main_val1(rec).val1,
                                       p_main_val1(rec).val2,
    p_main_val1(rec).val3
    ,test_type2 (test_object2( p_main_val2(rec).val1,
                        p_main_val2(rec).val2,
                        p_main_val2(rec).val3
    END LOOP;
    commit;
    END INSERT_TEST_DATA;
    here is the anonymoys block which assigns values to the object type and pass values into the procedure:
    set serveroutput on;
    declare
    p_sl_num NUMBER := 1001;
    p_description VARCHAR2(50) := 'Testing Val1';
    inval1 test_type1 := test_type1();
    inval2 test_type2 := test_type2();
    begin
    inval1(1).val1 := 'testx1';
    inval1(1).val2 := 'testx2';
    inval1(1).val3 := 'testx3';
    inval2(1).val1 := 'testy1';
    inval2(1).val2 := 'testy2';
    inval2(1).val3 := 'testy3';
    CSI_PKG.INSERT_TEST_DATA(sl_num => p_sl_num,
    description => p_description,
    p_main_val1 => inval1,
    p_main_val2 => inval2
    end;
    Can anybody correct me.
    Thanks,
    Lavan

    Thanks for posting the DDL and sample code but whenever you post provide your 4 digit Oracle version (result of SELECT * FROM V$VERSION).
    >
    How to assign Values to nested table and pass as parameter to procedure?
    >
    Well you are doing almost everything wrong that could be done wrong.
    Here is code that works to insert data into your table (the procedure isn't even needed).
    declare
    p_sl_num NUMBER := 1001;
    p_description VARCHAR2(50) := 'Testing Val1';
    inval1 test_type1 := test_type1();
    inval2 test_type2 := test_type2();
    begin
    inval1.extend();
    inval1(1) := test_object1('testx1', 'testx2', 'testx3');
    inval2.extend();
    inval2(1) := test_object2('testy1', 'testy2', 'testy3');
    INSERT INTO test_object_tpe
    sl_num,
    description,
    main_val1,
    main_val2
    VALUES
    (p_sl_num, p_description, inval1, inval2);
    commit;
    end;
    /See Example 5-15 Referencing a Nested Table Element in Chap 5 Using PL/SQL Collections and Records in the PL/SQL doc
    http://docs.oracle.com/cd/B28359_01/appdev.111/b28370/collections.htm#CJABEBEA
    1. You don't even need the procedure since all it does is a simple INSERT into the table which you can do directly (see my code above)
    inval1(1).val1 := 'testx1';There is no element one (1) of 'inval1' since you haven't created any elements yet. You need to EXTEND the collection to add an element
    inval1.extend();And then there is an empty element but 'inval1' is a container for objects of type 'test_object1' not for scalars like 'val1', 'val2', and 'val3'.
    So you can't do
    inval1(1).val1 := 'testx1';You have to create an instance of 'test_object1'
    inval1(1) := test_object1('testx1', 'testx2', 'testx3');And so on for the other collection
    You don't need the procedure (as my sample code shows) but once you populate the variables properly it will work.

  • Assigning a timestamp to an Import Parameter in eCATT

    I am trying to assign a value to an Import parameter that will be unique every time the eCATT script runs.  I have inserted a piece of Inline ABAP code that looks like this:
    ABAP.
       DATA: BEGIN of wa,
          time_stamp TYPE P,
       END OF wa.
       GET TIME STAMP FIELD wa-time_stamp.
       I_DATETIME = wa-time_stamp.
    END ABAP.
    This only assigns a time stamp to I_DATETIME is the parameter is type V.  Unfortunately, the script produces an error unless I_DATETIME is type I, however the Inline ABAP produces a syntax error when I_DATETIME is type I. 
    For example, when I_DATETIME is type V I see in my
    LOG I_DATETIME statement that the value 20050518200719 or something similar has been assigned to that parameter.  However, in the SAPGUI command interface where I deleted the original number value and replaced it with parameter I_DATETIME it reads: Value = I_DATETIME = '
    Why can't I use parameters of type I and V interchangeably in the script and Inline ABAP?  Is there an easier way to go about getting a time stamp or unique value for an Import Parameter?
    Message was edited by: Ben Weisberg

    Ben,
    there are two issues here:
    <b>Parameter visibility in inline ABAP</b>
    In inline ABAP, <b>only</b> local variables (visibilty V) can be used. The reason for this was to minimize the amount of data that has to be transferred to the target system of the script when the inline ABAP is generated.
    <b>Avoiding inline ABAP where possible</b>
    You said yourself that you suspect your approach is inefficient. I always tell people that inline ABAP can be fun, using the eCATT script language is better
    You can generate yourself a timestamp in eCATT like this:
    First, declare a parameter with type C. Since you are going to fill it in the script, there is no need for it to be an importing parameter - local variable (V) will do - let's call it V_TIMESTAMP.
    Fill the field using <b>either</b>
    V_TIMESTAMP = &DATE & &TIME
    <b>or</b>
    V_TIMESTAMP = sy-datum & sy-uzeit
    <i>What's the difference?</i>
    If you use the eCATT variables &DATE and &TIME, you will always get the date and time of the <b>current target system</b>. If you use the ABAP system fields sy-datum and sy-uzeit, you will always get the date and time of the <b>local eCATT system</b>. Obviously, if you are working locally in a system, these two sets of values will be the same. However, if you start working remotely - possibly against app servers in different time zones - you will have to decide which you want to use.

  • Assigning value to Field - Symbol ( which is type of internal table field )

    Hi All,
      I am facing problem to assign the value to a field symbol. My requirement is creating a dynamic internal table and populate values into that internal table, so that i can display the values .
      I am having a structure with fields like status , Plant1 name , Plant2 name.....Plant n .
      So i declared an internal table it_tab with this structure.
      I am having one more table which having number of records for Plant1 ,Plant 2 ,....Plant n based on some condition.
      I need to count the number of records for Plant1 and i need to put in the internal table it_tab.
      For this i created field-symbol .
    Here, t_deployment table will have the plants 1,2,3...and
         t_devobject will have some records for these plants.
    LOOP AT T_DEPLOYMENT. 
    clear w_count.
    LOOP AT T_DEVOBJECT WHERE ZDEPLOYMENT = T_DEPLOYMENT-DOMVALUE_L AND
                              ZADSTATUS = '10'.
    w_count = w_count + 1.
    ENDLOOP.
    concatenate 'it_tab-' t_deployment-domvalue_l into var_bet_name.
    assign var_bet_name to <bet_var_name>.
    now my internal table field i.e. it_tab-plant1 came into <bet_var_name> . But i want to assign a value for it.
    at last what i need is it_tab-plant1 = w_count.
    whaterver the w_count has value that needs to assign to it_tab-plant1. But i don't want to assign directly it it_tab-plant1. I want to assign dynamically. Because tommorrow some more plants added to t_deployments , i don't want to make changes to my program. It should take care....w/o changing the program.
    I tried the following statement.
    (<bet_var_name>) = w_count. But its not working.
    Please let me know how i can get this.
    Thanks in Advance.
    Pavan.

    Hi pavan,
    As ur requirement is creating a dynamic internal table,
    try the following way,
    remember the fieldcat should be of type LVC not SLIS.
    BUILD LT_LVCFIELDCAT in a way that, the value from the internal table becomes the fieldname
    ex:-
    loop at it_models INTO WA_MODELS.
        LS_LVCFIELDCAT-FIELDNAME = WA_models-MODEL.
        LS_LVCFIELDCAT-SELTEXT = WA_models-MODEL.
    append ls_lvcfieldcat to lt_lvcfieldcat.
    endloop.
    DATA: DREF TYPE REF TO DATA,WA_REF TYPE REF TO DATA.
    FIELD-SYMBOLS: <TEMP_TAB> TYPE TABLE, <TEMP_WA> TYPE ANY.
    CALL METHOD CL_ALV_TABLE_CREATE=>CREATE_DYNAMIC_TABLE
        EXPORTING
          IT_FIELDCATALOG = LT_LVCFIELDCAT
        IMPORTING
          EP_TABLE        = DREF.
      ASSIGN dref->*  TO <TEMP_TAB>.
    now basing on the fieldcatalog <temp_tab> is build.
    NOW FILL <TEMP_TAB>.
    WHILE FILLING, ASSIGN COMPONENT IDX/NAME.....
    this statement will be very usefull.
    i hope this will be help full.
    pls reward the points if it helps u.
    regards
    Hyma

  • Conditionally assign a value to a parameter

    I'm using this code to conditionally assign a value to a parameter p_data_type:
    <?if:H_ACCOUNT_HIER_DESC='EST'?><xsl:param name="p_data_type" select="'number'" xdofo:ctx="begin"/> <?end if?>
    <?if:H_ACCOUNT_HIER_DESC='PAR'?><xsl:param name="p_data_type" select="'text'" xdofo:ctx="begin"/> <?end if?>
    However, I'm getting the following error.
    Caused by: oracle.xdo.parser.v2.XMLParseException: Duplicate variable 'p_data_type' definition.
    Once I get this working, I want to use it as follows:
    <?sort:current-group()/ACCOUNT_SEQ;'ascending';data-type='{$p_data_type}'?>
    Does anyone have any suggestions on how I might do this?
    Thank you,
    Tam

    Thanks, Vetsrini. Works great. I do have one further question if you don't mind. In the <xsl:when test...>condition below, why is the '//' reference required for H_ACCOUNT_HIER_DESC. The code didn't work unless I used the '//'
    Here is my template code:
    <?import:xdo://XXFIN.XXFIN_PSB_NUMBER_FORMAT.en.CA PROVINCE?>
    <?start:body?>
    <?for-each:XXFIN_PSB_GOS_EXP_ANNUAL_ACT_SUM?>
    <?for-each:G_HEADER_PAGE?>
    <xsl:variable name="p_data_type">
    <xsl:choose>*<xsl:when test="//H_ACCOUNT_HIER_DESC='EST'">*<xsl:value-of select="'number'"/></xsl:when><xsl:otherwise><xsl:value-of select="'text'"/></xsl:otherwise></xsl:choose>
    </xsl:variable>
    Here is my XML:
    <?xml version="1.0" encoding="UTF-8"?>
    <XXFIN_PSB_GOS_EXP_ANNUAL_ACT_SUM>
    <P_OUTPUT>E17-1</P_OUTPUT>
    <P_ACCOUNT2_HIGH>
    <G_HEADER_PAGE>
    <H_RECIPIENT_NAME/>
    <H_PROG_SUM_LEVEL>SV/SP</H_PROG_SUM_LEVEL>
    <H_ACCOUNT_HIER>AC0000</H_ACCOUNT_HIER>
    <H_ACCOUNT_HIER_DESC>EST</H_ACCOUNT_HIER_DESC>
    Thanks again for your help.
    Tam

  • Passing a table to an import parameter for a FM

    Hello experts,
    The goal is to update the date of  a record from the database table ZSHIPM_PLAN05.
    In   ABAP dictionnany I define a structure ZST_SHIPM_PLAN05 based on a database table in ZSHIPM_PLAN05
    Further I define a variable import in function Module(FM): IV_SHIPMENT type ZST_SHIPM_PLAN05.
    But I get the following error when compiling the FM: "IV_SHIPMENT" is neither specified under "TABLES"  nor defined as a internal table.
    Thank you for your Help.
    In the top_include I have :
    TYPES: BEGIN OF tt_ZST_SHIPM_PLAN05.
            INCLUDE STRUCTURE ZST_SHIPM_PLAN05.
    END OF tt_ZST_SHIPM_PLAN05.
    DATA: gt_outtab TYPE TABLE OF tt_ZSHIPM_PLAN05,
                 wa_ZSHIPM_PLAN05 LIKE LINE OF gt_outtab.
        CALL FUNCTION 'Z_SHIPM_PLAN_SAVE05'
          EXPORTING
            iv_shipment = gt_outtab
          IMPORTING
            es_return   = gty_bapiret2.
    FUNCTION Z_SHIPM_PLAN_SAVE05.
    ""Local Interface:
    *"  IMPORTING
    *"     REFERENCE(IV_SHIPMENT) TYPE  ZST_SHIPM_PLAN05
    *"  EXPORTING
    *"     REFERENCE(ES_RETURN) TYPE  BAPIRET2
    LOOP AT IV_SHIPMENT INTO wa_ZST_SHIPM_PLAN05.
    settings the color
      IF wa_ZST_SHIPM_PLAN05-art = 'AA02' and wa_ZST_SHIPM_PLAN05-descr = 'ci0017'.
        wa_ZSHIPM_PLAN05-crea_date = sy-date.
      ENDIF.
      MODIFY gt_outtab FROM wa_ZST_SHIPM_PLAN05 TRANSPORTING crea_date.
    ENDLOOP.
          "MESSAGE 'Do you want save' type 'I'.
           SET SCREEN 0.
    ENDFUNCTION.

    Hi,
    Assign IV_SHIPMENT under changing or tables Parameter because import and Export statement holds a field not structure or table.
    Thanks
    Arbind

Maybe you are looking for

  • How can I remove a device from my iCloud/Apple ID?

    Hi, I merged my dad's iphone to my Apple ID a while back because he wants to buy an app and I have some credit left over so I let him used my ID on his device. Apparently, all my contacts, pictures from photo stream, and ical are now also in his devi

  • Invoking a Webservice using a SOAP adapter

    Hi,       I have the following scenario. SAP ABAP outbound proxy <-> SAP XI <--> External webservice. The above call is a synchronous call from SAP R/3 and a receiver soap adapter is configured for the Webservice. I am getting the following error mes

  • Error: You do not have sufficient access to perform a lock on this database

    Hi, Can anyone help on this. When user try to load data through Excel it throws the following error "You do not have sufficient access to perform a lock on this database" We are using Essbase 6.5. We have tried following options FIX1: In Microsoft Ex

  • New FCP X User Question - MXF File Names in Event Library

    Hello, I have noticed that my imported mxf files are named by the date and time created, and not by the actual file name when recorded. Is there a way to show the originating name as well as the date and time created within the event library? Thanks,

  • Installing oracle 8i on RHEL 4

    Hi All, I did see the thread which was about RHEL 3 , should i follow up the same thread? But from the document it isnt evident what needs to be done , on top of it I got confused seeing this URL - http://www3.sympatico.ca/arothmel/oracle/817.html I