Is it possible to do call transction in utility function  ?

i try to do call transction for "me33" ,
the problem is that whan i going back to my transction
(from  me33)i get order screen .
is it possible to inforce the transction go back to
my program  ?
some utility function or bapi  ?
thanks.

Hi Dakota,
Please try this.
IF E_COLUMN = 'KONNR'.
READ TABLE GT_OUTTAB INDEX E_ROW-INDEX INTO GT_OUTTAB.
SET PARAMETER ID 'VRT' FIELD GT_OUTTAB-KONNR.
CALL FUNCTION 'C14Z_TRANSACTION_CALL'
  EXPORTING
    I_TCODE                             = 'ME33'
    I_FLG_SKIP_FIRST_SCREEN             = 'X'
  EXCEPTIONS
    ILLEGAL_INPUT                       = 1
    INTERNAL_ERROR                      = 2
    OTHERS                              = 3.
IF SY-SUBRC <> 0.
  MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
     WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Regards,
Ferry Lianto

Similar Messages

  • Is it possible to call the Print Quote functionality from Custom ADF page

    Hi,
    We are researching if it is possible to call the Print Quote functionality from the Custom ADF application.
    Goal is to pop up the PDF report upon clicking the Print Quote button on the custom page. Is it possible ?
    Atleast advice on the direction to go forward is appreciated.
    Thanks
    Sai

    Hi ,
    Please check following thread on forum -
    Re: ADF: Calling OAF Page from ADF page
    Check this may also be useful-
    https://blogs.oracle.com/shay/entry/to_adf_or_oaf_or
    I have not tried yet but Steven Chan (Sr. Director OATG) suggest following methodolgy for this-
    https://blogs.oracle.com/stevenChan/entry/appsdatasource_jaas_ebs
    Thanks,
    Ashish

  • Is it possible to call custom designed RFC function module, apart from BAPI

    Hi Friends,
    1.     Is it possible to call custom designed RFC function module, apart from BAPI.
    2.     Why we call it Adaptive RFC layer, Since every time the JCO layer updated with SAP, Why can’t be dynamic.
    Thanx for Ur time.
    Cheers,
    Sam

    Also check <a href="http://help.sap.com/saphelp_nw04/helpdata/en/41/38bc8f813719488ddc9d9b21251ec3/frameset.htm">here</a> for more information on aRFC. Here you can find why it is called adaptive.
    Regards,
    Christophe

  • Is it possible to pickup call on 7925 wireless handset?

    Hi
    Is it possible to pickup a call with 7925 handset?
    I checked the phone button template but couldn't see it
    Is it possible to pickup call with another way such as specific code ..etc.
    Or any other solution..
    CUCM ver 9.1
    Thanks for your help.

    Hi,
    Call Pickup is supported on 7925 Wireless phones as documented here
    http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cuipph/7925g_7925gEX_7926/8_0_1/english/user_guide/P256_BK_EBE22FA_00_wireless-ip-phones-user-guide/P256_BK_EBE22FA_00_wireless-ip-phones-user-guide_chapter_011.html#P256_TP_CF83FB73_00
    HTH
    Manish

  • Help in call transction

    Hi
    How can i call transction with parameters
    thanks
    have a nice day

    Hi
    data: ctumode like ctu_params-dismode value 'N'.
    data: cupdate like ctu_params-updmode value 'L'.
    data: bdcdata like bdcdata    occurs 0 with header line.
    data: messtab like bdcmsgcoll occurs 0 with header line.
    perform create_transaction using 'MB1A'.
    form create_transaction using    tcode.
    call transaction tcode using bdcdata
                          mode   ctumode
                          update cupdate
                          messages into messtab.
    endform.
    Thanks
    venki

  • Call Transction - BDC

    Hi,
    Can anyone tell me where should i write code(in following BDC program) for handling error messages in Call transction method using bdcmsgcoll?
    BDC Code:
    report ZBDC_EMPN
    no standard page heading line-size 255.
    include bdcrecx1.
    TABLES: ZTRGEMP, ZTRGDEPT, ZTRGTXN.
    parameters: dataset(132) lower case.
    DO NOT CHANGE - the generated data section - DO NOT CHANGE ***
    If it is nessesary to change the data section use the rules:
    1.) Each definition of a field exists of two lines
    2.) The first line shows exactly the comment
    '* data element: ' followed with the data element
    which describes the field.
    If you don't have a data element use the
    comment without a data element name
    3.) The second line shows the fieldname of the
    structure, the fieldname must consist of
    a fieldname and optional the character '_' and
    three numbers and the field length in brackets
    4.) Each field must be type C.
    Generated data section with specific formatting - DO NOT CHANGE ***
    data: begin of record,
    data element:
    IEMP_001(006),
    data element:
    INAME_002(010),
    data element:
    ISAL_003(010),
    data element:
    IDPT_004(020),
    end of record.
    End generated data section ***
    DATA : BEGIN OF ITAB OCCURS 0,
    EMPNO LIKE ZTRGEMP-EMPNO,
    EMPNAME LIKE ZTRGEMP-EMPNAME,
    EMPDPT LIKE ZTRGDEPT-EMPDPT,
    SALARY LIKE ZTRGTXN-SALARY,
    END OF ITAB.
    start-of-selection.
    CALL FUNCTION 'UPLOAD'
    EXPORTING
    FILENAME = 'C:\EMP.TXT'
    FILETYPE = 'ASC'
    TABLES
    DATA_TAB = ITAB.
    perform open_group.
    LOOP AT ITAB.
    perform bdc_dynpro using 'ZASS_6' '0100'.
    perform bdc_field using 'BDC_OKCODE'
    '=CRT'.
    perform bdc_field using 'BDC_CURSOR'
    'IEMP'.
    perform bdc_field using 'IEMP'
    ITAB-EMPNO.
    perform bdc_dynpro using 'ZASS_6' '0200'.
    perform bdc_field using 'BDC_OKCODE'
    '=CRT'.
    perform bdc_field using 'BDC_CURSOR'
    'IDPT'.
    perform bdc_field using 'INAME'
    ITAB-EMPNAME.
    perform bdc_field using 'ISAL'
    ITAB-SALARY.
    perform bdc_field using 'IDPT'
    ITAB-EMPDPT.
    perform bdc_dynpro using 'ZASS_6' '0200'.
    perform bdc_field using 'BDC_OKCODE'
    '=C'.
    perform bdc_field using 'BDC_CURSOR'
    'INAME'.
    perform bdc_transaction using 'ZEMPN'.
    ENDLOOP.
    perform close_group.
    Mahesh

    hi mahesh,
    after call transaction stmt...
    for example give as below...
    CALL TRANSACTION 'FK01' USING IT_BDCDATA MODE 'A'
                            UPDATE 'S'
                            MESSAGES INTO IT_MESSAGES.
    WRITe:/ SY-SUBRC.
    PERFORM FORMAT_MESSAGES.
    CLEAR IT_BDCDATA.
    REFRESH IT_BDCDATA.
    ENDLOOP.
    form FORMAT_MESSAGES .
    DATA: L_MSG(100).
    LOOP AT IT_MESSAGES.
    CALL FUNCTION 'FORMAT_MESSAGE'
    EXPORTING
       ID              = IT_MESSAGES-MSGID
       LANG            = SY-LANGU
       NO              = IT_MESSAGES-MSGNR
       V1              = IT_MESSAGES-MSGV1
       V2              = IT_MESSAGES-MSGV2
       V3              = IT_MESSAGES-MSGV3
       V4              = IT_MESSAGES-MSGV4
    IMPORTING
       MSG             = L_MSG
    EXCEPTIONS
       NOT_FOUND       = 1
       OTHERS          = 2
    write:/ l_msg.
      endloop.
    endform.                    " FORMAT_MESSAGES
    hope this helps,
    do reward if it helps,
    priya.

  • Is it possible to have calls made to skype phone n...

    Dear all,
    I have recently been missing some very important calls just because I am not on my desktop or my phone does not alert me of a skype call. Is it possible to get calls made to any of my skype phones on my mobile, through forwarding? 
    I would appreciate any help. 
    thanks

    You CAN create a DLL with a UI. All you have to do is set the VI Porperties to Dialog Box and the front panel will be displayed. So, if you rewrite your main application to dynamically load DLLs, this should work. You will need to have common inputs and outputs on all your DLLs so that they share the same function prototype. The other way doesn't require you to create a DLL. There is a shipping example called Plug In Example. It uses a Call By Reference Node to dynamically call VIs. In the example, plug in VIs are put in a specific folder and a list of them is generated. The user can select which plug in VI to execute. Agin, you will need to have common inputs and outputs so that the Call By Reference will work.

  • Calling a report from function module

    Hi Friends,
    I have requirement for Function Module i.e. we will add the button to the standard T-code and ( Function added in config ) then
    Function to be called from Customizing
    Program A called from customizing function
    CalculationPDFFunction  is called from program A.
    So can any one help me the logic for "calling a report from function module  ".
    Thanks in Advance.
    Regards,
    OSReddy.
    Edited by: OSReddy on Sep 23, 2011 7:31 AM

    Hi Jaya,
    Yes. It is possible to call ur custom program using SUBMIT statement.
    1. If u have data to pass then build table type RSPARAMS and use below statement.
    data:
          rspar_tab  TYPE TABLE OF rsparams,
          rspar_line LIKE LINE OF rspar_tab,
    SUBMIT report1 WITH SELECTION-TABLE rspar_tab
                   AND RETURN.
    1. If u want to create variant to the program and use that. use the below statement .
    SUBMIT report1 USING SELECTION-SET 'VAR1' "variant
                   AND RETURN.
    Regards,
    Venkat.O

  • For each row of a table call a pl/sql function

    Hi,
    i have a search form in adf like this:
    parameter1:___
    parameter2:____
    buttonSearch
    Table with results
    field1 field2 field3
    row1 ------ --------- -------
    row2 ------ --------- -------
    row3 ------ --------- -------
    The user inputs the parameters 1 and 2 then press buttonSearch and the query execute and returns rows 1 to 3.
    What i need is for each row call pl/sql function and passed the parameter 1 and 2 and field 1 to 3 (plsql function recives 5 parameters (parameter1, parameter2, field1 , field2 and field3) )
    my buttonSearch call a java class that execute ExecuteWithParamters method.
    I create the call to my plsql function on Application module class and then export as a java interface.
    So i have the function to use in the viewcontroller layer, but i don't know where to use it, and how to pass the paramters: the parameter 1 and 2 that user inputs and the row fields.....
    any ideas....
    thanks!!

    Hi,
    for this you need to call the PLSQL function upon table rendering, which means that you need a field in the table referencing a managed bean. In the managed bean you can use #{row} and resolve it using a ValueExpression. #{row} gives you access to the current rendered row (this is why you need to do it when the table renders) and thus allows you to call getAttribute(name) to get the values of field 1 - 3. The search field value you should get through the bindings reference (assuming the search form uses ADF). Then you create an operation binding for the executeWithParameters and call operationBindingName.getParamsMap().put(argname, argvalue); on it.
    Frank
    Ps.: I am concerned about the performance you get and wonder if it isn't possible to create a transient attribute that executes the function and displays the results. As I understand, the search parameters are only to filter the result set, which you still can do

  • Calling IE's print function

    Hi,
    Is there anyway to make a button call IE's print function with web dynpro?
    Thx

    The thread Christophe pointed to, does it a little different:
    1. they create an HTML page @ runtime (based on the context, but that doesn't matter in your case) that contains javascript to print the page
    2. they open the page in an external window
    The problem with my approach is that it uses an IFrame, which is deprecated as of NW04s. An external window is different, that'll most likely be supported in the future too. But the main drawback of the external window is that you need to create it('s content)...
    So yes, I'm afraid the conclusion is there's no perfect way of doing it. In case your iViews are running in the portal, maybe, just maybe, a Web Dynpro action might trigger a portal event that in turn automatically executes the print action of the print button, i.e. the portal event "presses" the (invisible) print button on behalf of the user. I seriously doubt this is possible, but I'm no expert when it comes to portal eventing and what exactly is possible with portal eventing.
    Kind regards,
    Sigiswald

  • SQL report region source to call a pl/sql function using DB link

    Hi - I have a pl/sql function fn_dbtype(id NUMBER) defined in database X. The pl/sql function executes couple DML statements and returns a string (a SELECT query). I am able to call this function using SQL Plus (Connected to Database X) as below and it works fine:
    declare
    vSQL VARCHAR2(100);
    begin
    vSQL := fn_dbtype(1);
    end;
    The DML operations completed fine and vSQL contains the "Select" query now.
    In APEX:
    I am trying to create a SQL report in APEX using SQL query(PL/SQL function returning a sql statement) option. I am trying to figure out what to put in the region source so that the output of the "Select" query is displayed in the report.
    Moreover APEX is hosted in a different database instance. So I would need to call this pl/sql function using a DB Link.
    Please let me know what I need to put in the region source to execute the pl/sql function which returns the "Select" query thereby displaying the query output in the report. Thanks.
    Edited by: user709584 on Mar 19, 2009 2:32 PM
    Edited by: user709584 on Mar 19, 2009 2:34 PM

    try something like this:
    return fn_dbtype(1)@dblink;

  • How can I call a custom javascript function when clicking on cfgrid cell.

    I would like to call a custom javascript function when
    clicking on a cell in an cfgrid (of html format). The closest thing
    I can find is to use the HREF="" attribute, but it doesn't seem to
    work with javascript inside it.
    Simple example:
    <cfgridcolumn name="Foo" header="Foo"
    href="javascript:customFunction(#ID#);">
    Do I need to tap into the underlying Ext JS funtionality? If
    so, where can I start?
    Thanks!

    Hi,
    According to your post, my understanding is that you want to hide/show list columns based on specify the permission for Users, SharePoint Groups or Active Directory Groups.
    Here is a solution from CodePlex for your reference:
    SharePoint 2013 Column & View Permission
    https://sp2013columnpermission.codeplex.com/
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Error while using DB Adapter in BPEL[Calling a procedure or function]

    Hi
    I am getting Error while executing the BPEL Process.
    1) I created a BPEL Process which uses a DB Adapter. I am using call a procedure or function. My Procedure is shown below. It takes a string a s input parameter and executes that string. I have used an assign activity to assign the input string.
    Procedure
    create or replace
    PROCEDURE SP_QUERY(s_string in varchar2)
    AS
    l_sql_stmt varchar2(1000);
    BEGIN
    l_sql_stmt := s_string;
    -- dbms_output.put_line( l_sql_stmt );
    EXECute immediate l_sql_stmt;
    commit;
    dbms_output.put_line('Executed' );
    -- if SQLCODE = 0 then
    --retCodeString := 'OK';
    --end if;
    END;
    I gave input string as "select * from tab", I have also tried a insert statement to a table in which its present in this database. But i am getting the following error.
    <3 Jun, 2013 9:42:25 AM IST> <Error> <oracle.webservices.service> <OWS-04115>
    Whats the Issue? Is the issue with the procedure or the BPEL process? Please help me out. I am stuck in this

    Hi,
    According to your message you have selected your procedure, but looks like the procedure is not having any reply or response parameter with it.
    Have you executed the procedure separately from SQL editor and see whether you are able to get the response or not ?
    If you get response, then how many columns are you getting ?
    Check the column names are matching with the schema file generated by adapter and see whether those column names are available as elements in .xsd file.
    Example provided below..
    In the below link, check the section "9.7 Stored Procedure and Function Support"
    http://docs.oracle.com/cd/E23943_01/integration.1111/e10231/adptr_db.htm#CHDFBBCD
    Thanks,
    Vijay

  • XML Error while calling webservice from oracle function.

    I am getting an error while I am trying to call webservice from oracle function. Any ideas? Thanks.
    select get_new_string ('proxy:80', 'http://xxx/PatternVariations/SourceTest/WebMethods','Scott') from dual
    ERROR at line 1:
    ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00225: end-element tag "H4" does not match start-element tag "P"
    Error at line 9
    ORA-06512: at "SYS.XMLTYPE", line 0
    ORA-06512: at "DORSBP00.DEMO_SOAP", line 82
    ORA-06512: at "DORSBP00.GET_NEW_STRING", line 11

    The error message implies that the web service is returning something that is not well formed xml. Can you verify what is being returned by the web service call

  • Can we call a procedure within function?

    Can we call a procedure in function?
    If yes, then please explain with example.
    Thanks
    Aman

    Why don't you try it?
    SQL> set serveroutput on
    SQL> declare
      2   procedure p1 (
      3    i1 in out number
      4   )
      5   as
      6   begin
      7    i1 := 200;
      8   end p1;
      9   function f1
    10   return number
    11   is
    12    l1 number;
    13   begin
    14    p1(l1);
    15    return l1;
    16   end f1;
    17  begin
    18   dbms_output.put_line(f1);
    19  end;
    20  /
    200
    PL/SQL procedure successfully completed.
    SQL> set serveroutput off

Maybe you are looking for

  • How to change device name in Windows Explorer

    Hi Guys I need some help please, my Ipad 2 was updated on another friends machine. now when i plug it into my PC windows picks it up as his device name even though the devine name is corect in iTunes. Can anybody please help with correcting this? Tha

  • Function Module where-used list does not find update rule programs

    We have function modules called in update rules. The where-used list in the function builder does not find the update rule programs. For example, function DATE_GET_WEEK is called in an update rule to InfoCube YCUBE001. The activated program name for

  • Validate Valuation Type

    Hi, Is there any user exit or BADI that can be used to validate valuation type during PO creation - ME21N. If wrong value, it should prompt ERROR message and clear the message after the value has been corrected. You input much appreciated. Thanks.

  • Activation problem on Vision Update from 7.1 to 8.0

    Having reinstalled Labview and Vision software, the activation code I had does not work. The problem is around the fact that Vision 8 gives an update for NiMaq 1394 for IEEE 1394 to version 2.0.2, I am unable to present an appropriate activation code

  • Is there a way to adjust your ringer volume while the iphone is locked? [iOS 7] - as you could in iOS 6?

    In iOS 6, when the phone was locked, the user could slide to the emergency call screen then adjust the phone's ringer volume (up or down) by pressing the side volume buttons. I tried to perform the same action in iOS 7 with my 4S and have not been ab