How to call Call Contracts in SRM from webdynpro?

Hi experts ,
I have requirement where in one custom developed (Z)webdynpro component offers users a Link ( Link to action ) This link should open the SAP Contract in SRM 5.0 (ITS)
Please provide hints or solution how proceded ?
Thanks in advance
Bidyut Dutta

hi bityut.
If i am not wrong then u want to open some SRM page through webdynpro application by using link to url element.
If yes then its very easy .Just use that elemnt with following properties.
Properties (LinkToURL)          
ID     LINK_CP     
enabled     1     
imageFirst     1     
imageHeight          
imageSource          
imageWidth          
reference     new_format.htm*(here u write down the url of page which u want to open)     *
target             _blank     
text             View new format     
textDirection      inherit     
tooltip          
type             navigation     
visible             Visible     
wrapping            0     
Layout Data      (FlowData)          
cellDesign             rPad     
vGutter             none

Similar Messages

  • Uploading contracts into SRM from flat file...

    I am asked to develop this program but I am not sure what transactions are involved and what approach to take.
    I know how to upload the file but not sure how to upload the contracts to SRM.
    Thanks for the help.

    Hi Rakesh,
    I have encountered the same difficulty in creating the contract as well. Thanks for your code sample. I have tried to follow it closely but still i am not successful. Is it possible for you to take a look at my code?
    data: pc_id like CRMD_ORDERADM_H-OBJECT_ID.
    data: pc_header_out like BBP_PDS_CTR_HEADER_IC.
    data: pc_header_in like BBP_PDS_CTR_HEADER_D.
    *data: pc_item type table of BBP_PDS_CTR_ITEM_D with header line.
    data: pc_item type table of BBP_PDS_CTR_ITEM_ICU with header line.
    data: pc_text type table of BBP_PDS_LONGTEXT.
    data: pc_partner type table of BBP_PDS_PARTNER.
    data: wa_part like line of pc_partner.
    data: pc_org type table of BBP_PDS_ORG with header line.
    data: pc_message type table of BBP_PDS_MESSAGES with header line.
    Insert dummy data*****************************************************
    pc_header_out-CURRENCY = 'SGD'.
    pc_header_out-PROCESS_TYPE = 'PCTR'.
    Insert Purchase Org data *********************************************
    pc_org-PROC_ORG_RESP_ID = 'O 50000026'.
    pc_org-PROC_ORG_ID = 'O 50000025'.
    pc_org-PROC_GROUP_ID = 'O 50000026'.
    Insert BP data - vendor, employee Purch Org and DSTA******************
    *DSTA
    wa_part-PARTNER_ID = '0000000001'.
    wa_part-PARTNER_GUID = '4BD22A16AFA2B74D844E1595998AE7E5'.
    wa_part-PARTNER_FCT = '00000038'.
    wa_part-ADDR_TYPE = '1'.
    wa_part-ADDR_NO = '0000010469'.
    append wa_part to pc_partner.
    clear wa_part.
    *employee
    wa_part-PARTNER_ID = '0000000006'.
    wa_part-PARTNER_GUID = 'E3D4AAE842930D41B7B107F3CC60B44D'.
    wa_part-PARTNER_FCT = '00000026'.
    wa_part-ADDR_TYPE = '3'.
    wa_part-ADDR_NO = '0000010472'.
    wa_part-PERS_NO = '0000010474'.
    append wa_part to pc_partner.
    clear wa_part.
    *vendor
    wa_part-PARTNER_ID = '0000000311'.
    wa_part-PARTNER_GUID = 'F0BC646129BE2D4BB7E301F8F3708B1E'.
    wa_part-PARTNER_FCT = '00000019'.
    wa_part-ADDR_TYPE = '1'.
    append wa_part to pc_partner.
    clear wa_part.
    *purch org
    wa_part-PARTNER_ID = '0000000002'.
    wa_part-PARTNER_GUID = '48459C575651D04091BAF1B9A554CF51'.
    wa_part-PARTNER_FCT = '00000051'.
    wa_part-ADDR_TYPE = '1'.
    wa_part-ADDR_NO = '0000010470'.
    append wa_part to pc_partner.
    clear wa_part.
    Item data
    pc_item-CATEGORY_ID = 'ARMOUR'.
    pc_item-QUANTITY = '233'.
    pc_item-PRICE = '1234'.
    pc_item-VALUE = '4321'.
    pc_item-UNIT = 'EA'.
    pc_item-PRODUCT = 'B78A60018B6018418F6D0F1632E10F69'.
    pc_item-DESCRIPTION = 'Russian T72 Tanks'.
    *--Reset Buffer Tables
    CALL FUNCTION 'BBP_PROCDOC_RESET_BUFFER'.
    Create PC*************************************************************
    call function 'BBP_PD_CTR_CREATE'
    exporting
    I_HEADER = pc_header_out
    importing
    E_HEADER = pc_header_in
    tables
    I_ITEM = pc_item
    E_PARTNER = pc_partner
    I_ORGDATA = pc_org
    I_LONGTEXT = pc_text
    E_MESSAGES = pc_message.
    write: pc_header_in-guid.
    the guid return all 0s. The error message in pc_message is supply only one type of vendor and one type of responsible employee. Thanks for taking time to read this. I will really appreciate if anyone is able to help me solve this. Of course point will be rewarded. Thanks again!

  • Calling a Report/Transaction iview from Webdynpro..

    Hi all,
              Our first issue is we have a scenareio, where we need to execute reports(ABAP Program) from webdynpro. Is it possibile to execute a standard report from webdynpro? using JCO. Also tell me how to pass the input/output parameters.I am not allowed to create RFC.I can use only standard BAPI.
              Our second issue is we created one transaction type callable object, and we want to call this transaction callable object from webdynpro, in another callable object in GP. Is this Possibile in webdynpro. We tried using portal navigation, but it is working for normal webdynpro iviews only, not for url iviews also.
              Does any body know the answer for the above issues. please let us know.
             Thanks in advance.

    hi,
    1) it is not possible in web dynpro to call abap reports, what you can do is creating wrapper of Remote enabled FM around the report. But you dont have authorisation to create BAPI, so gotta take use of standard BAPIs.
    ABAP Report in WebDynpro
    this link will help you out for that(calling standard bapi in WD)
    https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/webcontent/uuid/f0b0e990-0201-0010-cc96-d7ecd2e51715 [original link is broken]
    2) go thru this links
    WebDynpro Application as callable object in GP?
    Webdynpro callable object - RFC model
    implenting webdynpro as a Calable Object with GP Interface
    hope it helps
    regards

  • Updating purchasing contracts in SRM from external system ( XI )

    Hello friends,
    We have a requirement to update / create purchasing contracts in SRM from external system ie e-sorcing . We are getting the structure of contract from
    xi proxy.
    We are using function modules
    BBP_PD_CTR_CREATE
    BBP_PD_CTR_UPDATE
    to create / update contracts.
    The issue is , how we will come to know an existing contract is got updated in
    the external system and , is there any function module/ bapi available to get those
    updated contract records or is there any way to do this.
    It would be great if anybody can provide some helpful information.
    Thanks..
    Jayaram

    Hello BABA,
    Try this link. Hope this helps.
    [Re: Creating SRM PO with Smartforms BBP_PO;
    Please discuss this issues in SRM- General forum for better replies.
    Cheers,
    Suvendu

  • How can I transfer contract in SRM to ECC?

    Hi Experts,
    How can I transfer contract in SRm to ECC, and then we can do subsequent process, such as PO reference contract.
    Thanks a lot!!!!!!

    Hi Jock,
    Are you trying to transfer local SRM  contract to ECC system?.
    GOA can distribute to backend system as a process contracts and scheduling agreement right?
    local process contract only for SRM system right ? you can not push local contract  to backend .
    However  you can bring backend  ECC contract to SRM .
    what is your business requirement ? which version are you working on?
    since SRM2007 purhase contracts and GOA 's are merged to form a single central contract which is available for sourcing localy in srm and can also be distributed to different backend ECC systems.
    br
    muthu

  • Calling a method in Class from webdynpro

    Hi All,
    I have to perform some action when i click the button created in my webdynpro screen.
    However I must not write the code for the button action inside the button event. But I have to create a class and inside the class i have to create the method for this button event.
    Can anyone tell me how to call a method in a class created in SE24 from webdynpro on clicking the button.
    Thanks in advance.

    hi..
    When you want to perform some action after clicking a Button, then you have to write the code only in 'Events' - 'On Action' event. From your question, i assume that, you wanna use Assistance class in your webdynpro so as to increase better performance. Here is the link which will guide yuo with screen shot for using assistance class in WD-ABAP.
    http://wiki.sdn.sap.com/wiki/display/WDABAP/AssistanceclassfunctionalityinWDA
    thanks,
    Padma

  • How to automatically actualize UWL after return from WebDYNPRO?

    Hello,
    in the universal worklist (uwl) i have configured a workstep to open a Web Dynpro application instead of the SAP GUI. This works fine and i can process the Workflow.
    But after processing of workstep I returns to the UWL using
    WDPortalNavigation.navigateAbsolute(          "ROLES:portal_content/tm.eop.fd.eop_root/tm.eop.fd.content_root/tmcz.eop.fd.tmcz_root/tmcz.eop.fd.my_workspace/tmcz.eop.ro.my_workspace/my_workspace/tmcz.eop.iv.uwl",          WDPortalNavigationMode.SHOW_INPLACE,
                        (String) null,
                        (String) null,          WDPortalNavigationHistoryMode.NO_DUPLICATIONS,
                        (String) null,
                        (String) null,
                        (String) null);
    In the UWL there is non relevant item (item that was processed in WebDynpro) and it angers users.
    It is possible to actualize UWL automatically after return from WebDYNPRO application? WebDYNPRO is opened in the same window and frame as UWL.
    Thanks for your help.
    Ondrej Lednicky

    Followed what vinay and Timo sugguested:
    One solution is to use a af:dialog in the popup where you define a dialogListener  to catch the outcome of the dialog and if it's OK you call your other method.
    I wrote method code in back bean like this:
        public void refreshBillFromDialog(DialogEvent dialogEvent) {
            // Add event code here...
            if (dialogEvent.equals(false)){
                return;
            AdfFacesContext adfFacesContext;
            adfFacesContext = AdfFacesContext.getCurrentInstance();
            adfFacesContext.addPartialTarget(Bill4NewReceiptPending);
            //actionEvent.getComponent().processUpdates(FacesContext.getCurrentInstance());
            BindingContainer bindings2 = getBindings();
            System.out.println(" refreshBillFromDialog:bindings2: "+bindings2);
            OperationBinding operationBinding2 = bindings2.getOperationBinding("ExecuteWithParams");
            Object result = operationBinding2.execute();
            if (!operationBinding2.getErrors().isEmpty()) {
                 return ;
    And it works: the adf table(Bill4NewReceiptPending) in the calling page will be refreshed after the dialog popup was closed!
    Thank you all!
    What's more, I found even if I use bounded workflow calling instead of using popup dialog calling, the  returnListener wasnot executed either.
    And there is still a issue in the popup Dialog: The strange behavior of checkbox selection, see the thread:
    Why the page cannot refresh correctly after making checkbox selection?
    I tried and put aside for some days, and have no idea yet.
    Can anyone give helps?
    Thanks!

  • Calling XI's SOAP Adapter from Webdynpro for java

    Hello every one,
    I have implemented a webservice scenario which involves soap message exchange,,I have checked the configuration from configuration tool -- it seems fine there -- than we had a check run from XML spy, using the WSDL generated by XI,,, that went through as well,, but now when I am trying to call the webservice through webservice adaptive model in NWDS, it returns :
    <!--  Receiver Identification
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="RCVR_DETERMINATION">NO_RECEIVER_CASE_BE</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>No receiver could be determined</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error>
    this is the response message generated and viewed in SXMB_MONI
    Now I cannot understand why its prompting error from application and not XML Spy,,
    I am using following url to send msg to XI's SOAP sender adapter:
    http://pep:8000/sap/xi/engine?type=entry&version=3.0&Sender.Service=BS_PROTOTYPE_WS_OUT&Interface=urn%3Apso%3Aws%3Abank%5ECC_CHK_ACC_SENDER&sap-user=<myuser>&sap-password=<myPwd>&sap-client=001&sap-language=EN
    any help would be highly appreciative..
    thanks

    Dear Nicholas,
    When portal server is installed, it assigns a specific port for running the portal. Normally the port is 500XX when xx is your instance number. There seems to be some problem in your case.
    Please carry out following steps to see/resolve the issue:
    1. Open the visual administrator
    2. Navigate to  Dispatcher -> Services -> HTTP Provider
    This HTTP Provider specifies the ports used by portal.
    You change the ports to something like : (Port:80,Type:http)(Port:443,Type:ssl)
    Save your settings and now open the browser and open the portal like http://<host>/irj/portal (because 80 is default port). If you specify some other port you need to enter like http://<host>:<port>/irj/portal
    This should resolve your issue:
    Enjoy
    Best Regards,
    Ravi

  • When to call a BAPI inputexecute method from webdynpro-java?

    Hello... I'm a little concerned about a situation I'm having. The thing is that I'm trying to use the Bapi_Qualiprof_Change bapi with some test and hard coded data for a future application. It works fine if I fill the input profile_add table in the init() method of my view and then directly call the onActionModifyQualification method (inside the same init() where i filled the parameters).
    On the contrary, if I change the code that intializes the data to the onActionModifyQualification or create an special method to initialize it wich is called later with an action button, then it doesn't work.
    After many test I noticed that i have to call the bapi execute method right in the init... is there something I can do to fix it? or is it that i must do it in order to make it work?
    I have my controller's context mapped to the bapi's model and the view context mapped to the controller's one.... is it good or do i have to build a similar structure to capture the parameters before and then copy the values into the controller's context??
    Thanks a lot!!

    Thanks for your answer, but it doesn't let me do that because wdModifyView is static. Therefore if 2 people are trying to use it, it's goning to be all mixed up, isn't it?
    Anyway, what I really want is executing the bapi when I press the button (that's when it should call the action that calls the bapi). But it only works if I call the action in the init method.

  • How to connect to remote oracle system from webDynpro

    HI Experts,
       i am trying to call some remote oracle stored procedures in webdynpro using jdbc.
    i am using "jdbc:oracle:thin" driver for connecting to
    oracle database.when i am running this one as java standalone application it is working fine.but when i am
    using this in webdynpro server is getting restarted.
    what might be the problem
    or is there is another way for this.
    thanks in advance
    With Regds
    Naidu

    Hi,
    It seems the flwg thread has the solution for you:
    Oracle as Back-end with Web Dynpro
    Regards
    Srinivasan T

  • How to query a sql database table from webdynpro?

    Hi All,
    Can someone tell me the steps involved in accessing a sql server database table and retrieving the record set from a webdynpro application.
    Thanks in advance.
    Best regards,
    Divya

    Hello Divya,
    I would recommend you to read "Java Persistence" section in Development manual describing various options for database integration http://help.sap.com/saphelp_nw04/helpdata/en/61/fdbc3d16f39e33e10000000a11405a/frameset.htm
    Tutorials
    http://help.sap.com/saphelp_nw04/helpdata/en/46/ddc4705e911f43a611840d8decb5f6/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/91/9c2226df76f64fa7783dcaa4534395/frameset.htm
    Web serices
    http://help.sap.com/saphelp_nw04/helpdata/en/d6/f9bc3d52f39d33e10000000a11405a/frameset.htm
    EJB
    http://help.sap.com/saphelp_nw04/helpdata/en/19/f9bc3d8af79633e10000000a11405a/frameset.htm
    Best regards, Maksim Rashchynski.

  • Error when Interative Adobe Form is called from Webdynpro ABAP.

    Hi Experts,
    I trying to call a Interactive adobe form from ABAP Webdynpro application but I am facing the below error.
    Line: -
    The following error text was processed in the system GJD : User session (HTTP/SMTP/..) closed after timeout
    The error occurred on the application server az18u021_GJD_01 and in the work process 0 .
    The termination type was: ERROR_MESSAGE_STATE
    The ABAP call stack was:
    Method: PREPROCESS_REQUEST of program CL_WDR_CLIENT_ABSTRACT_HTTP===CP
    Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP
    Method: EXECUTE_REQUEST_FROM_MEMORY of program CL_HTTP_SERVER================CP
    Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME
    Module: %_HTTP_START of program SAPMHTTP
    Line: -
    When I uncheck the enabled property of the Interactive From in the Page of the WebDynpro I am able to execute the application successfully.But the Adobe form behaves as a Static Form when I uncheck the enabled property.
    So kindly provide your valuable suggestions to avoid the above error when I am calling a Interactive adobe form from Webdynpro ABAP.
    Thanks in Advance.
    Regards,
    Arun.

    Hello,
    Hello, are you sure you have your ADS credentials configured correctly and valid? I guess you know that is the only difference between clicking enabled on true or false. If you are not sure, you can use SE38, search for FP_* and pick some reports to check the licencing. The names of the reports are good enough to recognize the right one.
    Or maybe that is a security problem? Have you checked the ADS_ERROR string? Did you use the ADS trace?
    check: http://help.sap.com/saphelp_nw70/helpdata/en/2c/241a427ff6db2ce10000000a1550b0/content.htm
    and especially note 999998
    Regards, Otto

  • Contract in srm or mdm?

    hi people!
    -i know that it's not necessary to upload the materials in srm, and they can stay in r3 and mdm, and you can watch them in the catalog and srm.
    here's my doubt,
    does it exist something similar with the contracts? or they must be uploaded in srm?
    thanx

    Hi
    You can upload materials and contract in SRM from R/3
    It is standard  replication of materials & contract.
    it can be done manually (or) thro ' a job which runs daily to upload the  materials in SRM from SAP  R/3
    G.Ganesh Kumar

  • Find session id from Webdynpro in 04s?

    Do you know how to find the j2ee session id from webdynpro?
    In NW 2004, we used this code:
              HttpServletRequest request = ((IWebContextAdapter) WDWebContextAdapter.getWebContextAdapter()).getHttpServletRequest();
              HttpSession session = request.getSession();
              String sessionId = session.getId();
    How can you find this using 2004s with the IWDProtocolAdapter class??

    Hi,
       Modifying your posted code a bit:
    HttpServletRequest request = (HttpServletRequest) WDProtocolAdapter.getProtocolAdapter().getRequestObject().getProtocolRequest();
    HttpSession session = request.getSession();
    String sessionId = session.getId();
    Regards,
    Satyajit.

  • How can I call RFC FM from webdynpro application for ABAP? Please help!

    Hi Experts,
              I have a requirement where I have to make a call to RFC enabled function module passing some data from webdynpro for ABAP application. How can I achieve this? Any tutorial or links or docs will be very helpfull.
    I have seen some tutorial on Adaptive RFC but it talks about webdynpro for Java.
    Can I use "Call function XYZ destination A10" statement in webdynpro for ABAP application?
    Thanks
    Gopal

    am doing same thing for my current SRM implementation.I am taking data to SRM server from another R/3 server .
    This is solution I have used
    1) First of all I have made ABAP connection in SM59 .
    Go to SM59 .In ABAP Connection creat ABAP connection with system with which u want communicate .
    Eg I am connection with Systems PB1.
    So i developed Connection call PB1CLNT800.
    2) In my requirement I have taken data in my context from another r/3,
    I have give called RFC in my supply function of node.
    Call to RFC is as usual.
    In my case,
    CALL FUNCTION 'RFC_MATNR'
    DESTINATION 'PB1CLNT800'
    TABLES
    IT_MATNR = IT_MATNR.
    Onwards I have read my itab IT_MATNR and populated data to context.
    Hope solution will serve your purpose.
    Give point if it works .If any problem i have other ways.
    Cheers
    Parag Bhise

Maybe you are looking for

  • Undo Year end closing for Asset

    Hi, I need to undo year end posting for Asset and recalculate depreciation according to the changed laws. Is there any prerequisite/constraints to be taken care of before running OAAR(undo year end closing) and AJAB(year end closing) after required p

  • PS CC won't open

    just updated Bridge CC, now can't open PS CC.  I get a message "Could not copolete your requesst the internal file signature is incorrect" with an attached box to click OK.  How do I get PS CC to open.  Tom

  • My Photoshop Elements 10 no longer backs up.

    I have some 17,000 pictures stored in my Photoshop Elements 10, but they will no longer alow back up.    The process starts well, then slows, and finally stops at around 50% completed.    Advice on backing up would be appreciated.

  • Batch change of times in iPhoto 6 ?

    Is there an easy way to adjust the time of a batch of photos (say, all photos +2 hours). I had taken photos in another time zone but forgot to change the camera's time. I could not do this batch change in iPhoto 5, so I was hoping for it in iPhoto 6.

  • Wls accepts no localhost connections in strange way

    hi *, i have a strange behaviour with one of my wls servers: its a cluster of 6 machines 1 machine admin + worker 5 worker the strange behaviour is that i cannot access the application via localhost on the server where the admin is located. on the ot