Function OIGI_LOADING_CREATE parameters.

Hello again friends,
I am trying to update a scheduled or loaded shipment with the FM OIGI_LOADING_CREATE. I do manage to confirm and load a shipment with this FM. But I want to edit an existing shipment (TD ACTION 1 or 2). At the moment I am calling it like this (but it only creates new lines in the OIGSVMQ table with TD_ACTION = 2):
CALL FUNCTION 'OIGI_LOADING_CREATE'
          EXPORTING
            I_SUBRC = 9
            I_SHNUMBER          = shnumber
            I_LDPLT                   = werks
          IMPORTING
            O_SUBRC = i_subrc
          TABLES
            T_OIGISVMQ = L_OIGISVMQ
            T_OIGISIQ  = L_OIGISIQ.
Does anybody know what parameters must be used for a simple update of existing loads?

Hi.
To load shipment I call 1st FM in a way:
CALL FUNCTION 'OIGI_LOADING_CREATE' DESTINATION 'NONE'
EXPORTING
I_SUBRC = 9 "save and commit
I_SHNUMBER = shNumber
I_VEHICLE = vehicle
I_LDPLT = plant
I_LDDATE = loadDate
I_LDTIME = loadTime
I_LDCDAT = loadDate
I_VEH_NR = veh_nr
TABLES
T_OIGISVMQ = quantity_items
T_OIGISVMQ2 = hpm_append
T_OIGISIQ = doc_quan_items
EXCEPTIONS
COMMUNICATION_FAILURE = 1 MESSAGE p_error
SYSTEM_FAILURE = 2 MESSAGE p_error.
Regards
Sudheer

Similar Messages

  • Function OIGI_LOADING_CREATE

    Hello ABAP-gurus,
    I have made an ALV grid to Update, confirm or cancel a shipment load. I am not sure if this function can do all this, but I am trying with different input parameters... Does anybody know hoe to use this function for each purpose? I would appreciate any input:)
    Regards Ballo

    Hi.
    To load shipment I call 1st FM in a way:
    CALL FUNCTION 'OIGI_LOADING_CREATE' DESTINATION 'NONE'
    EXPORTING
    I_SUBRC = 9 "save and commit
    I_SHNUMBER = shNumber
    I_VEHICLE = vehicle
    I_LDPLT = plant
    I_LDDATE = loadDate
    I_LDTIME = loadTime
    I_LDCDAT = loadDate
    I_VEH_NR = veh_nr
    TABLES
    T_OIGISVMQ = quantity_items
    T_OIGISVMQ2 = hpm_append
    T_OIGISIQ = doc_quan_items
    EXCEPTIONS
    COMMUNICATION_FAILURE = 1 MESSAGE p_error
    SYSTEM_FAILURE = 2 MESSAGE p_error.
    Regards
    Sudheer

  • Problem in  using function module parameters in abap program

    i want to use the coding present in on one of the function module 'AS_API_INFOSTRUC_FIND'  i got the problem using the function module parameters in my abap program.
    these are the parameters inside fm
    ""Lokale Schnittstelle:
    *"       IMPORTING
    *"             VALUE(I_FIELDCAT) TYPE  AIND_FCAT
    *"             VALUE(I_FIELDS) TYPE  TABLE OPTIONAL
    *"             VALUE(I_OBLIGATORY_FIELDS) TYPE  TABLE OPTIONAL
    *"       EXPORTING
    *"             VALUE(E_INFOSTRUC) TYPE  AIND_DESC
    *"             REFERENCE(E_ALL_FIELDS) TYPE  TABLE
    *"             REFERENCE(E_MATCHING_FIELDS) TYPE  TABLE
    *"       EXCEPTIONS
    *"              NO_INFOSTRUC_FOUND
    i want to declare     E_ALL_FIELDS  parameter    in my abap program,
    i have declared as 
    data: E_ALL_FIELDS TYPE TABLE.
    but   the system throws error that
    'type of field 'TABLE'  is generic .no table line has been specified'.
    i want to use it in my abap program how can i declare in my abap program .

    You have to declare the table using any specific type.
    The type table in the FM is generic so you can pass any type you need.
    For instance:
    TYPES: BEGIN OF ty_fields,
             fieldname LIKE dfies-fieldname,
           END OF ty_fields,
    TYPES: TY_T_GLU1              LIKE GLU1                     OCCURS 0,
           ty_t_fields            type ty_fields                occurs 0.
      DATA: lt_info_struct_fields TYPE ty_t_fields WITH HEADER LINE,
            lt_matching_fields    TYPE ty_t_fields WITH HEADER LINE.
        CALL FUNCTION 'AS_API_INFOSTRUC_FIND'
             EXPORTING
                  i_fieldcat         = ft_fieldcat-fieldcat
                  i_fields           = ft_fields_filled[]
             IMPORTING
                  e_infostruc        = lv_info_struct_name
                  e_all_fields       = lt_info_struct_fields[]
                  e_matching_fields  = lt_matching_fields[]
             EXCEPTIONS
                  no_infostruc_found = 1.

  • Use functions in parameters?

    Hi,
    is it possible to use functions in a parameter?
    We use a parameter for a field from an Oracle database - the values in this field are stored as "Employee ID - Employee Name"; however, we only would like to see the name, not the id in the parameter field list (and filter). We also have to apply the URLDecode function since we have special characters in the employee names.
    Thanks!

    Hi Dear,
                 Actually you can't directly apply function on Parameters but if u have restriction by the prameter
                 then you can apply formula in select expert on that pamaters...
    Regards
    Obaid

  • Type conflict in function module parameters

    Hi All,
    i hve to pass dynamic field <dyn_field> into function module parameters but  it's giving a dump for type conflict.
    where VALUE2  data type in 'AUTHORITY_CHECK' is UST12-VON but if i define <dyn_field> type UST12-VON . then it'll give dump in *ASSIGN COMPONENT  SECURITY_TABLE-FIELDNAME  of structure <wa> to <dyn_field> *.
    SECURITY_TABLE-FIELDNAME  data type is different with UST12-VON .
    pls guide me how to pass *<dyn_field> in fm parameters.
    FIELD-SYMBOLS: <dyn_field> type any.
      LOOP AT <DYN_TABLE_IN> INTO <WA>.
            ASSIGN COMPONENT  SECURITY_TABLE-FIELDNAME  of structure
                 <wa> to <dyn_field> .
            CALL FUNCTION 'AUTHORITY_CHECK'
              EXPORTING
                USER                = QUSER
                OBJECT              = SECURITY_TABLE-AUTHOBJCT
                FIELD1              = 'ACTVT'
                VALUE1              = '03'
                FIELD2              = SECURITY_TABLE-FIELDNAME
                VALUE2              = <dyn_field>

    Hi anuj ,,
    Can you explauin the solution ..
    Regards

  • ORA-30626: function/procedure parameters of remote object types not support

    Hello,
    I am trying to create a dynamic LOV.
    I have a table and package in a remote database, I am connecting to the database using dblink. When I access package I am getting error
    ORA-30626: function/procedure parameters of remote object types are not supported
    However I can access table with [email protected], not the package!
    How can I solve this problem?

    Did you ever get an answer/workaround to this? I'm having similar problems in 10g.

  • Are these functions and parameters used in DirectX 11.2?

    Functions and parameters like WINAPI, hPrevInstance, hInstance , PSTR etc are used in DirectX 11.2?

    This is the entry-point for a Windows desktop application (aka Win32 application) whatever the architecture it is running on (32-bit or 64-bit native).
    int WINAPI wWinMain(_In_ HINSTANCE hInstance, _In_opt_ HINSTANCE hPrevInstance, _In_ LPWSTR lpCmdLine, _In_ int nCmdShow)
    This is not used for Windows Store apps or Windows phone apps which instead use:
    [Platform::MTAThread]
    int main(Platform::Array<Platform::String^>^)
    I suspect you are using this forum as it's the only one that mentions "DirectX" but you aren't writing a Windows Store app. You should take al look at the
    Direct3D Win32 Game Visual Studio template for VS 2013 or this
    tutorial for an example of how to set up a DirectX 11 device and swap chain for a Windows desktop application for 32-bit and 64-bit native.

  • Function of Parameters within a Schema

    Dear Experts;
    There is a question asked in SAP certification exam:
    What are the functions of parameters within a schema?
    Can anyone give me a right answer.
    Thanks for your time!
    Regards,
    Ramesh S.Prabu

    Hi
    Further functions used to edit wage types stored in internal tables are PLRT, PORT,
    PDT, PRT, and PZL. The personnel calculation rules are accessed using the same
    parameters as function PIT.
    In parameter 2, you enter the type of rule access. The wage types to be processed can
    be specified using processing classes (Pnn). The rule can be accessed generically
    (GEN); that is, all the wage types in the table are processed in the payroll rule. If
    parameter 2 is empty, the personnel calculation rule is accessed for the wage type
    being processed.
    If you have not differentiated employee subgroup groupings in a customer personnel
    calculation rule, you must call the rule using NOAB in parameter 3.
    hope it is helpful to you
    Olivia Yang

  • Call Plugin-Function with parameters via JavaScript

    Hi!
    I have following problem: I wrote a plugin for Illustrator CS2 in C++ and now I would like to call a function of the plugin from outside of illustrator (from a JavaScript).
    This can be done with the Actionsuite. But how could I then give some parameters to my function?
    For example:
    In the plugin, I have a function "void myFun(char * test)" and I want to call this function in JavaScript with test="Hello World" for example.
    The only possible way right now seems to write parameters into a file and open that file in the plugin to "receive" them.

    Hi,
    Could you send your plugin coding.
    Regards,
    Maria

  • Function module parameters mapping

    Hi Expert,
    We are working on a  upgradation tool in which i have to repace the obsolete function module "HELP_VALUES_GET_WITH_CHECKTAB
    " by "F4IF_FIELD_VALUE_REQUEST
    ". I am not sure about the functionalities of these function modules as i have never used it. Can anyone please help me  by providing some information abt  these FMs. Also i need to do the mapping of parameters of old and new function module. So please provide the details of mapping also. Any pointers on this will be highly appreciated.
    Thanks & Regards,
    P Sharma
    Moderator message : Duplicate post locked.  Read forum rules before posting.
    Edited by: Vinod Kumar on Jul 8, 2011 9:55 AM

    please check the below link.
    http://wiki.sdn.sap.com/wiki/display/ERP6/FMHELP_VALUES_GET_WITH_TABLEobsoleteReplacewith+F4IF_INT_TABLE_VALUE_REQUEST
    Edited by: SAP2011 on Jul 8, 2011 4:17 AM

  • Crystal Reports from R/3 function with parameters

    I can create reports from functions that doesn't require parameters, but for one function, the R/3 admin created the function that needs parameters (start and end date) to return records in that range. Does anyone know how to supply the parameter? I tried to select records by start and end date, but didn't work.
    thanks
    Jenny

    Hi Ingo:
       Thank you for replying. It seems I have created the report correctly, but the function is not properly configured. So I'm forwarding the issue back to our R/3 admin.
    Jenny
    Edited by: Jenny Gu on Dec 22, 2011 3:10 AM

  • How to call a function with parameters in ScriptStart function

    i am trying to call ScriptStart function from SUD dialog. This is how iam calling Call ScriptStart(path & "test.vbs","abc") abc is function which is written test.vbs. It is working. But when i want to pass some parameters to the abc function of test.vbs. It is not working why. can anybody suggest where i went wrong. I am calling the same function as Call ScriptStart(path & "test.vbs","abc(" & text1.Text & ")"). It is not working why ? Is the ScriptStart function only point to functions. it does not take any parameters or waht ?

    Hi abc421,
    Another option in addition to UserCommands would be to use ScriptInclude(path). If you execute a ScriptInclude(path) command at the beginning of your VBScript, then all the functions and Subs in the VBscript located at "path" are now available to you-- including passing parameters and receiving return values from functions. If you are calling a VBscript that uses only VBScript variables, then this is the preferred method.
    If instead you are calling a VBScript that uses global DIAdem variables declared in a VAS file (their variable names all end with the "_" character), then those parameters are already available at the subroutine called with ScriptStart(path, routine).
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

  • Use of IN function with parameters?

    is it possible to use a parameter with an IN function, inside an explicit cursor?
    oracle doesn't accept varchars or collections.
    it should be something like this:
    CURSOR (myParam VARCHAR2) IS
    SELECT *
    FROM myTable
    WHERE myColumn IN (myParam);
    Thank you!
    Saverio M.

    Sorry just one correction
    Do you mean Parameterized Cursors ?
    declare
    v_emp number;
    v_emp1 number;
    cursor c1(v_emp in number)
    is
    select * from empdept where empno=v_emp;
    begin
    v_emp1 :=9939; -- For Example you
    for x in c1(v_emp1)
    loop
    --- Do your processes.
    null;
    end loop;
    end;
         | Legal | Privacy

  • Retrieving of Function Module parameters dynamically

    There is a function module with import and export parameters, I need to pick up the complete structure of the Header Data using a select statement.
    ex: Function Module with import paremeters I1, I2 ..... table parameters t1, t2 .....
    Select from 'Z' table into var .....
    result of this select query is var = 'I1'.
    now there is a macro swc_set_element
    1st parameter = itab
    2nd parameter = var
    now i need to generate 3rd parameter 'I1' dynamically which is an import parameter.
    Edited by: Gaurang Gujar on May 2, 2011 8:04 AM

    Hi.,
    Using Class CL_FB_FUNCTION_UTILITY u can get the Function Module Details.,
    Check this Wiki.,  [Extracting FM details using Class|http://wiki.sdn.sap.com/wiki/display/ABAP/ExtractingFunctionModuleDetailsusingClass-+CL_FB_FUNCTION_UTILITY]
    Also Check these Function Modules:
    FUPARAREF
    FUPARAREF_ENHA " Parameters of Function Modules
    Hope this helps u.,
    Thanks & Regards
    Kiran

  • Call pl-sql function with parameters All

    I want to call a procedure inside Discoverer; i know how to do that. I have three page elements ; when i choose specific value for each one my function work properly.
    When i choose <All> like a value for any page element ; funtion doesn't run properly. We decide to display the input value when i call function; when i choose <All> value i can't see the value of the parameter. I put nvl(P1,'ABC') and i can't see the value of the parameter.
    In Discovere; when we choose <All> value what is the real value or character used to call function.
    Thanks
    Marc

    see my function
    FUNCTION "F_SSDW_TEMPS_NET_FONCT_MIN"("P_NO_CENTRE_DISTR" IN NUMBER,
    "P_ID_QUART_TRAVAIL" IN NUMBER,
    "P_CODE_EQUIPEMENT" IN VARCHAR2 ,
    "P_DATE_TRANSACTION" IN DATE ) RETURN VARCHAR2 IS
    CURSOR CRS_TEMPS_NET_FONCT_MIN IS
    SELECT SUM(NVL(EFF_REMPL.TEMPS_NET_FONCT_MIN,0))
    FROM SSDW_EFF_REMPL EFF_REMPL,
    SSDW_EFF_REMPL_QUART_TRAVAIL EFF_QUART
    WHERE EFF_REMPL.NO_CENTRE_DISTRIBUTION = P_NO_CENTRE_DISTR
    and EFF_REMPL.id_quart_travail = EFF_QUART.ID_QUART_TRAVAIL_CENTRE_DISTR
    and EFF_QUART.quart_travail = P_ID_QUART_TRAVAIL
    AND EFF_REMPL.CODE_EQUIPEMENT = decode(UPPER(P_CODE_EQUIPEMENT),'TOUS',EFF_REMPL.CODE_EQUIPEMENT, P_CODE_EQUIPEMENT )
    AND TRUNC(EFF_REMPL.DATE_TRANSACTION) = TRUNC(P_DATE_TRANSACTION);
    V_TEMPS_NET_FONCT_MIN NUMBER;
    BEGIN
    OPEN CRS_TEMPS_NET_FONCT_MIN;
    FETCH CRS_TEMPS_NET_FONCT_MIN INTO V_TEMPS_NET_FONCT_MIN;
    CLOSE CRS_TEMPS_NET_FONCT_MIN;
    RETURN ('ZZ'||to_char(P_CODE_EQUIPEMENT||'ZZ');
    END;
    I know how to use a function inside discoverer; my question is ; for my four input parameters ( each one correspond to a page-element )
    My question is ; if i decide to choose to select the value <All> for equipement code; what will be the real value passed in parameter to my function.
    Like you can see in my code ; i decide to return the parameter in value.
    When i select <All> the output parameter equal nothing ; i see absoltely nothing in screen ; i don't see 'ZZ'
    Thanks
    Marc

Maybe you are looking for

  • Opening a PDF in indesign

    How can I open a PDF into indesign and still be able to make changes to the document. Indesign wasn't allowing me to save so I didn't know any other option other than exporting it as a PDF

  • Is there a network version of Adobe Acrobat Pro 9?

    Is there a network version of Adobe Acrobat Pro 9?  If not, are their volume licenses available? What additional adobe products need to be purchased in order to run Adobe Acrobat 9 on a network? Is there a licensing system that allows, for example, 4

  • Trying to install update checking for current does not respond

    FIREFOX 6.0.2 exe when installing and while checking the current version takes a long time and seems to be blocked and/or it takes a longer time than I would expect. Finally I am informed that it is not responding.

  • HT201209 Since updating ios7 I can't do FaceTime can anyone out there give me some guidance pleeeeaaaase

    Can anyone help me since updating with the latest iOS for my iPad I can't do FaceTime and also when I go to camera I can't do video recording anymore been to settings to see if ther have been any obvious changes can't find anything that would cause t

  • OIM Design Console

    Hi all I am trying to install OIM design console but can't find the binaries from the list in oracle web site. Can you please let me know where should I bring the binaries from ? We already installed oim server on linux and as far as I know the desig