Create Webservies from Backend

Hi
Any idea about how to create Webservices from Backend RFC/BAPI .

Hi,
Did you check the Web Services section of SDN ?
In the Developer Area, you will find an entry <b>Web Services</b>. Just expand : SAP NetWeaver -> Application Server -> Web Services
I will recommend the document titled "<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn?rid=/library/uuid/dab85be0-0601-0010-c6aa-b20626aa3cd5">a Code Free, Wizard-Driven Approach to Securing Web Services</a>".
Hope it helps.
Best regards,
Guillaume
<i>Message was edited by: Guillaume Garcia
Added link to the document</i>

Similar Messages

  • Is there any API or standard process to create structure from backend

    Hi,
    Is there any standard process to create structure from backend.I want to create 300 options for a option feature from backend.
    Please let me know the API through which it can be done.
    Best Regards,
    AJ

    AJ --
    Configurator provides a "Custom Import" capability to automatically create structure. It is documented in Chapter 5 ("Populating the CZ Schema") of the Oracle Configurator Implementation Guide.
    However, setting up a custom import may actually take you more time than just creating the Options manually in Configurator Developer. If the Options need to be duplicated across several Models, it may be advantageous to build them as Items in the Configurator Developer Item Master instead, and then use Populators to automatically create corresponding Options within your Option Feature(s).
    Eogan

  • XI/PI: need to create configuration from backend service interface to file

    Hi All,
    I need to create configuration in which i have to map my backend service interface to file document.
    For example i have interface CreateOrderInformation_Out which is coming from abckend and i want to store those details in a file on external/desktop via XI/PI.
    Can someone guide me with detailed steps involved in this?
    Which communication channel to use?How to create that channel?
    Thanks in advance,
    Regards,
    Ujwal

    Hi,
    your scenario will look like this:
    ECC->XI->File
    From ECC to XI: Use ABAP proxy (no communication channel required)
    From XI to File: Use file adapter (receiver communication channel required).
    For creating proxy: goto transaction sproxy and create proxy of CreateOrderInformation_Out.
    Call this proxy in your code to transfer data to XI/PI.e
    You need to define following objects in PI:
    Inbound receiver interface
    Message Type (includes datatype)
    Refer to SDN and SAP help for step by step tutorials.
    Regards,
    Gourav

  • How to create AP payment terms and withholding tax from backend ?

    Hi All,
    I have a requirement to create the AP Payment terms and withholding tax from backend as the data is going to be uploaded into 15 different instances therefore for the convenience i am looking for any API or Interface to create these from backend.
    Thanks & Regards,
    Mayur

    Hi Gurus,
    Please give me some information on this.
    Thanks,
    Mayur

  • Is there a way to create Timecard Templates from backend?

    Hello Folks
    Is there a way to create Timecard Templates from backend? I tried to create one with the following steps, but did not work. Throws a HXC_HXT_DEP_VAL_ORAERR
    The Oracle error is: &ERROR
    1. Create TIMECARD_TEMPLATE scope BB using hxc_timestore_deposit.create_bb
    2. Create Template_Name Attribute on the above BB
    3. Create DAY BB
    4. Create DETAIL BB for DAY BB
    5. Create Attribute BB for Hours Worked element on the DETAIL BB above
    6. Call hxc_timestore_deposit.execute_deposit_process(p_validate => FALSE
    ,p_app_blocks => l_tbl_timecard_info
    ,p_app_attributes => l_tbl_attributes_info
    ,p_messages => l_tbl_messages
    ,p_mode => 'SAVE'
    ,p_deposit_process => l_deposit_process
    --p_retrieval_process   => 'BEE Retrieval Process'
    , p_template => hxc_timecard.c_yes
    ,p_timecard_id => l_new_timecard_id
    ,p_timecard_ovn => l_new_timecard_ovn
    Any help would be greatly appreciated.
    Thanks
    Srinivasa

    Tim
    Application Release is 12.0.4, those notes do not help. Here is the complete script.
    declare
    l_tbl_timecard_info hxc_self_service_time_deposit.timecard_info;
    l_tbl_attributes_info hxc_self_service_time_deposit.app_attributes_info;
    l_tbl_messages hxc_self_service_time_deposit.message_table;
    --l_token_table                  hxc_deposit_wrapper_utilities.t_simple_table;
    l_blocks hxc_self_service_time_deposit.timecard_info;
    l_attributes hxc_self_service_time_deposit.app_attributes_info;
    l_tc_bb_id hxc_time_building_blocks.time_building_block_id%TYPE;
    l_day_bb_id hxc_time_building_blocks.time_building_block_id%TYPE;
    l_detail_bb_id hxc_time_building_blocks.time_building_block_id%TYPE;
    l_existing_tc_id hxc_timecard_summary.timecard_id%TYPE:= NULL;
    l_deposit_process hxc_deposit_processes.NAME%TYPE:= 'OTL Deposit Process';
    l_count_building_block PLS_INTEGER;
    i PLS_INTEGER;
    l_message fnd_new_messages.message_text%TYPE;
    l_approval_style_id NUMBER;
    l_new_timecard_id NUMBER;
    l_tc_days_counter NUMBER;
    l_new_timecard_ovn NUMBER;
    l_resp_id NUMBER := 50597; -- Responsibility US Employee Services
    l_application_id NUMBER := 809; -- Application HXC
    l_user_id NUMBER := 118189; -- FLORESR
    begin
    -- 1. Set Apps Context
    fnd_global.apps_initialize (l_user_id, l_resp_id, l_application_id);
    -- 2. Get Approval Style ID
    l_approval_style_id := TO_NUMBER(hxc_preference_evaluation.resource_preferences(411669,'TS_PER_APPROVAL_STYLE',1,SYSDATE));
    dbms_output.put_line('l_approval_style_id = '||l_approval_style_id);
    -- 3. Create TIMECARD_TEMPLATE BB similar to the logic in hxc_timestore_deposit.create_timecard_bb passing the scope as TIMECARD_TEMPLATE instead of TIMECARD
    -- We are starting with a new timecard so clear the global tables
    -- hxc_self_service_time_deposit.initialize_globals;
    -- Also clear the local PL/SQL table
    -- hxc_timestore_deposit_util.clear_building_block_table(p_app_blocks => l_tbl_timecard_info);
    l_count_building_block := l_tbl_timecard_info.LAST;
    -- PROCEDURE clear_building_block_table (
    -- p_app_blocks IN OUT NOCOPY hxc_block_table_type
    -- 'generate' a TBB ID
    IF (l_count_building_block IS NULL)
    THEN
    l_tc_bb_id := -2;
    -- never start at -1 because that has a special meaning in the deposit
    ELSE
    l_tc_bb_id := - (l_count_building_block) - 2;
    END IF;
    dbms_output.put_line('Creating Timecard');
    hxc_timestore_deposit.create_timecard_bb (p_start_time => fnd_date.canonical_to_date ('2011/09/26 00:00:00')
    ,p_stop_time => fnd_date.canonical_to_date ('2011/10/09 23:59:59')
    ,p_resource_id => 411669
    ,p_resource_type => hxc_timecard.c_person_resource
    ,p_approval_style_id => l_approval_style_id
    ,p_comment_text => 'Come on start working'
    ,p_app_blocks => l_tbl_timecard_info
    ,p_time_building_block_id => l_tc_bb_id
    hxc_timestore_deposit.create_bb (p_time_building_block_id => l_tc_bb_id
    ,p_type => hxc_timecard.c_range_type
    -- p_measure => DEFAULTS TO NULL
    ,p_unit_of_measure => NULL
    ,p_start_time => fnd_date.canonical_to_date ('2011/09/12 00:00:00')
    ,p_stop_time => fnd_date.canonical_to_date ('2011/09/25 23:59:59')
    ,p_parent_building_block_id => NULL
    -- Timecard Template does not have a parent -- May need to check on this parameter
    ,p_parent_is_new => NULL
    ,p_scope => hxc_timecard.c_template_scope -- Template Scope
    -- p_object_version_number => DEFAULTS TO 1
    -- p_approval_status=> p_approval_status
    ,p_resource_id => 411669
    ,p_resource_type => 'PERSON'
    ,p_approval_style_id => l_approval_style_id
    -- p_date_from => DEFAULTS TO SYSDATE
    -- p_date_to => DEFAULTS TO hr_general.end_of_time
    ,p_comment_text => 'Template Trials'
    -- p_parent_building_block_ovn => DEFAULTS TO NULL
    -- new => DEFAULTS TO 'Y'
    -- changed => DEFAULTS TO 'N'
    ,p_app_blocks => l_tbl_timecard_info
    dbms_output.put_line('After creating Timecard l_tc_bb_id = '||l_tc_bb_id);
    -- 4. Create PRIVATE TEMPLATES Attribute Category and Template Name passed from UI
    dbms_output.put_line('Creating Template_Name Attribute');
    hxc_timestore_deposit.create_attribute(p_building_block_id => l_tc_bb_id
    ,p_attribute_name => 'Template_Name'
    ,p_attribute_value => 'Trial Template from Code'
    ,p_deposit_process => l_deposit_process
    ,p_app_attributes => l_tbl_attributes_info
    dbms_output.put_line('Creating Template_Type Attribute');
    hxc_timestore_deposit.create_attribute(p_building_block_id => l_tc_bb_id
    ,p_attribute_name => 'Template_Type'
    ,p_attribute_value => 'PRIVATE'
    ,p_deposit_process => l_deposit_process
    ,p_app_attributes => l_tbl_attributes_info
    -- Below will be in a loop later
    -- 5. Create the DAY BB
    dbms_output.put_line('Creating DAY BB');
    hxc_timestore_deposit.create_day_bb(p_day => fnd_date.canonical_to_date('2011/09/26')
    ,p_parent_building_block_id => l_tc_bb_id -- returned by create_timecard_bb
    ,p_app_blocks => l_tbl_timecard_info
    ,p_time_building_block_id => l_day_bb_id
    dbms_output.put_line('After Creating DAY BB l_day_bb_id = '||l_day_bb_id);
    -- 6. Create DETAIL BB for first shift, lunch and second shift
    dbms_output.put_line('Create DETAIL BB for first shift, lunch and second shift');
    hxc_timestore_deposit.create_detail_bb(p_type => 'RANGE'
    -- ,p_measure => NULL -- Pass Null as its a template
    ,p_start_time => to_date('2011/09/26 06:00:00','YYYY/MM/DD HH24:MI:SS')
    ,p_stop_time => to_date('2011/09/26 11:00:00','YYYY/MM/DD HH24:MI:SS')
    ,p_parent_building_block_id => l_day_bb_id
    ,p_app_blocks => l_tbl_timecard_info
    ,p_app_attributes => l_tbl_attributes_info
    ,p_time_building_block_id => l_detail_bb_id
    dbms_output.put_line('After Creating DETAIL BB l_detail_bb_id = '||l_detail_bb_id);
    dbms_output.put_line('Creating Attribute 64869');
    hxc_timestore_deposit.create_attribute(p_building_block_id => l_detail_bb_id
    ,p_attribute_name => 'Dummy Element Context'
    ,p_attribute_value => 'ELEMENT - '||'64869' -- 01 Hours Worked
    ,p_app_attributes => l_tbl_attributes_info
    dbms_output.put_line('Creating Detail BB');
    hxc_timestore_deposit.create_detail_bb(p_type => 'RANGE'
    -- ,p_measure => NULL -- Pass Null as its a template
    ,p_start_time => to_date('2011/09/26 11:00:00','YYYY/MM/DD HH24:MI:SS')
    ,p_stop_time => to_date('2011/09/26 11:30:00','YYYY/MM/DD HH24:MI:SS')
    ,p_parent_building_block_id => l_day_bb_id
    ,p_app_blocks => l_tbl_timecard_info
    ,p_app_attributes => l_tbl_attributes_info
    ,p_time_building_block_id => l_detail_bb_id
    dbms_output.put_line('After Creating DETAIL BB l_detail_bb_id = '||l_detail_bb_id);
    dbms_output.put_line('Creating Attribute 65172');
    hxc_timestore_deposit.create_attribute(p_building_block_id => l_detail_bb_id
    ,p_attribute_name => 'Dummy Element Context'
    ,p_attribute_value => 'ELEMENT - '||'65172' -- 02 Unpaid Lunch
    ,p_app_attributes => l_tbl_attributes_info
    dbms_output.put_line('Creating Detail BB');
    hxc_timestore_deposit.create_detail_bb(p_type => 'RANGE'
    -- ,p_measure => NULL -- Pass Null as its a template
    ,p_start_time => to_date('2011/09/26 11:30:00','YYYY/MM/DD HH24:MI:SS')
    ,p_stop_time => to_date('2011/09/26 14:30:00','YYYY/MM/DD HH24:MI:SS')
    ,p_parent_building_block_id => l_day_bb_id
    ,p_app_blocks => l_tbl_timecard_info
    ,p_app_attributes => l_tbl_attributes_info
    ,p_time_building_block_id => l_detail_bb_id
    dbms_output.put_line('After Creating DETAIL BB l_detail_bb_id = '||l_detail_bb_id);
    dbms_output.put_line('Creating Attribute 64869');
    hxc_timestore_deposit.create_attribute(p_building_block_id => l_detail_bb_id
    ,p_attribute_name => 'Dummy Element Context'
    ,p_attribute_value => 'ELEMENT - '||'64869' -- 01 Hours Worked
    ,p_app_attributes => l_tbl_attributes_info
    -- 7. Deposit the Template
    dbms_output.put_line('Deposit the Template ');
    hxc_timestore_deposit.execute_deposit_process(p_validate => FALSE
    ,p_app_blocks => l_tbl_timecard_info
    ,p_app_attributes => l_tbl_attributes_info
    ,p_messages => l_tbl_messages
    ,p_mode => 'SAVE'
    ,p_deposit_process => l_deposit_process
    -- ,p_retrieval_process => 'BEE Retrieval Process'
    , p_template => 'Y'
    ,p_timecard_id => l_new_timecard_id
    ,p_timecard_ovn => l_new_timecard_ovn
    COMMIT;
    dbms_output.put_line('l_new_timecard_id = '||l_new_timecard_id);
    IF (l_tbl_messages.COUNT <> 0) THEN
    i := l_tbl_messages.FIRST;
    LOOP
    EXIT WHEN (NOT l_tbl_messages.EXISTS (i));
    l_message := fnd_message.get_string (appin => l_tbl_messages (i).application_short_name,
    namein => l_tbl_messages (i).message_name);
    DBMS_OUTPUT.put_line (l_tbl_messages (i).message_name);
    DBMS_OUTPUT.put_line (l_message);
    i := l_tbl_messages.NEXT (i);
    END LOOP;
    END IF;
    end;

  • Create PO at backend from SRM

    Hi
    I have below scenario to create PO at backend from SRM
    1)SRM Shopping cart(assign contract number) ->Create PO at ERP
    2)SRM Shopping cart ->RFx-> RFx Response -> Create PO at ERP.
    Can you pls confirm below doubts.
    1) Does the BAPI(BAPI_PO_CREATE1) is called for both above scenario?
    2) Also I want to know how the  attachment transfer is carried out from SRM to Backend.
       I found note to implement BADI BBP_CREATE_BE_PO_NEW at SRM for backend transfer.
       I implemented as follows including setting at ERP DC10,DC20,DC30.
    method IF_EX_BBP_CREATE_BE_PO_NEW~FILL_PO_INTERFACE1.
    Enable transfer of attachments in classic scenario
      cs_ctrl_att-BE_DOC_TYPE = 'SRM'.
      cs_ctrl_att-BE_STORAGE_CAT = 'ZDMS_CT_CT'.
      cs_ctrl_att-TRANSFER_ACTIVE = 'X'.
    endmethod.
    But i could not understand the general flow how the file attachment at SRM Portal is transferred to ERP DMS.
    can you please explain.
    Regards
    Chandra

    Hi Masa
    Thanks for your reply.
    yes, we are working on SRM7.0  EHP4.0.
    As you said, I can see in PI SXMB_MONI messages the PO is created in ERP backend.
    But why its going thru ESOA?  Why its not taking above BAPIs and RFC to transfer the PO datas?
    Also again the attachment is missing in PO created. its not transferred in ESOA standard?
    Addon possible to solve the problem?
    For your information.
    We transferred ERP PR file attachment as URL from ERP to SRM using BBP_TRANSFER program.
    Now after attaching file in SRM portal at RFX ,how PO is transffered to ERP?
    Pls guide me what should be done?
    Regards
    handra

  • Create EBS user exactly as an existing user from backend

    Hi All,
    I want to create a new EBS user which is exactly as an existing EBS user from backend ( such as responsibilities, end_date,start_date etc)
    EBS 12.0.6
    Database 11.2.0.2.0 .
    Thanks in advance,
    PP

    FNDLOAD (download the user data you want to clone, edit the ldt file with the new user info/details and upload it again using FNDLOAD) -- https://forums.oracle.com/forums/search.jspa?threadID=&q=FNDLOAD+AND+User&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    HusseinShall i have to create a user first then run then run FNDLOAD
    I found this command from a site (http://oracle.anilpassi.com/oracle-fndload-script-examples.html)
    FNDLOAD apps/**** 0 Y DOWNLOAD $FND_TOP/patch/115/import/afscursp.lct ~/XX_FND_USER_SRINI.ldt FND_USER USER_NAME='SRINI'
    Now I have changed the info in the ldt file according to my user id.
    What i command i should write now ?
    Thanks in advance.
    PP

  • Create PDF From a backend web page

    Hello, this is my first post on the Adobe Forums
    I am trying to get a capture of a web page using Adobe Acrobe "Create PDF from Web Page" However, I cannot figure out how to capture a page after I have logged into the site. I thought that Adobe Acrobat would recognize that I had logged in from Internet Explorer, or my default browser.
    I keep getting the Wordpress login page. I need to be able to see the dashboard. Finding a solution to this will help me develop solutions to my other web capture questions.
    Regards,
    Greg

    That is a limitation of using that method. A workaround is to print to PDF from your browser after you have the page you want loaded, but I don't know if that's acceptable to you.

  • Cannot create mysites from powershell: Original XSLT List View Web Part not found

    I have a bizarre problem in my SharePoint 2013 farm. This does not occur in my test farm, only in the farm we were going to go live with.
    I'm on windows Server 2012, SQLServer 2012 SP1, SharePoint 2013 April CU. 1 appserver/centraladmin server, 2 web servers.
    When I log into our mysitehost and click newsfeed, it will create a mysite (even though first it displays "we are sorry there was a problem creating your site")
    But from powershell, whether I use $UserProfile.CreatePersonalSite() or New-SPSite, I get the following error:
    Original XSLT List View Web Part not found
    So far I've only found one other person with this:
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/2503e42c-e114-4e89-8e00-89fe70f0b154/cannot-create-sharepoint-mysite-programmatically
    This is a brand new farm, created with the same scripts I created my test farm with, and same version of SharePoint. Only the service accounts are different. (Farm account has admin on the servers right now since I was setting up profile service).
    Some other errors from the same correlation ID that look related:
    It can't seem to find the listemplate 101
    And something looks wrong with the MySiteDocumentLibrary feature
    I have tried the following:
    1. run psconfig.exe on each server
    2. install-spfeature -AllExistingFeatures
    3. looped through the directory under Features and for each called Install-SPFeature $dirname -Force
    4. uninstalled and reinstalled MySiteDocumentLibrary feature
    5. blew away the whole farm (removed all servers from farm, deleted all databases) and recreated it.
    6. tried creating the UPA from the CentralAdmin gui.
    The only real difference I can think of between the working farm and non working farm is, I installed the working farm using RTM, then as they came out added the March PU and April CU. For this farm I installed RTM and March and April, and then ran my build
    farm script.
    I am at a loss. What do I need to do, re-install the binaries? That's all I can think of. What I love is that our test / POC system worked fine, and now 2 weeks before go-live I'm seeing errors on the production servers I've never seen before. Using the
    same scripts no less.
    Feature Activation: Feature 'Fields' (ID: 'ca7bd552-10b1-4563-85b9-5ed1d39c962a') was activated
    Feature Activation: Feature 'CTypes' (ID: '695b6570-a48b-4a8e-8ea5-26ea7fc1d162') was activated
    No document templates uploaded for list "$Resources:core,global_onet_solutiongallery_list;" -- none found for list template "100"
    Failed to find <ListTemplate> tag corresponding to ID "101", tried both onet.xml for site definition ID "0" language "1033" and global site definition. Operation failed.
    No document templates uploaded for list "$Resources:core,stylelibraryList;" -- none found for list template "121".
    System.Runtime.InteropServices.COMException: A user may not remove his or her own account from a site collection.<nativehr>0x81020051</nativehr><nativestack></nativestack>, StackTrace: at Microsoft.SharePoint.SPUserCollection.UpdateMembers
    Feature Activation: Feature 'MySitePersonalSite' (ID: 'f661430e-c155-438e-a7c6-c68648f1b119') was activated
    Feature Activation: Activating Feature 'MySiteDocumentLibrary'
    Calling 'FeatureActivated' method of SPFeatureReceiver for Feature 'MySiteDocumentLibrary'
    SharePoint Foundation Upgrade MySiteDocumentLibraryFeatureReceiveraj08n INFO Creating new My Documents library
    Unknown SPRequest error occurred. More information: 0x80070002
    SPRequest.GetMetadataForUrl: UserPrincipalName=, AppPrincipalName= ,bstrUrl=http://contoso/personal/cbuchholz/DOCUMENTS ,METADATAFLAGS=59
    System.IO.FileNotFoundException: <nativehr>0x80070002</nativehr><nativestack></nativestack>, StackTrace: at Microsoft.SharePoint.SPWeb.GetObjectForUrl at Microsoft.SharePoint.Portal.UserProfiles.MySiteDocumentLibraryUtil.GetSPObjectFromUrl ...
    <nativehr>0x80070002</nativehr><nativestack></nativestack>There is no Web named "/personal/cbuchholz/DOCUMENTS"
    Possible mismatch between the reported error with code = 0x81070504 and message: "There is no Web named "/personal/cbuchholz/DOCUMENTS"." and the returned error with code 0x80070002.
    Attemping to add webpart id 0F6072F2-E804-4CFD-837E-BB37332B9D1C to web http://contoso/personal/cbuchholz
    Adding XsltListViewWebPart calling SPRequest::CreateListViewPart. Web part id 0F6072F2-E804-4CFD-837E-BB37332B9D1C, web http://contoso/personal/cbuchholz
    Feature receiver assembly 'Microsoft.SharePoint.Portal, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c', class 'Microsoft.SharePoint.Portal.UserProfiles.MySiteDocumentLibraryFeatureReceiver', method 'FeatureActivated' for feature 'e9c0ff81-d821-4771-8b4c-246aa7e5e9eb' threw an exception: System.InvalidOperationException: Original XSLT List View Web Part not found at Microsoft.SharePoint.Portal.UserProfiles.MySiteDocumentLibraryUtil.ReplaceListViewWebPart
    Feature Activation: Threw an exception, attempting to roll back. Feature 'MySiteDocumentLibrary'
    Exception in EnsureFeaturesActivatedAtSite: System.InvalidOperationException: Original XSLT List View Web Part not found
    Failed to activate site-collection-scoped features for template 'SPSPERS#2' in site collection 'http://contoso/personal/cbuchholz'
    Failed to apply template "SPSPERS#2" to web at URL "http://contoso/personal/cbuchholz
    I've had other problems in this farm: the bug where when you add Administrators to a Search Service via the Manage Service Applications page, it removes the SPSearchDBAdmin role from the search service process account. That one did not happen in the other farm.
    At least other people have that one and I could just use the farm admin instead (still troublng of course).

    Ok,
    Here is the problem:
    When creating a mysite from powershell or script, apparently you can ONLY do this from a wfe (or a server running Microsoft SharePoint Foundation Web Application in services on server).
    You CANNOT create mysites from script on your appserver if it is not also a Web Application Server. I confirmed the same is true in my test farm. I guess I was always running most of these scripts on the webserver.
    I searched all over and cannot find this documented anywhere.
    Who do I contact to have Microsoft document this?
    It's Thursday morning, I've been working non stop since Saturday morning so you don't have to :)

  • SRM PR is not getting created in ECC backend

    Hello Experts,
    We are running SRM 7.0 with SRM-MDM Catalog, we are using SRM for shopping.  We do have PI 7.11 running in the Environment as well.
    We are on ECC 6.0 with Ehp 4.0
    Purchase Order:
    However we can see the PO creating successfully using PI.
    Question, in the SRM table (BBP_FUNCTION_MAP), we see the object type: BUS2012 for ERP 4.0 has adapter name: /SAPSRM/CL_SOA_ADPT_PO_CRT_ERP for when creating PO. Please see teh screen shot.
    is this the reason that we need PI?
    Purchase Requisition:
    PR Creation is not working:
    PR is not getting created in the ERP, PR uses Object type: BUS2105, Adpater CL_BBP_BS_ADAPTER_RQ_CRT_470 for ERP 4.0 System type, can you please tell me if the adapter is correct for ERP 4.0 system type?
    I also have a question to ask:
    1) Where did you see that PR/PO was send to PI System (PI1)? My understanding is that since ERP amd SRM are 2 ABAP Systems, why we cannot send the PR/PO directly to ERP system from SRM? Why do we need a middleware(PI) in between for this process? We should be able to USE BAPI function to do it correct?
    Please advice.
    Thanks
    Kumar

    yes, i could see a PR number with all this additional details as below.
    Table   BBP_PDBEI
    CLIENT                       453                                                              Client
    GUID                         4CAEFA58EB9D005CE1008000AC1C2031                                 Globally Unique identifier
    BE_LOG_SYSTEM                QA1400                                                           Logical System of Logistics Backend
    BE_OBJ_ITEM                                                                                Follow-On Object Item in Back-End System
    BE_OBJECT_TYPE               BUS2105                                                          Follow-On Document Object Type in Back-End System
    BE_OBJECT_ID                 2000000167                                                       Follow-On Document Object ID in Back-End System
    BE_REFOBJ_TYPE                                                                                Reference Object Type in Back-End System
    BE_REFOBJ                                                                                Reference Object in Back-End System
    BE_REFOBJ_ITEM                                                                                Reference Object Item in Back-End System
    BE_REFOBJ_SBITM                                                                               Reference Object Sub-Position in Backend System
    BE_REFOBJ_TYPE2                                                                               Reference Object Type in Back-End System
    BE_REFOBJ2                                                                                Reference Object in Back-End System
    BE_REFOBJ_ITEM2                                                                               Reference Object Item in Back-End System
    BE_REFOBJ_FYEAR2             0000                                                             Reference Document Object - Fiscal Year in Back-End System
    BE_STGE_LOC                                                                                Storage location
    BE_PLANT                     2016                                                             Plant
    BE_BATCH                                                                                Batch Number
    BE_VAL_TYPE                                                                                Valuation type
    BE_MOVE_REAS                 0000                                                             Reason for Movement
    BE_EXPERYDATE                00000000                                                         Shelf Life Expiration Date
    BE_PUR_GROUP                 206                                                              Purchasing group
    BE_PUR_ORG                   2000                                                             Purchasing organization
    BE_CO_CODE                   2000                                                             Company Code
    BE_DOC_TYPE                  CLRQ                                                             Purchase Requisition Document Type
    BE_ACCREQUIRED                                                                                Account Assignment for Logical Backend Required
    BE_SP_STK_IND                                                                                Key for Special Stock Section
    BE_INFO_REC                                                                                Number of purchasing info record
    BE_MOVE_TYPE                 201                                                              Movement type (inventory management)
    BE_PACKNO                    0000000000                                                       Package number
    BE_INTROW                    0000000000                                                       Internal line number for limits
    BE_ITEM_TEXT                                                                                Short Text of a Service Purchase Order Item
    BE_PO_PRICE                  1                                                                Price from Backend
    BE_UNLOAD_PT                 200                                                              Unloading Point in Backend
    BE_DEL_IND                                                                                Deletion Indicator in Backend Documents
    BE_TRACKING_NO                                                                                Requirement Tracking Number
    BE_COND_TYPE                                                                                Condition Key
    BE_COND_STEP                 000                                                              Level Number
    BE_COND_COUNTER              00                                                               Condition counter

  • PO is created in the Backend Instead of PR - Classic Secnario - SRM 5.0

    SRM experts,
    My client has upgraded to SRM 5.0 and ECC 6.0 from SRM 3.0 and 4.6c version respectively. SRM is using classic scenario, so Shopping cart is created in SRM and Purchase Requisition and Purchase Orders are created in the backend system. In the Sources of supply tab, we will see the Vendor, Outline agreement and other information based on the Plant, Product category and Purchasing group we select in the shopping cart. If user selects the vendor with outline agreement in the sources of supply tab then Shopping cart will create Purchase order instead of Purchase requisition in the backend system.  I am new at this client’s site and client does not have any documentation about how these has been configure in the system. Can someone please help me to find out where the settings might have been made in the system to create Purchase order instead of Purchase requisition if shopping cart contains vendor with outline agreement. I am asking this question because we have another enhancement request with similar requirement but with different condition.
    I will reward the points for helpful answers.
    Thank you experts.
    MP

    Hi,
    Could you checkthe foll cust link in SPRO:
    Define Objects in Backend System (Purch. Reqs, Reservations, Purch. Orders).
    PO is created if you set the "*" for EITHER the purchasing group OR the product category.
    SRM is creating PR or PO depending on:
    - SRM customizing (ex: always external proc + PR if incomplete, PO if complete)
    - the interpretation of SC data by R/3.
    IF your SC is considered complete by SRM (but with a fixed vendor and not a preferred vendor) the system will check if it can create a PO in R/3.
    For this, each item will request a META_INTERPRETE_DATA to R/3, asking if it can create a PO. If R/3 considers this data as incomplete, it will reply to create a PR.
    Usual cases of R/3 PR creation instead of PO:
    - prefered vendor in SRM (and not a fixed one)
    - custom checks in user exits in R/3
    - error messages in R/3 (ex: O6 334 In the case of a fixed vendor, please enter info record)
    To debug without debuging into R/3, you can also try the following:
    - use BADI DETERMINE_TARGET_OBJECT and force PO creation
    - so the system will always try to create a PO
    - R/3 won't create the PO (for the same reason as in META_INTERPRETE_DATA), and will raise an error in SRM
    - finally you get the real error in application monitor (SC --> backend application errors
    Related thread:
    Re: PO not create from SC with source of supply in classic sena
    BR,
    Disha.
    <b>Pls reward points for useful answers.</b>

  • Java.sql.SQLException: can't create statement from closed connection

    java.sql.SQLException: can't create statement from closed connection.
    at com.caucho.sql.QPooledConnectionImpl.prepareStatement(QPooledConnecti onImpl.java:411)
    I am getting this error with my JSP's, i am running on Resin on Win2k, and MySql as backend.
    Has anyone else also faced this issue ?
    Looking for someone to help me to solve this issue.
    rc

    Looking for someone to help me to solve this issue.Maybe you are closing the connections. You might want to verify that you are not doing that. Or if you are that that is the correct way to return the connection to the pool.
    Or you could have stale connections. Some databases will time out connections if the connection is no used in a while. (This is a good thing.) But this means connection pools must do something with connections that are not used for a while. The pools usually have a configuration option(s) which allows you to set up a keep alive message which keeps the database from closing the connection.

  • Strange Behavior: VO query result shown in UI different from backend

    Hi Experts,
    I have an issue with one of the VOs in my application. The VO uses an expert query.
    The application uses ADF faces for the front end. The UI is created by dragnDrop method from ViewCriteria(Datacontrol for this VO) to the page.
    I would expect the page to always show the data which I would get when I execute the query from the backend.
    But the data that comes up in the UI(through the VO and queryPanel, af:table) is different from the data set if I execute the query directly from backend. (Oracle 11G Database)
    The issue occurs for one set of data and not for another set of data.
    I tried the following:
    In VOImpl, the executeQuery method is overridden to add additional filters.
    Just before super.executeQuery, captured the getQuery() result.
    The query got this way, I am running from back-end(SQLPLUS/Toad) returns expected results, whereas when the Application is run, the UI table shows duplicate data for one set alone.
    Please share pointers on how to debug this issue further.
    Please note that this post is not about the query but I am illustrating the query here just in case its needed.
    The query is something like this:
    Fetch rows from maintable that belong to either the set mapping to :bindvariable1 or the set mapping to bindvariable2. This could be represented as a union between the two selects as well.
    select
    col1,col2,col3...
    from main_table, table1, table2
    where
    (main_table.idcolumn =:bindvariable1
    and table1.referencecolumn =:bindvariable1
    and table2.referncecolumn =:bindvariable1)
    or
    (main_table.idcolumn =:bindvariable2
    and table1.referencecolumn =:bindvariable2
    and table2.referncecolumn =:bindvariable2)
    and
    maintable.idcolumn2=table1.idcolumn
    and maintable.idcolumn3=table2.idcolumn
    Thanks for your time and help.
    Ganesh Iyer

    Do you have a security policy associated with the table?
    Oracle 8i supports virtual private database where the server can dynamically modify a query.
    The query 'SELECT * FROM EMP' could be modified by the server to 'SELECT * FROM EMP WHERE DIVISION = 'AIRCRAFT' by putting a security policy on the EMP table.
    You, as a user, would never know it happened.
    A security policy based on some arcane rule such as the time of day could cause the problem you are describing.
    The only other way I know of is if you logged in as two different users and each user has different privileges on the table.
    Good luck!
    null

  • Rollback Payroll From Backend  for few assignments

    Hello Gurus,
    can anyone help me out with the info , is there any standard api is to rollback the payroll for assignments or any procedure to rollback the payroll for few assignments from backend.
    i know that there is a standard package "py_rollback_pkg" to rollback the payroll. but the problem with this package is it will rollback complete payroll actions for the all assignments for which payroll is assigned. but my requirement is , i have to rollback only for few assignments.
    any inputs on this is highly appreciated.
    Thanks

    Not sure why you're not able to use - py_rollback_pkg.rollback_ass_action
    If you have 20 assignments processed for a month - you will have a payroll_action_id and 20 asg_act_ids
    rollback_ass_action takes one assignment action and deletes it.
    So if you want to delete 10 employee pay runs, then you need to call the below API in a loop.
    After the process is successful, you will still see the same Payroll_action_id and 10 asg_act_ids for the remaining 10 employees.
    The procedure delte the data from pay_action_interlocks, pay_assignment_actions, pay_run_balances.. for each of the asg_act_id
    /*------------------------  rollback_ass_action -----------------------------*/
      NAME
        rollback_ass_action - undo work for assignment action.
      DESCRIPTION
        performs rollback/mark for retry on assignment action.
      NOTES
        This procedure is the entry point to be called to rollback
        or mark for retry an assignment action. On failure, a
        message will be inserted in message lines, indicating that
        the assignment action could not be processed.
        The parameters are used as follows:
          p_payroll_action_id    :
             identifies the row to be processed.
          p_rollback_mode :
             either 'ROLLBACK', 'RETRY' or 'BACKPAY'.
          p_leave_base_table_row :
             if this is true, the procedure does not attempt to update/delete the
             assignment action row. It leaves this to the client. Normally, this
             means a form. However, a message IS inserted by the procedure.
             if false, the procedure update/deletes the assignment action before
             exiting.  Must set this to true if rollback mode is set to 'TRUE'.
          p_all_or_nothing :
             when TRUE, procedure fails immediately if error encountered, otherwise
             processes up to assignment level error limit. Latter is required by
             rollback by assignment set.
          p_dml_mode :
             one of the following:
             'FULL'      : all dml and commits.
             'NO_COMMIT' : all dml, no commit.
             'NONE'      : no dml or commits.
             This allows the user to specify a partial or full validation.
          p_multi_thread :
             this should only be set to true if being called from the
             multi-threaded version of rollback code (i.e. from pyr.lpc).
          p_grp_multi_thread:-
             this is used to indicate which method to maintain the group
             level run balances.  This should be set to true when being
             called from a multi-threaded process. Some multi threaded
             processes use p_multi_thread set to false, hence
             p_grp_multi_thread was created to ensure that all multi threaded
             processes use the correct group run balance deletion.
    procedure rollback_ass_action
       p_assignment_action_id in number,
       p_rollback_mode        in varchar2 default 'ROLLBACK',
       p_leave_base_table_row in boolean  default false,
       p_all_or_nothing       in boolean  default true,
       p_dml_mode             in varchar2 default 'NO_COMMIT',
       p_multi_thread         in boolean  default false,
       p_grp_multi_thread     in boolean  default false
    --

  • Shopping Cart - PO created in the backend

    Hi,
    Many SC have been approved but no PO was created in the backend ECC due to various reason, I want to know all the SC which was approved and whose PO was not created in the backend, Is there any way to find it???
    regards,
    Prabhu

    Hi Prabhu,
    Which version of SRM system you are in ? and waht scenario  you have implemented i.e classic or extended classic scenario ?
    There are  OSS Notes available which have correction report in them which can gives you list of errreneous shopping cart that could help.
    please refer to below OSS Note to see if that help.
    729967
    728536
    if none of that help the logic would be to get all item guid from CRM_JEST which has status as I1111 active for those item GUID you can get the  header guid from CRMD_ORDERADM_I and the from header guid you can get the SC number from CRMD_ORDERADM_H.
    Hope this helps.
    Cheers
    Iftekhar Alam

Maybe you are looking for

  • GUI_DOWNLOAD FUNCTION ISSUE.

    hi i use the function GUI_DOWNLOAD download data to PC CLIENT. CALL FUNCTION 'GUI_DOWNLOAD'     EXPORTING   BIN_FILESIZE                    =       FILENAME                        =   FILENAME      FILETYPE                        = 'DAT'   APPEND    

  • Wiki icons broken after last upgrade?

    Has anyone noticed that the wiki icons after the last update 10.7.2 are broken? I just did a remote upgrade and noticed the links are now broken on the wiki pages..  I'll troubleshoot it from an apache perspective later tonight, but I was just curiou

  • Podcast in iTunes won't download

    I'm a novice at Podcasting but used iWeb and Garage Band to produce a site and podcast that works fine from the Website. However, when I submitted it to itunes and it was accepted, the link supplied won't download. I also have tried using the RSS fee

  • Networked files show padlock (can't open) in Bridge, but not PS CS3

    When looking at files on a network in Bridge CS3, they all show a padlock in the upper right corner of the icon representing the file and cannot be accessed via Bridge, but they are not locked.  The same files can be seen, and opened (no padlock) in

  • When reading the Rich Text present in Excel column using open XML its taking it as plain text

    Hello All, When i am reading excel columns using open Xml in C# everything is working fine except the column that contain Rich Text (ex: bold, italic,color,size). Its reading the Rich Text content as plain text. As we know for Rich Text in open XML w