Submitting data through API without exposing DB credentials

Submitting transaction / master data through API without exposing DB credentials
I am developing a scenario where I will submit transaction / master data like sales order / master item to Oracle apps (EBS) through MS Excel via API / interface table but like to provide only apps (EBS) user credentials rather then DB credentials so DB password could not expose to normal end user. Please suggest something on same.
[email protected]
Thanks & regards,
Sachin Gupta

Sachin, you need a valid userid and password to connect to the database.
Since these APIs are defined under apps, you need apps password to execute them.
The workaround is that you define a new d/b userid.
Grant execute on the API (and other objects as necessary) to this user.
And then you call the api using the new userid and password.
This way you are not exposing apps password. But since this means you have to grant a number of accesses to this new user.
If you can use the interface tables, it becomes a little easier.
All you have to do is grant insert access on a handful of interface to this new userid. And then you schedule a concurrent program that will process the interface records.
If you absolutely can not expose ANY database password, then you can communicate with EBS using flat files. Your system creates a flat file on the server and a scheduled program in EBS reads the files and calls appropriate api.
Hope this helps,
Sandeep Gandhi

Similar Messages

  • Receive data through php without button

    Hi,
    This is the situation: I have an application that is
    displaying pictures.
    First I would like to display a score with each picture, so
    everytime a picture is being loaded I would need to get the score
    by posting the name of the picture through HTTPService to a php
    file, and then get the score back and display it (without asking
    the user to push a button).
    The users should allso be able to give the pictures a score,
    but this time they would push a button after giving a score.
    Is there a way to refresh the score (the average score of the
    picture) after the user gives a score?
    Thx!

    To diagnose this problem, I would recommed that you try to connect with sqlplus from the machine where PHP is running.
    Using your settings, the connection attempt should look like this:
    sqlplus -L "user/pass@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=db0-srv.domain.edu)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=dw.domain.edu)))"
    Try also from a client machine that is known to work with this database server.
    Yours,
    Laurenz Albe

  • What is the api to upload Customer contact data through api

    Dear
    i have uploaded customer and thier sites data but now need to upload customer sites contact data,i have searched but still
    unable to find contact api,
    could you please have any idea to upload contact data api.
    --thanks                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Did you check note 837568.1 ?
    Regards,
    Srini

  • Accessing OIM data through API

    Hie,
    can u say me the code for " getting the resource accounts he have for the Particular user when his login is given as input" through OIM11gR2 api.

    you may get the user's key based on the user's login and then use the following OIM API to fetch a list of all the objects that have been provisioned for a user:
    Thor.API.tcResultSet getObjects(long plUserKey)
    Complete details:
    http://docs.oracle.com/cd/E27559_01/apirefs.1112/e28159/Thor/API/Operations/tcUserOperationsIntf.html#getObjects_long_

  • Procedure for loading data through 0CO_OM_CCA_9 without taking downtime .

    Dear Friends ,
    We have already maintained the flow from 0CO_OM_CCA_9 to Infocube 0COOM_C02 . Now i enhanced two fields in the datasource which i want to load into the cube . The infocube already contains data from 2008 onwards . Now i know that for controlling datasources SAP ECC/R3 downtime is not needed . Requirement is to load the historical data again for the two enhanced fields also from 2008 onwards .
    Kindly let me know the steps for doing as the delta mechanism is already activated for this flow ?
    Thanks & Regards ,
    Ashutosh Singh

    Hi All,
    I am able to create this in client 100 but not in 120. I created this program by copying the source code from sap note and run in test mode in client 100 of development server. I am getting the message that "there is no inconsistency in table BWMO2_TIMEST".
    1. I am using client for loading data 120 not 100.
    Please let me know the further steps.
    Thanks,
    Harry

  • We can able to load master data through manually FIRST ROW IS EMPTY

    Hi,
        we can able to load master data through manually without loading but in that screen where we we type the data FIRST ROW IS EMPTY.PLZ tell me why that is empty

    Becasue SAP BW already creates a Blank Line, it cannot create a new one again for you.
    So, when you loaded the Blank like with description, it uses the existing blank line and creates test for it.
    Each row in the table will have a SID.
    e.g.,
    12345 text1
    23446 text2
    You cannot have
    12345 text1
    12345 text2
    If you load the above, you will have "12345 text2" in the table.
    Same way, you cannot have two SIDs for the same key, so your new text is used for the existing Blank Key value.
    SAP creates this:
    Key, Description
    when you loaded the Master Data, you have:
    " ", "whatever you loaded".
    Edited by: Ananda Theerthan on Apr 27, 2010 7:03 AM

  • I am facing problem in loading data in ap_invoices_all  in R12 through API

    Hi,
    When I am trying to load data in R12 through API (ap_invoices_pkg. Insert_Row), I can see my record in base table ap_invoices_all but I can't find my record from frontend application.
    MAGSA AP Supervisor -> Invoices -> Entry -> Invoices.
    I will be very greatful if anyone can tell me the reason why I am not able to find my record.
    Thanks
    Ranjana

    I believe the issue is related to Multi Org Access Control (MOAC) - pl see MOS Doc 420787.1 - Oracle Applications Multiple Organizations Access Control for Custom Code - for a discussion.
    HTH
    Srini

  • Why does a standalone program created in Labview 8.5 try connecting to the internet when the program only reads data through the serial port? Firewalls object to progams that contact the internet without permission.

    why does a standalone program created in Labview 8.5 try connecting to the internet when the program only reads data through the serial port? Firewalls object to progams that contact the internet without permission.
    The created program is not performing a command I have written when it tries to connect to the internet, it must be Labview that is doing it. How do I stop this from happening? 
    Any help would be very appreciated.

    It looks that way..
    "When LabVIEW starts it contacts the service
    locator to removes all services for itself. This request is triggering
    the firewall.This is done in case there were services that were not
    unregistered the last time LabVIEW executed- for example from VIs that
    didn't clean up after themselves"
    This is not yet fixed in LV2009.
    Message Edited by Ray.R on 11-04-2009 12:25 PM

  • Hi friends, How to send any data (even binary) through XI, without using

    1) How to send any data (even binary) through XI, without using the Integration Repository .?

    hi ganga,
    Yes; 
    1. we can test adapters very easily and quickly without any IR development.
    2. we can send any formatted data without having to convert it to XML and back again, e.g. file->XI->file.
    3. we can send any document from 1 sender to multiple receivers using XI to guarantee delivery.
    /people/william.li/blog/2006/09/08/how-to-send-any-data-even-binary-through-xi-without-using-the-integration-repository
    the process integration layer of the NetWeaver  define/reuse interface objects for the SAP Integration Repository. These objects include Business Scenarios, Business Processes, Message Interfaces, Message Types, Data Types, Message Mappings, and Interface Mappings. The application developer refers to these objects in defining the interactive flow between applications for the SAP Integration Directory.
    regards,
    nikhil

  • Can we Save BQY without result set/data through dashboard script

    Hi All,
    Can we save a BQY without result set/data through dashboard script?
    Thanks,
    Soumitra

    Hi Soumitra,
    Its happy that you resolved it by yourself. But if you post your solution here then it will be helpful for everyone else looking for the same solution.
    Thanks,
    karthick

  • Problem in submitting job through Pl/sql

    Hi,
    I have a procedure with parameters as shown below.
    Pkg1.Proc1(indate date, innum1 number, innum2 number)
    I am trying to execute this procedure by submitting jobs through another procedure and passing the parameters dynamically. I found the jobs are not getting submitted. Please see the code inside the procedure as below.
    dbms_job.submit(var1,'BEGIN pkg1.Proc1(''' || i_date||''','|| i_num1||','||i_num2||'); END;',SYSDATE);
    I have tried as following also
    dbms_job.submit(var1,'BEGIN pkg1.Proc1(''''' || i_date||''''','|| i_num1||','||i_num2||'); END;',SYSDATE);
    both time the procedure is running fine but the job is not seen as submitted.
    when I am executing it as follows in sql * plus, it is executing fine.
    dbms_job.submit(var1,'BEGIN pkg1.Proc1(''15-aug-2007'',1,2); END;',SYSDATE);
    Please let me know if I need to change anything in my code.
    Regards,
    Poulose

    Hi Pls find the portion below.
    process_id is of type number and having value 1001. v_business_dt is a date variable. and i_module is a number with value 1.
    DBMS_JOB.ISUBMIT(CF_CRM.process_id,'BEGIN DBK_CRM_PROCESS_TRACKING.RUN_PROC(''' || v_business_dt||''','|| i_module||','||CF_CRM.process_id||'); END;',SYSDATE);

  • How To Load a Project Budget Line Through API in R12 ?

    Hello
    Could you please let me know how to load the project budget lines through API in R12 system, I am trying with below script but it is not working.
    Could you please let me know if you have any solution.
    =========================================================================================================================================================================
    Script
    DECLARE
    --––variables needed for API standard parameters
       l_api_version_number     NUMBER                                 := 1.0;
       l_commit                 VARCHAR2 (1)                           := 'T';
       l_return_status          VARCHAR2 (1);
       l_init_msg_list          VARCHAR2 (1);
       l_msg_count              NUMBER;
       l_msg_data               VARCHAR2 (2000);
       l_data                   VARCHAR2 (2000);
       l_msg_entity             VARCHAR2 (100);
       l_msg_entity_index       NUMBER;
       l_msg_index              NUMBER;
       l_msg_index_out          NUMBER;
       l_encoded                VARCHAR2 (1);
       i                        NUMBER;
       a                        NUMBER;
    --––variables needed for Oracle Project specific parameters
       l_pm_product_code        VARCHAR2 (100);
       l_pa_project_id          NUMBER;
       l_pm_project_reference   VARCHAR2 (100);
       l_budget_type_code       VARCHAR2 (30);
       l_change_reason_code     VARCHAR2 (30);
       l_description            VARCHAR2 (255);
       l_entry_method_code      VARCHAR2 (30);
       l_resource_list_name     VARCHAR2 (60);
       l_resource_list_id       NUMBER;
       l_budget_lines_in        pa_budget_pub.budget_line_in_tbl_type;
       l_budget_lines_in_rec    pa_budget_pub.budget_line_in_rec_type;
       l_budget_lines_out       pa_budget_pub.budget_line_out_tbl_type;
       l_line_index             NUMBER;
       l_line_return_status     VARCHAR2 (1);
       l_user_id                NUMBER;
       l_responsibility_id      NUMBER;
       API_ERROR                EXCEPTION;
    BEGIN
       -- SET GLOBAL INFO
       SELECT user_id,
              responsibility_id
         INTO l_user_id,
              l_responsibility_id
         FROM pa_user_resp_v
        WHERE user_name = 'RAJU';
       PA_INTERFACE_UTILS_PUB.SET_GLOBAL_INFO (p_api_version_number      => 1.0,
    p_responsibility_id       => l_responsibility_id,
    p_user_id                 => l_user_id,
                                               p_msg_count               => l_msg_count,
    p_msg_data                => l_msg_data,
    p_return_status           => l_return_status
       IF l_return_status != 'S'
       THEN
          RAISE API_ERROR;
       END IF;
    --––PRODUCT RELATED DATA
       l_pm_product_code        := 'GMS';
    --––BUDGET DATA
       l_pa_project_id          := 6271;
       l_pm_project_reference   := NULL;--'ABC';
       l_budget_type_code       := 'FC';
       -- l_change_reason_code := 'INITIAL';
       l_description            := 'New description –> 2';
       l_entry_method_code      := 'PA_TASKLVL_BASELINE';
       l_resource_list_id       := 1001;
    --––BUDGET LINES DATA
       a                := 1;
       FOR i IN 1 .. a
       LOOP
          l_budget_lines_in_rec.pa_task_id := 405156;
          l_budget_lines_in_rec.pm_task_reference       := NULL;
          l_budget_lines_in_rec.resource_alias          := 'Labor';
          l_budget_lines_in_rec.resource_list_member_id := '1034';
          -- l_budget_lines_in_rec.budget_start_date        := '01-Jan-13';
          -- l_budget_lines_in_rec.budget_end_date          := '31-Dec-14';
          -- l_budget_lines_in_rec.period_name          := 'JUL-10FY2011';
          l_budget_lines_in_rec.description             := 'Some Text';
          l_budget_lines_in_rec.quantity := 100.00;
          l_budget_lines_in_rec.raw_cost := 300.00;
          l_budget_lines_in (i)                         := l_budget_lines_in_rec;
       END LOOP;
    --––INIT_BUDGET
       pa_budget_pub.init_budget;
    --––LOAD_BUDGET_LINE
       FOR i IN 1 .. a
       LOOP
          pa_budget_pub.load_budget_line
                            (p_api_version_number           => l_api_version_number,
    p_return_status                => l_return_status,
                             p_pa_task_id                   => l_budget_lines_in (i).pa_task_id,
    p_pm_task_reference            => l_budget_lines_in (i).pm_task_reference,
    p_resource_alias               => l_budget_lines_in (i).resource_alias,
    p_resource_list_member_id      => l_budget_lines_in (i).resource_list_member_id,
    p_budget_start_date            => l_budget_lines_in (i).budget_start_date,
                             p_budget_end_date              => l_budget_lines_in (i).budget_end_date,
    p_period_name                  => l_budget_lines_in (i).period_name,
    p_description                  => l_budget_lines_in (i).description,
                             p_raw_cost                     => l_budget_lines_in (i).raw_cost,
    p_burdened_cost                => l_budget_lines_in (i).burdened_cost,
    p_revenue                      => l_budget_lines_in (i).revenue,
    p_quantity                     => l_budget_lines_in (i).quantity
       END LOOP;
       IF l_return_status != 'S'
       THEN
          RAISE api_error;
       END IF;
    --––EXECUTE_CREATE_DRAFT_BUDGET
        pa_budget_pub.execute_create_draft_budget (p_api_version_number        => l_api_version_number,
    p_msg_count                 => l_msg_count,
    p_msg_data                  => l_msg_data,
    p_return_status             => l_return_status,
    p_pm_product_code           => l_pm_product_code,
                                                  p_pa_project_id             => l_pa_project_id,
    p_pm_project_reference      => l_pm_project_reference,
    p_budget_type_code          => l_budget_type_code,
    p_change_reason_code        => l_change_reason_code,
    p_description               => l_description,
                                                  p_entry_method_code         => l_entry_method_code,
    p_resource_list_name        => l_resource_list_name,
    p_resource_list_id          => l_resource_list_id
       IF l_return_status != 'S'
       THEN
          NULL; --––RAISE API_ERROR;
       END IF;
    --––FETCH_LINE
       FOR l_line_index IN 1 .. pa_budget_pub.g_budget_lines_tbl_count
       LOOP
          pa_budget_pub.fetch_budget_line (p_api_version_number      => l_api_version_number,
    p_return_status           => l_return_status,
    p_line_index              => l_line_index,
    p_line_return_status      => l_line_return_status
          IF l_return_status != 'S' OR l_line_return_status != 'S'
          THEN
             RAISE api_error;
          END IF;
       END LOOP;
    --––CLEAR_BUDGET
       pa_budget_pub.clear_budget;
       IF l_return_status != 'S'
       THEN
          RAISE api_error;
       END IF;
    --––HANDLE EXCEPTIONS
    EXCEPTION
       WHEN api_error
       THEN
          FOR i IN 1 .. l_msg_count
          LOOP
             pa_interface_utils_pub.get_messages (p_msg_data           => l_msg_data,
    p_data               => l_data,
    p_msg_count          => l_msg_count,
    p_msg_index_out      => l_msg_index_out
             DBMS_OUTPUT.put_line ('Error Mesg ' || l_data);
             DBMS_OUTPUT.put_line ('Error Mesg ' || l_msg_data);
          END LOOP;
       WHEN OTHERS
       THEN
          FOR i IN 1 .. l_msg_count
          LOOP
             pa_interface_utils_pub.get_messages (p_msg_data           => l_msg_data,
    p_data               => l_data,
                                                  p_msg_count          => l_msg_count,
    p_msg_index_out      => l_msg_index_out
             DBMS_OUTPUT.put_line ('error mesg ' || l_data);
          END LOOP;
    END;
    =========================================================================================================================================================================

    Not knowing how its embedded...  you will need to get the report instance from the dll and cast it as a ReportDocument object.
    Given the info so far, that is all we can say.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • Error message: "Warning: unresponsive script". Afterward, the system freezes and will then crash. Crash reports have been submitted many, many times without response. I have tried the fore-mentioned solutions with either no results or very bad results

    Error message: "Warning: unresponsive script". Afterward, the system freezes and will then crash. Crash reports have been submitted many, many times without response. I have tried the fore-mentioned solutions with either no results or very bad results which I filed a report but did not receive an answer. The application to block scripts actually worsened the problem and I could not correct the situation for a while (no response from Firefox, at all). I have also been through this procedure without any one contacting me, AT ALL.
    == URL of affected sites ==
    http://http://www.facebook.com (always) and www.YouTube.com (sometimes)

    There does appear to be any support whatsoever from mighty "non caring" FIREFOX & people are getting fed up. We may as well try another system, if they can't be bothered to provide any support for their system, we can't be bothered to use their system.
    Brianeng

  • Difference in Creation of BRF+ artifact through API / Workbench

    Hello  ,
    I am new in BRF+ development. Need your help . While creating BRFPlus artifact in NW 7002 , what will be differences
    1) if we create  Application / function / Data object / Ruleset etc  using BRF+ workbench  and use ABAP code for calling /passing parameters
    2)if we  create   all these through through APIs .
    can anyone  guide me please .
    Thanks in advance.
    PS

    HI Carsten,
    Thanks for you response.
    Just to clarify some more ...Is there any issue later / limitation while extending/ changing  the functionality of rulesets if we create those with workbench in place of using APIs .
    For example in production server if we need to change / replace some context parameters OR adding one more row in decision table / or any other change.
    Thanks & Regards,
    PS

  • Sorting While maintaining data through SM30

    Hi Techies,
    I have developed a z-table with key fields a,b & c. Now when I am entering data through SM30, C(Char field) field is getting sorted after saving.
    My requirement is to store the data in table without any sorting. Actually this field C has some sequencing issue. So, Is there  any event for table which can be used to resolve this issue.
    Note: I have already tried Event 01 by creating a new include and giving my ID breakpoint. But its noty trigerring .
    Any advice would be deeeply appreciated.
    Thanks & Regards,
    Vinit

    Hi Florian,
    Actually The field 'C' mentioned above contains the name of chemical compounds. I am fetching this data from databse and displaying in printout. In printout the user wants the field 'C' should get displayed accoridng to Chemical Sequence.
    Currently the data in Legacy system is stored in that manner. I just wanted to know if v can restrict the sorting of field C, Than i dont have to write extra logic for displaying data in printout.
    Hope you understand the exact issue.
    Any suggestions would be appreciated.
    Note: yes i checked in SE16, SE16N & SE11, but same issue.
    Regards,
    Vinit
    Edited by: vinit005 on Sep 16, 2011 9:33 AM

Maybe you are looking for

  • Table for EBP users

    Hello all, I would like to distinguish EBP users from others sent from HR system. Is there any table where I can match users created in EBP and with their positions from HR. HRP1001 is not sufficient becuse there is no difference between EBP users an

  • LabVIEW developer seeks short/medi​um term contract work in UK/EU

    Hello All, I am an ambitious and hardworking LabVIEW developer who is available for short/medium term contract work in the UK/EU. My formal qualifications consist of a bachelors and masters degree in electronic engineering. I am permitted to work wit

  • PDF form takes ages to load

    Hi I have deployed my first interactive form, downloaded it and was able to update the data it contains. One thing bothers me though, and that is the very long time it takes to load the pdf form I developed. has anyone seen such a behaviour? Thanks y

  • EOS 5D mark 3 exposure metering problem

    Today, I got a problem with my 5D mark 3. I was using my 5D mark 3 and speedlite on Camera. After finished shooting, I took off the flash from the camera and shot it in Program mode (P) without flash, and auto ISO setting. I found out that my camera'

  • Multiple DML per Transaction

    My capture process is working fine if I change a single record and then commit. I can get the anydata and convert it to an lcr and do what I need. However, if I update multiple records, I am only getting a single anydata. That any data only conatins