API for access of guided procedure from ABAP / WebDyn: change/read status

Hallo together,
I'm very new to guided procedure and have some questions about possible interaction between WebDynpro ABAP and Portal guided procedures (UWL ?)
is it possible to access a guided procedure or their attributes from WebDynpro ABAP? What are the relevant key attributes (ID's) to do so?
Is is possible to change the status of a guided procedures f.e. from "completed" to "ready" from outside, let say WebDynpro ABAP? for the purpose of a monitor for mgrs.
- possible szenario is a manager says: "no, not well done" go back to start and do it again !
- another szenario: guided procedure is "running" and should be set to "completed"
Any hint will be helpfull
Thanx very much in advance
regards Hans

Hi Hans,
There is a good and a bad news regarding APIs for GP and ABAP Web Dynpro and GP:
The good news is that you can find [here|http://help.sap.com/javadocs/nwce/current/gp/index.html] the APIs for GP.
The bad news is that the cooperation capabilities between GP and ABAP Web Dynpro are restricted in a certain way. One can use a ABAP Web Dynpro in GP as callable object, but GP is only capable to transport parameter values from GP to the UI but not vice versa. In many cases one needs a solution where the ABAP Web Dynpro UI accepts user inputs and forwards them to the GP context. This is not supported.
Regards,
    Jan

Similar Messages

  • Need coding support for Accessing MYSQL stored procedure from java

    Hi every one,
    I need coding support for accessing Mysql stored procedure from java and JSP.
    Please help me
    pranav

    You'd better have a recent version of MySQL, because earlier ones didn't support stored procs.
    If your MySQL and driver support stored procs, maybe you just need a JDBC stored proc tutorial.
    %

  • The syntax for accessing MS SQL db from JSP

    Can anybody help me with the syntax for accessing MS SQL db from JSP???
    This is what I do when I use MySQL:
    Class.forName( "org.gjt.mm.mysql.Driver" );
    Connection conn = DriverManager.getConnection(
         "jdbc:mysql:://um" ,
    What do I write when it is MS SQL and where do I install the driver
    BR Soren

    Can anybody help me with the syntax for accessing MS
    SQL db from JSP???
    This is what I do when I use MySQL:
    Class.forName( "org.gjt.mm.mysql.Driver" );
    Connection conn = DriverManager.getConnection(
    "jdbc:mysql:://um" ,
    What do I write when it is MS SQL and where do I
    install the driver
    BR Soren
    One way of doing this is to use ODBC. Here's an example:
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection conn = DriverManager.getConnection("jdbc:odbc:<odbc name>", "<login>", "<password>");

  • Start Guided Procedures from WebFlow

    Hi again!
    Now we maybe found a way to start a Guided Procedures Process from SAP WebFlow. But then we encountered another problem.
    To transfer parameters from SAP WebFlow via container-elements to the GP the SAP WebFlow parameters have to be equal with the technical parameters of Guided Procedures.
    The problem is that Guided Procedures assigns the technical parameters automatically and adds a point and the number of the parameter.
    The idea behind should be to differ parameters with the same name.
    For example:
    AUFNR = AUFNR.1
    another parameter with the same name gets the technical name
    AUFNR = AUFNR.2
    But SAP WebFlow, especially ABAP, interprets a point as the end of a statement.
    So you can not use elements in your container with a point (AUFNR.1)
    My question.
    Is it possible to affect the automatic allocation of a technical name of a parameter in Guided Procedures to avoid the point in that parameter?
    I hope that there is someone who can help me.
    It would be absurd if the parameter passing would fail solely because the technical names of GP-parameters contain a point.
    Thanks for answers of every description

    Answered

  • Access a OCI Catalog from ABAP code

    Hi Experts,
    We may need to access an OCI Catalog from an ABAP code. We will need to punch out the Catalog in a browser window, and somehow get the results from the browser back to the ABAP code.
    Any idea of how can this be accomplished?
    Thanks and regards,
    José Omar

    Accessing the catalog is nothing but creating a hook url and directing to that URL.
    For eg. you should have the parameters read from the SPRO settings in SRM and then creating an URL in the fly.
    But as of now you can have hard coded URLs being fed in.
    ie you click on a link and you fire the exit plug as in Web dynpro in suspend mode.
    The main criteria is to have the catalog OCI 4.0 complaint. (read mandatory fields etc in OCI 4.0 documentation)
    Then once you shop from some items in the catalog , the OCI compliant catalog will send you the data in the required file format.
    At the receiving end , PO etc . you should have a ABAP method (at resume ) that interprets this sent name-value pair file from the catalog. then populate this data where you want.
    you can have a look at the SRM methods that does the same in ABAP.
    This would the 20,000 feet or more process overview on how it works. Hope this helps
    thanks
    -Adrivit

  • Calling oracle procedure from ABAP program

    There is a requirement to call the oracle stored procedure with some input parameter from ABAP program.
    Suppose we have order number which is entered by the user in ABAP program.
    This order number needs to be passed to oracle stored procedure as an input parameter in the same ABAP program.
    We can call the oracle stored procedure without parameter using the following syntax
    exec sql
    execute procedure <procedure name>
    end exec.
    But do not know how to execute the oracle stored procedure with some input parameter?

    Apologies , following is the correct code.
    This will definetly solve your problem.
    DATA scarr_carrid TYPE scarr-carrid.
    SELECT-OPTIONS s_carrid FOR scarr_carrid NO INTERVALS.
    DATA s_carrid_wa LIKE LINE OF s_carrid.
    DATA name TYPE c LENGTH 20.
    TRY.
        EXEC SQL.
          CREATE FUNCTION selfunc( input CHAR(3) )
            RETURNING char(20);
            DEFINE output char(20);
            SELECT carrname
                   INTO output
                   FROM scarr
                   WHERE mandt  = '000' AND
                         carrid = input;
            RETURN output;
            END FUNCTION;
        ENDEXEC.
        LOOP AT s_carrid INTO s_carrid_wa
                         WHERE sign = 'I' AND option = 'EQ'.
          TRY.
             EXEC SQL.
                EXECUTE PROCEDURE selfunc( IN  :s_carrid_wa-low,
                                           OUT :name )
              ENDEXEC.
              WRITE: / s_carrid_wa-low, name.
            CATCH cx_sy_native_sql_error.
              MESSAGE `Error in procedure execution` TYPE 'I'.
          ENDTRY.
        ENDLOOP.
        EXEC SQL.
          DROP FUNCTION selfunc;
        ENDEXEC.
      CATCH cx_sy_native_sql_error.
        MESSAGE `Error in procedure handling` TYPE 'I'.
    ENDTRY.
    Reward points if usefull.
    Thanks and regards,
    Veerendranath.

  • Initiating guided procedures  from web dynpro

    Hi All ,
             I am working on Netweaver 7.1  with guided procedures . I want to handle all process from web dynpro , i.e. i want to initiate process from web dynpro not from portal.
    Thanks in advance
    Regards
    Kavita

    Hi Kavita,
    You can Initiate the GP Process from web dynpro.
    Refer to these blogs.You have all that is required for you in these bolgs.
    The specified item was not found.
    The specified item was not found.
    Regards,
    Sumangala

  • Problem accessing Sql server Procedure from Crystal with JDBC driver

    I have some Crystal reports using SQL Server procedures, most of them are working very well; however, I have 2 that have problems accessing sql server procedures. These reports are working using OLE DB connection without problem, but when I try to relocate the connection to JDBC Crystal generates an error like that the procedure not return records.
    The procedure is working with other products including OLE DB connections from crystal.
    What can I do?
    Thanks in Advance,
    JaimeC

    I am using:
    Crystal report 11 - 11.0.0.1282 and Crystal 2008 = 12.0.0.683
    SQL Server 2005 -  Microsoft SQL Server Management Studio Express     9.00.4035.00
    Windows XP
    I have discovered that the procedures create and work  temporary tables. In other cases when is working ok, the procedures have not working temporary tables.
    Thanks,
    Jaime Carrillo

  • Method class for calling/executing VB script from abap

    Hi All,
    I need to call a vb script from abap.
    This vb script performs some function then.
    For executing this VB script i use the method CL CL_GUI_FRONTEND_SERVICES=>Execute.
    Now i need to pass data to the vb script in the from of a structure/workarea.
    Does anyone have any idea on what class/method shoul i use?
    Regards,
    Harshit Rungta

    Check Connect VB to SAP
    Kanagaraja L

  • How to pass tables in Guided Procedures from VC

    Hi experts!
    I'am working in a workflow scenario, more precisely an approve-reject workflow scenario.
    I've defined all the start and the end points belonging to the respective iviews (I mean the sender and the approver iviews), following the  [Modeling Visual Composer iViews for Guided Procedures|http://help.sap.com/saphelp_nw70/helpdata/en/44/429bbd709914bce10000000a155369/frameset.htm]
    and everything works ok if I pass input fields, data fields, or boolean fields.
    But I need to pass tables (In fact, I need to pass MORE THAN ONE table)....  Is that possible?
    How do I make it?
    Any help will be apprecieated and point-rewarded.
    Thanks in advance
    Best Regards,
    Marcelo
    P.S. I'm working on EP7 VC SP15

    Hi,
    If you'll create 2 iViews:
    1. Table connected to end point (all the fields are mapped and table selection mode is multiple)
    2. Table connected to start point with same fields.
    and create GP process for it, you'll find that selecting all the fields and passing them will result with all the selected fields appear in the 2nd iView.
    But, i don't know if you can pass the entire table automatically (without the user selecting all the records).
    Hope I helped,
    Shay

  • Start Guided procedure from VC

    Hi
    I have one visual composer interface with one button "create". I want to start a Guided procedure(GP) in a new window when user click this button. I have GP url. I can do this using html view. But i don't want "html view" icon on my interface. If i make html view visibility condition false, i am not able to open new window on user click.
    anyone has any idea please reply...it is urgent
    Regards
    Saurabh Garg

    Hi,
    create a new button and define system action "Hyperlink".
    Maybe this will help.
    Regards
    Christophe Mutzig

  • How to export and import Guide Procedure from one portal to another portal

    Hi all,
    I have accomplished a Guide Procedure on one portal, but I want to export this Guide Procedure and import it to another portal, please tell me what can I do?
    Best regards & Thanks!

    Sam,
    Did you get to check this help document yet.
    http://help.sap.com/saphelp_nw70/helpdata/EN/69/31d0cdb7094d00aa11f935221fb5bf/frameset.htm
    Hope this helps.
    Good Luck!
    Sandeep Tudumu

  • APIs for accessing the ESS log and output files from UCM

    Hi,
    As I understand, the output and log files of an ESS job will be uploaded to UCM.
    We have a requirement where in we are building a simple error handling framework, which gets triggered after a series of ESS jobs are run. In the error handling framework based on some processing logic we need to e-mail the error or log files to the users. I am not able to find any information related to retrieving the log and output files for and ESS job from UCM. Any inputs on this will be appreciated.
    Thanks for your help,
    Thiru

    For accessing content in UCM you can use the RIDC APIs or UCM Web Services. Note that the UCM also provides features for workflow etc. that could potentially be used for notifications refer to the developer guide for details. For UCM related questions you may want to use this forum instead
    Jani Rautiainen
    Fusion Applications Developer Relations
    https://blogs.oracle.com/fadevrel/

  • Are there any APIs to access user personalization data from java

    Hi gurus,
    We want to access personalization data for a user from java using API. This includes user mapping also.
    If you are aware of any api please let me know.
    Thanks in advance.
    Regards,
      Pratik Thakkar

    Hi Pratik,
    You can also retrieve a system object and get the user mapping for the system:
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY,IPcdContext.PCD_INITIAL_CONTEXT_FACTORY);
    env.put(Context.SECURITY_PRINCIPAL, request.getUser());
    env.put(Constants.REQUESTED_ASPECT, PcmConstants.ASPECT_SEMANTICS);
    iCtx = new InitialContext(env);
    ISystem pcdSys =(ISystem)iCtx.lookup(sysId);
    ISystemUserMappingData um = pcdSys.getUserMappingData(request.getUser());
    From this object you can get the user, password and other properties.
    As for personalized values of iView attributes, you can an environmental value before create the initial context to indicate to return personalized value, as follows:
    env.put(IPcdContext.PCD_PERSONALIZATION_PRINCIPAL, request.getUser());
    Hope this helps.
    Daniel

  • APIs for accessing account details

    Hi Experts,
    I want to get the details of a process form using one of its custom fields as input. I then have to find the oim user assosciated with this account. Please suggest the APIs which can be used.
    Regards,
    Subin

    For accessing content in UCM you can use the RIDC APIs or UCM Web Services. Note that the UCM also provides features for workflow etc. that could potentially be used for notifications refer to the developer guide for details. For UCM related questions you may want to use this forum instead
    Jani Rautiainen
    Fusion Applications Developer Relations
    https://blogs.oracle.com/fadevrel/

Maybe you are looking for

  • Use tax reports do not match

    Use tax reports do not match. One shows the GL account balance using FAGLB03 and the other is the use tax report S_ALR_87012394.  I need to use S_ALR_87012394 to determine the location of the tax and pay it but since it doesnu2019t match with the GL

  • Fade Out_Not Working..??

    I am editing with FCP 6.02, in 720P HDV. I have not had this problem throughout my whole project. But all of a sudden none of my Fades are working. Even fades to black that I had added before now just cut. I can see the transition image at the end of

  • Mail 5.1 -- sorting and searching by sender

    I just upgraded to Lion OS X, and I took the opportunity to move from Entourage to Mail 5.1.  I may have to move over to Outlook for Mac if I can't figure this out.  I'd like to be able to sort and search by sender without using the search bar, which

  • Role exists only in DBA_ROLES

    I have a role DPPM_UPDATE_ROLE which exists in the DBA_ROLES but it is not there in any of the database views. Is there a possible reason for this? I am thinking may be it is created but not given any of the grants nor assigned to any of the users. I

  • Use Airport Express as Internet hub, bridge Time Capsule for N-only?

    OK I checked on the forums, but I could not find anything quite specific it what I was trying to accomplish. I recently got a 500GB Time Capsule. I changed my network around, which was based off of two Airport Express stations – on in the office hook