EBP Punch-Out returns info in external window

Hi All,
I am Handling the Supplier integration portion of an SRM EBP project. We are encountering an issue with the Supplier's external catalogs, where we can reach the external site, select items into a shoppingcart, and complete the order. However when we leave the supplier's external site, rather than the shopping cart data returning in the original EBP frame, it is being populated in the frame of suppliers external page. We have tried changing the ~TARGET using multiple valid frame names i.e. _parent, _TOP, etc. None of these seem to resolve the issue. In some cases i.e. ~TARGET = main we receive an EBP shortdump error.
Any suggestions would be greatly appreciated.
Regards,
Clement

Hi Clement
Hope this post is useful
Re: Punchout catalog
Re: OCI interface
Re: Vendor Mapping via DUNS numbers in EBP
If you can paste the lines of the dump where the program line  shows >>>>>> 
may be I could throw some more light.
Hope the above quots are useful.
regards,
Nimish Sheth
Pls reward points for helpful answers.

Similar Messages

  • OCI mapping for External Punch Out Catalog - SRM

    Dear SRM Gurus,
    We are using SRM 7.0 Classic scenario.
    We have a scenario to External punch out catalog. I am  aware of Web service call structure, UI config and  BADIs.
    But I am very much confused that how exactly the External Catalog data will be mapped to SRM? Where would be the inbound OCI mapping done for External Punch out catalog.
    Kindly share your knowledge.
    Thanks.
    Regarsd, Magesh.

    Magesh,
    The OCI field mapping is done as specified in OCI 4.0 specification. If you like technical details on exactly where the mapping happens, you can search for FM OCI. Also, the CATALOG_TRANSFER BADI can be used to read the data that has been mapped and change if needed.
    SG

  • Printing Non Modal External Window - print out additional blank page

    Hi All,
    I am printing out a content of a web dynpro view as a non modal external window with the browser print functionality.
    Even if the content of the web dynpro view is not more than the half of a page the browser print functionality prints 2 pages. The second page is a blank page.
    I tried to change the external window size in web dynpro, but it is still printing 2 pages.
    How can I set / configure the browser print functionality, so it prints only the page that contains the web dynpro view content?
    Thanks,
    Yasar

    Hi,
    I'm guessing the concurrent program is outputting text (character mode) as opposed to PDF?
    This could be a number of reasons:
    1. Printer driver issue, e.g. the number of lines printed on the page is more than is defined for the printer driver: Try reducing the "Rows" on the current program definition
    2. Printer PRT issue, extra page break could be being inserted.
    3. The "box" in the report definition containing the address could be being expanding due to the extra address line, but not enough space so it forces a new page to be printed.
    Gareth
    Blog: http://garethroberts.blogspot.com
    Web: http://www.virtuate.com

  • Open PDF in New External Window

    Hi
    how to open a PDF Report(File) in new IE Window from WebdynproJava
    Regards
    Dhinakar

    Hi,
             If the PDF document is in the server then we can show that in the external window onClick of the button.
    Write this code in the onAction button event.
    try
    byte[] content =this.getByteArrayFromResourcePath("<server path>\Guide.pdf");
    String stResourcePath = new String("<server path>\Guide.pdf");
    IWDCachedWebResource resource = WDWebResource.getWebResource(content, WDWebResourceType.PDF);
    IWDWindow window = wdComponentAPI.getWindowManager().createNonModalExternalWindow(resource.getAbsoluteURL()," document");
    window.removeWindowFeature(WDWindowFeature.TOOL_BAR);
    window.removeWindowFeature(WDWindowFeature.ADDRESS_BAR);
    window.removeWindowFeature(WDWindowFeature.STATUS_BAR);
    window.open();
    catch(WDURLException ex)
    catch(IOException ex)
    Paste this code here:
    //@@begin others
    private byte[] getByteArrayFromResourcePath(String resourcePath) throws FileNotFoundException, IOException
           FileInputStream in = new FileInputStream(new File(resourcePath));
         ByteArrayOutputStream out = new ByteArrayOutputStream();
         int len;
         byte[] part = new byte[10 * 1024];
         while ((len = in.read(part)) != -1)
                   out.write(part, 0, len);
                   in.close();
                   return out.toByteArray();
       //@@end
    Regards,
    Vijai

  • Application lock on open external window

    Hi everybody,
    I have problems with opening a new browser window pointing to a folder on the network.
    If the user has access to the folder everything is working fine.
    If the user has no rights to access the folder, the user gets an error message and the window stays empty. After clicking okay on the error message and closing the window the  user can continue working in the application.
    If the folder which should be display does not exist the user gets an error message.
    After clicking oay on the message he can return to the application. But there the 'progress circle' is still running and it cannot abort or do anything! The user has to close the application and login again.
    Is there a way to handle the external window in any way after having it opened and the calling method was left?
    Any hint or advice is highly appreciated!
    Best regards,
    Roland

    Hi,
    Do this way... So that there will not be a minimise option, close option. and control will be there inside the Window and till the time user closes the window he cannot perform any actions on any other screens.
         //Added below code to open a new window
              IWDWindowInfo info =
                   wdComponentAPI.getComponentInfo().findInWindows("WD_vendorTable");
    //Where WD_vendorTable is a window with the desired view embedded inside it.
              IWDWindow win =
                   wdComponentAPI.getWindowManager().createModalWindow(info);
              wdContext.currentContextElement().setVa_VendorWinName(win);
    //Save this window information in a context variable(declared at component level and mapped to the parent view and to the window(child) view)
              win.setWindowSize(300, 300); //Desired window size
              win.setWindowPosition(600, 100); //Desired window position (from top left cornor)
              win.setTitle("Vendor Details"); //Desired window title
              win.show();
    To close this window
    create a button inside it and inside the button's action
    IWDWindow win=wdContext.currentContextElement().getVa_AssetNoWinName();
    win.destroyInstance();
    Regards,
    Srinivas.

  • Punch Out Catalog problem business patner does not exists

    Dear experts,
    We configured punch out catalogs. When we check out the portal pages has the error "business patner does not exists".
    How do i resolve this. How to create the business partner on SRM system to get rid of this error.
    Thanks,
    vikas

    Hi Masa,
    I am enclosing the OCI Parameters returned from the external catalog.
    NEW_ITEM-shoppingcartID[1]                               SH95
    NEW_ITEM-DESCRIPTION[1]                                DISPENSER,FLAG&POST-IT
    NEW_ITEM-MATGROUP[1]     
    NEW_ITEM-EXT_CATEGORY[1]              44111501
    NEW_ITEM-EXT_SCHEMA_TYPE[1]              unspsc
    NEW_ITEM-MATNR[1]     
    NEW_ITEM-QUANTITY[1]                                   1.000
    NEW_ITEM-UNIT[1]     EA
    NEW_ITEM-PRICE[1]                                 6.64
    NEW_ITEM-PRICEUNIT[1]                                    1
    NEW_ITEM-CURRENCY[1]                                 USD
    NEW_ITEM-LEADTIME[1]                                    1
    NEW_ITEM-VENDOR[1]                              1000000000
    NEW_ITEM-VENDORMAT[1]                              A2C-313D
    NEW_ITEM-MANUFACTCODE[1]               MMM-C
    NEW_ITEM-MANUFACTMAT[1]              C-313D
    NEW_ITEM-CONTRACT[1]     
    NEW_ITEM-CONTRACTITEM[1]     
    NEW_ITEM-EXT_PRODUCT_ID[1]             A2C-313D
    NEW_ITEM-LONGTEXT_:132             DISPENSER,FLAG&POST-IT
    NEW_ITEM-SERVICE[1]     
    Once the external catalog returns to SRM it is throwing Null Value Exception. Is this exception is in regards to Material Group or something missing in the configuration.
    Error Message:
    The following error text was processed in the system : Access via 'NULL' object reference not possible.
    The termination type was: RABAX_STATE
    The ABAP call stack was:
          Method: /SAPSRM/IF_CLL_MAPPER~REFRESH of program /SAPSRM/CL_CH_WD_DOTM_SC_I_BD=CP
          Method: WDDOMODIFYVIEW of program /1BCWDY/IU0RHDVCLMQ4J466CPJC==CP
          Method: IF_WDR_VIEW_DELEGATE~WD_DO_MODIFY_VIEW of program /1BCWDY/IU0RHDVCLMQ4J466CPJC==CP
          Method: DO_MODIFY_VIEW of program CL_WDR_DELEGATING_VIEW========CP
          Method: MODIFY_VIEW of program CL_WDR_VIEW===================CP
          Method: DO_MODIFY_VIEW of program CL_WDR_CLIENT_COMPONENT=======CP
          Method: DO_MODIFY_VIEW of program CL_WDR_CLIENT_COMPONENT=======CP
          Method: DO_MODIFY_VIEW of program CL_WDR_CLIENT_COMPONENT=======CP
          Method: DO_MODIFY_VIEW of program CL_WDR_WINDOW_PHASE_MODEL=====CP
          Method: PROCESS_REQUEST of program CL_WDR_WINDOW_PHASE_MODEL=====CP
    Please let me know how to fix this.
    Thanks,
    Vikas

  • Open an image in new external window...

    Hi all,
    I have an image in the server, say "c:\hai.jpg", through my application i want to open this image in a new external window on click of a button.
    I used the following code,
              String file ="C:\images\p.JPG";
              final byte[] content = this.getByteArrayFromResourcePath(file);
              final IWDCachedWebResource resource = WDWebResource.getWebResource(content, WDWebResourceType.JPG_IMAGE);
              resource.setResourceName("p."+resource.getResourceType().getFileExtension());
              try
                   final IWDWindow window = wdComponentAPI.getWindowManager().createExternalWindow(resource.getAbsoluteURL(), "WD_Filedownload", true);
                   window.open();
              catch(Exception e){
                   wdComponentAPI.getMessageManager().reportException(new WDNonFatalException(e), false);
    This code opens a new Internet Explorer, but not the image. When i printed the AbsoluteURL of the resource, its printing null. Where am i going wrong?
    Thanks in advance,
    Pravin

    Hi Armin,
    I am using this byte array code
         private byte[] getByteArrayFromResourcePath(String resourcePath)throws FileNotFoundException, IOException
               FileInputStream in = new FileInputStream(new File(resourcePath));
               ByteArrayOutputStream out = new ByteArrayOutputStream();
               int length;
               byte[] part = new byte[10 * 1024];
               while ((length = in.read(part)) != -1) {
                 out.write(part, 0, length);
               in.close();
               return out.toByteArray();
    Thanks
    Pravin

  • Punch Out Catalogs - General Information

    Hi
    One of our clinets is implementing SRM with punch out catalogs. I have not done punch out catalogs before. We are asked to let the vendor know what they need to do in order to integrate with SRM for punch out catalogs. Apparently, the vendor has never integrated with SRM before. The client is on SRM 4.0. I understand the config settings that we need to do in SRM to bring up the punch out catalog.
    My questions is what steps does the vendor need to do to be able to integrate witrh SRM? We need to send them the detailed steps that they need to do before integrating the catalogs  (fyi., they do have a website for ordering materials but it is not client specific).
    I understand it is a very basic question but any help will be appreciated.
    Thanks
    VJ

    Hi Vinay,
    There are many discussions on this subject. you can search them in SRM shopping cart
    The catalog vendor would need to be OCI compliant.
    SRM server- > master data-> Define external web services .define catalog name
    You must give outbound parameters for the vendor catalog to access(url/user id /password) in the call structure from ebp.
    As well as this catalog definitions must be defined in CAT attribute in PPOMA_BBP.
    regards
    Muthu

  • Punch-out: Bringing data back to SRM screen

    Hi Gurus,
    I need to understand exact steps involved in Punch-out customization for a catalog.
    My problem is, I can access the catalog (after maintaining respective parameters in OCI structure) but I am unable to understand the config part to bring the data back from catalog (webpage) to shoppping cart screen. I have asked my tech consultant in use the BAdI but we are still struggling to understand the logic and steps as to how data will be brought back into SRM screens.
    Looking forward for your kind help.
    Thanks in advance.
    Best Regards,
    Amit

    Hi
    OCI has got an interface file interface.asp (generated by catalog application) which fetches the relevant data from the catalog and transfers this data back to the EB system.
    In order to send the data back to the EB system from the catalog via user's webbrowser, the return URL (HOOK_URL) parameter of the OCI structure must be inserted into the <b>Action</b> attribute of the HTML form (interface.asp) created by the catalog. Also the input parameters/fields has to be sent back to the EB system have to be syntax specific.
    The parameter value for the HOOK_URL should be left blank in your call structure. It is automatically filled by EBP at runtime.
    Rgds
    Reddy

  • Close External Window in Web Dynpro Application

    Hi Folks,
    I am working on a development in Web Dynpro and I am pretty new to this topic, so I seek your help.
    The scene is:
    I have created a Web Dynpro application in which I open an URL using CREATE_EXTERNAL_WINDOW method of the Window Controller. I am able to open the window but not able to close it.
    I tried using methods,
    CLOSE()
      and
      SET_CLOSE_IN_ANY_CASE()
      but no success.
    Please guide me if anything more needs to be done for closing the opened window.
    Thank you.
    Sud.

    Thank you Thomas,
    You correctly pointed out, I was trying to close the external window from my source window.
    More precisely, I have a WD application which has a button (Search) on one of its views. On click of 'Search' button, I open a new window using 'CREATE_EXTERNAL_WINDOW' passing the URL 'www.google.com'.
    Till this point its fine, but now I want to close this newly opened window. As you said now these are 2 different sessions and cannot communicate anymore, so any guidance how to close this new window?.
    OR
    Is this the only way to call an URL i.e using CREATE_EXTERNAL_WINDOW? Is there any other way to call an URL without closing my current running WD application?
    Request your  help......
    Thanks.
    Regards,
    Sud....

  • Error while opening the external window

    Hi
    I am trying to open an external window on click of a button.
    This is the piece of code I have written
    url = "http://www.google.com";
    url = java.net.URLEncoder.encode( url ) ;
    String title="External Window";
    //IWDWindow win=wdComponentAPI.getWindowManager().createExternalWindow(url,title ,false);
    IWDWindow win=wdComponentAPI.getWindowManager().createNonModalExternalWindow(url,title );
    win.show();
    //win.open();
    I have tried both show() and open() method. and also createExtrenalWindow and CreateNonModalExtrenalWidnow. But I am getting the follwing error.
    Application error occurred during request processing.
      Details:   com.sap.tc.webdynpro.services.sal.core.DispatcherException: The requested deployable object 'dc.gs.com/osrch' and application 'http:' are not deployed on the server. Please check the used URL for typos.
    Exception id: [0017087D8739002C0000025600001B9C00045A7873FC3E52]
    This is the URL it got in the external new window..
    http://<host>:50000/webdynpro/dispatcher/dc.gs.com/osrch/http%3A%2F%2Fwww.google.com
    I know the www.google.com is concatenating with portal URL , hence it is throwing the error.
    How to get rid of the portal path
    thanks
    PK

    hi,
    You can try the following code:
    IWDWindowInfo info = wdComponentAPI.getComponentInfo().findInWindows("PopUpWindow");
        IWDWindow window = wdComponentAPI.getWindowManager().createWindow(info , true);
        window.setWindowPosition(WDWindowPos.CENTER);
        wdContext.currentContextElement().setVa_win(window);
        window.open();
    This works fine.
    Thanx.

  • Create External Window in Webdynpro for Abap

    I am creating an external window using method CREATE_EXTERNAL_WINDOW.  The componentcontroller context and the assistance class attributes are not available in the Handledefault method of the external window.    Is there a way to pass data to the external window without using URL parameters?
    Thanks
    Cindy

    >@Thomas: with all your wonderful eLearnings on WDA is there one which covers this in any depth? As it would be nice to point people to it.
    No I can't say that I have ever created something specifically on this.  The ACFUpDownload example is closest simply because I use the cache table is a similiar way, althought I hesitate to recommend that eLearning in this situation becuase that aspect isn't central to the eLearning and it might just confuse things further.
    >don't forget about the possibility of database persistence of the data either -
    That was actually what I was talking about in server cookies as well. Server cookies are something that was originally created for BSP, but work fine in WDA as well.  They are just a cluster table where you can store any data you want and access in another session via a key. The nice thing about server cookies is that there is already a help class for read/write and batch job that can be scheduled to clear out expired entries.
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/2a/31b97b35a111d5992100508b6b8b11/frameset.htm

  • Multiple items not getting transfered from Punch out

    Hi,
    I need your help in fixing an issue with punch out.
    When we select more than one item in the punch out and when it is getting transferred to SRM shopping cart, we could see only one item in the shopping cart. We are facing this issue with only one punch out.
    While trasnfering item(s) from this punch out, we are getting the message "Number of external bid is empty" in SLG1 log. I have checked the XML file sent by the punch out and there I could see all the items that has been selected. But once it gets transfered to SRM shopping cart, it is transfering only one item.
    Not sure if this is a problem in SRM or punch out. If it is a problem in SRM then I hope it should occur with all the punch outs. But we are facing this issue with only one punch out.
    I am trying to debug this process in SRM. For that I need to know the exact BADI or BAPI which is receiving the items from punch out. Could you please help me in that?
    Also I would like to know, is there anything would happen after the XML file has been generated in punch out and before it has been received by OCI.
    We are in SRM 4.0 with extended classic scenario.
    Thanks,
    Arun

    Dean,
    We have implemented that BADI. As I mentioned earlier, problem is occuring with only one punch out we are using. With other punch outs it is working fine. More over, when I tried to debug through this BADI I am getting a dump error:
    No additional external fashion for New ABAP debugger available
    What happened?
    The ITS services u201Ebbpsc03" had to be interrupted because the WebAs sent the following error message. 
    Error message:  "No additional external fashion for New ABAP debugger available".  Message type:  "E"
    Error analysis
        It became receive an error message of the WebAs.  For the reason picture of the error message (program:  u201ESAPMSSY3" Dynpro number:  131) no Template was found, must interrupted become the ITS services
    therefore.  Remove if possible the mistake cause.  First if the mistake cause is removed and therewith the error message is sent by the WebAs no longer, again lauffähig is these ITS services. 
    Do you have any idea what the dump is?
    Thanks,
    Arun

  • Can I display 2nd view on external window ?

    Hi all
    I would like to implement the function that Output views come out on external window.
    For example, OnAction method searches data from DataBase and the result appears on external window not original window.
    Comparing this function to HTML, I imagine anchor with "target = BLANK".
    I try to use 2 methods ,create_window and create_external_window, in if_wd_window_manager.
    But I couldn't get my want.
    Howcan I do ?
    Please help.
    Best regards
    Tom

    HI
    there are two scenrios here.
    1. creating a MODAL POPup window using create_window and this will create a window having the the second view with the desired data.
    here in this case you have to create a comman context node in the comp contrl and use it both views. then
    create second window and embed the second view in it.
    now fill the data in the first view in the context node and then use the method create_window to create the modal popup
    window and show your data here in the second view may be table or form (whatever you want).
    2. second scenario is to create sn external non modal window itself which will open in a seprate browser window.
    there how ever you cannot pass the context node itself. masimum you can do is pass url string paramters.
    which you can fetch in the second application and disply the result accordingly.
    thanks
    sarbjeet singh

  • Closing External Window

    Hi,
    I want to close an external window (an external running application, such as InfoConnect, or NotePad etc) using a simple java program. Is it possible? What is the command to close an external window? And how do I know which window to close?
    For example, there's a running application, called info-connect, and another independent java program running. How can I close the info-connect window without disturbing the other program? (is there a name for the window or something)
    Thank you very much!!! Wish you all the best~
    - Anson

    Sorry, I hit the 'post' button a little too quick.
    If it's really independent, it's gonna be very hard - though a Robot might get you somewhere.
    But more importantly, there's a reason for that. How would you like it if a program just decided that a window it hadn't opened, needed to be closed? I'd find it irritating to say the least.
    Don't close what you do not own.
    Otherwise:Process p = Runtime.getRuntime().exec("MyProgram.exe"); // start a process
    ... // do some stuff
    p.destroy(); // kill itBut this is probably not what you mean by independent, right?

Maybe you are looking for