Handling XSS issue for IFrame inputs

Am using a IFrame to display an arbitrary html page, which is shown as a preview. The input for IFrame is from a TextEdit which is string.
I use the following to convert the string to resource :
public void onPlugFromNotificationView(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent, java.lang.String template, java.lang.String language )
    //@@begin onPlugFromNotificationView(ServerEvent)
       wdContext.currentContentsElement().setTemplate(template);
       wdContext.currentContentsElement().setLanguage(language); 
       try
       { // transform String into Resource
            final byte[] data = wdContext.currentContentsElement().getTemplate().getBytes("UTF-8");
            final IWDResource resource
            = WDResourceFactory.createResource(data, "source.html", WDWebResourceType.HTML);           
            wdContext.currentContentsElement().setResource(resource);           
       catch (UnsupportedEncodingException ex)
            throw new RuntimeException(ex);
    //@@end
And the following to convert the resource to url which will be used by the IFrame as source:
public java.lang.String getContentsResourceURL(IPrivateNotificationPreviewView.IContentsElement element)
    //@@begin getContentsResourceURL
     // compute source URL of resource for IFrame
         final IWDResource resource = element.getResource();
         return resource != null
           ? resource.getUrl(WDFileDownloadBehaviour.OPEN_INPLACE.ordinal())
                    : IWDIFrame.DEFAULT_SOURCE;
    //@@end
I tried to use the StringUtils.escapeToHTML(template) in the preview action but the output is in a xml format insteadof html. Can somebody help , as to how can this be solved.

Am using a IFrame to display an arbitrary html page, which is shown as a preview. The input for IFrame is from a TextEdit which is string.
I use the following to convert the string to resource :
public void onPlugFromNotificationView(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent, java.lang.String template, java.lang.String language )
    //@@begin onPlugFromNotificationView(ServerEvent)
       wdContext.currentContentsElement().setTemplate(template);
       wdContext.currentContentsElement().setLanguage(language); 
       try
       { // transform String into Resource
            final byte[] data = wdContext.currentContentsElement().getTemplate().getBytes("UTF-8");
            final IWDResource resource
            = WDResourceFactory.createResource(data, "source.html", WDWebResourceType.HTML);           
            wdContext.currentContentsElement().setResource(resource);           
       catch (UnsupportedEncodingException ex)
            throw new RuntimeException(ex);
    //@@end
And the following to convert the resource to url which will be used by the IFrame as source:
public java.lang.String getContentsResourceURL(IPrivateNotificationPreviewView.IContentsElement element)
    //@@begin getContentsResourceURL
     // compute source URL of resource for IFrame
         final IWDResource resource = element.getResource();
         return resource != null
           ? resource.getUrl(WDFileDownloadBehaviour.OPEN_INPLACE.ordinal())
                    : IWDIFrame.DEFAULT_SOURCE;
    //@@end
I tried to use the StringUtils.escapeToHTML(template) in the preview action but the output is in a xml format insteadof html. Can somebody help , as to how can this be solved.

Similar Messages

  • Smart form issue for range input

    Hi all,
    i have print out five 5 po . each po in new form
    i.e every po has to start in new page
    i have created a smart form
    loop at header .
    wa = header
    ssf... fm module
    exporting wa
    tables item details
    call function fm_name...
    endloop.
    whats happening is when i execute the program i am getting a pop up window i click on preview , it prints the first p o  and then when i click back agian i see the pop up window and again i have to select print preview then i see 2 po and again back button print preview to see 3 po
    i want to click print preview once and i want to see all 5 po's
    first po and new po in new page
    let me know how to achieve this
    Thanks

    Hi
    I can do it in scripts right
    open form
    loop at itab.
    start form
    write form
    end form
    endloop.
    close form
    Iam looking something like this in smartforms
    Thanks

  • Event handler for STDIN input?

    Hi,
    This question will probably require a bit of context - I'm attempting to re-implement in java an application that's currently written in perl. The application is a server helper app that rewriters urls; it receives a request ID and a URL on stdin, does the necessary munging (which can require an external SOAP query), then returns the resulting rewritten URL.
    Since the results can be asynchronous due to the need for external queries to build the result, this is currently a multithreaded perl app implemented using perl's POE framework to register an event handler for stdin. That handler fires each time a line of input is received, then feeds the query to a thread pool manager (POE::Component::Pool::Thread, which is conceptually similar to the Executor frameworks). The thread returns the result as a callback registered to another function in the main thread, which then populates the query/result to a cache then outputs the result (with the original query ID) on stdout. Since stdin input and the result callbacks are event-driven, there's no while(true) main loop or other blocking mechanism in the main thread. Unfortunately, it's perl-ness is causing problems due to perl's threading implementation (three words: "copy on init"), so we need to reimplement in a language with a more robust threading implementation (preferably one with copy-on-write for shared objects). So, Java it is.
    So far everything's been good - Executor, Callables, and Futures work as I hoped they would for proper thread management, and the internal worker thread logic (XML processing, SOAP, regular expressions, etc) is proving rather simple to adapt. However, the main roadblock I'm hitting is that so far, I have not found a way to register any sort of event handler for STDIN input (or more specifically, InputStreamReader/BufferedStreamReader events). This could be due to search engine pollution - everything I see when I search for documentation on event listeners appears to be GUI-specific (buttons, menus, text areas/forms, etc). I'm just looking for a way to handle a line of STDIN, not a text area on a form.
    Any pointers in the right direction will be much appreciated!

    rekoil wrote:
    Maybe I need to rethink the design here...
    The main reason I used a callback in the original perl is that there's a large cache structure that gets checked before the thread dispatch, and only cache misses get pushed to a thread for processing. Callbacks from the threads will then add its results to the cache. Thanks to perl's thread model, when I attempted to make the cache a shared structure - in perl, you have to explicitly mark as "shared" variables that you want visible to all threads - the structure wound up getting copied to every thread, and this gave the app an unacceptable memory footprint. So the solution was to use a callback in the main thread to update the cache.
    I'm now thinking that if Java's thread model is a bit saner (i.e. a shared object doesn't get copied into every thread), then I could just have each thread update the cache, print its output to STDOUT directly, and avoid the need for the callback. I can then make my input loop simply a while() loop, waiting for the next input to dispatch. Sound sane?Yes I think so.
    There is some of this I still don't entirely understand. Your loop sounds better now but it sounds to me like the process is this.
    1) read from in
    2) call some stuff on the basis of what came in
    3) do work
    4) workers produce things
    5) things written back out
    6) read back in??
    If you're just going in/out then great. If you are going in/out/in then maybe some sort of PipedInput/Output Streams? It may well be that I got lost in your explanation in which case never mind.

  • How to handle "Validation failed for the field - Tax code" issue?

    We had mass uplaod the order that create on Mar with tax code effective date on Apr. Now we would like return on this order  and getting error of "Validation failed for the field - Tax code". How to handle this issue?

    Hi
    You will have to check if the Tax_Code of RMA being received is the same as the one in the related sales order.
    If not you will need to use the same tax_code.
    Refer below document : Doc ID 1584338.1

  • Asking for user input in the middle of a function

    Here's my issue.
    I need to launch and input window in the middle of a function for user input.  Before I can continue through the function I need a response back from the user first.  Psuedo code below:
    function
         function begins
         pop up window is launched to ask for user input
         function continues after users submits input
         user input from pop up window is used in function return value
    Let me know if you need more clarification but this is essentially what I'm attempting to do.

    The way actionScript works it isn’t really designed to work that way
    Is there any reason why you have to only use one function as you have written
    I think you really do need to split up your code into sections that a, set up the pop-up with  event listeners waiting for the input to be completed, trigger the pop up with user input, then have a handler function that then interprets the results of the user action.
    Trying to force the system into a closed loop while waiting will be a bad idea.
    By using a pop-up or an alert window that is set to be modal, you are effectively stopping your application doing anything else until the user input has been completed, but still not locking the app into a closed loop. Imagine what would happen if you did put the system into a closed loop, the mouse movement wouldn’t be updated, the screen wouldn’t refresh and the system wouldn’t be able to handle your user input. the reason for using async model is you are able to let the system still do all its background task (move the mouse, give inputs focus, keep the screen drawn etc) but still tell a part of your app to ‘wait for input’ before carrying on it execution of your logic
    Do you come from another programming language? Maybe one that uses less of an OOP approach? I only ask, as the method you are describing is much more like how I had to program when  I worked on computers years ago as an assembly programmer.
    In actionscript and most other modern languages and Oss you don’t have total control of the system and cant lock it into an action as you describe.
    You need to have an asynchronous approach to situations like you describe and let the system run in the back ground while you are waiting for input (or date from a server for that matter)
    Please excuse me if I am telling you things you already know.
    What exactly is your use case for this? Maybe if we knew exactly what you are working on I might be able to offer a solution that would make sense for your particular situation.
    Hope all is going well and please feel free to contact me if you are stuck

  • Kerberos Header Issue for Desktop Signon

    Hello,
    As I following the PeopleBook for the Desktop Singal Signon of Kerberos protocal, here's some issue while using the FUNCLIB_LDAP.LDAPAUTH signon peoplecode to authenticate the NT Domain user while logging.
    The Peoplecode from Peoplebook is looking at KRB_USER and Authorization Header names in the Kerberos ticket from the Kerberos token. But always the PIA login as the PUBLIC user whatever NT Domain user I logged.
    Then I tried to look out the HeaderName & its value pair as below: (Note: Didn't fine any KRB_USER or Authorization header name in the request list)
    Name: Accept - image/jpeg, image/gif, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
    Name: Accept-Language - en-US
    Name: User-Agent - Mozilla/4.0 (....)
    Name: Host - www.mydoamin.com
    Name: Connection - Keep-Alive
    Name: Cookie - SignonDefault=PUBLIC; http%3a%2f%2f......
    Above is all the header name in list of request. No KRB_USER or Authorization name liked headers.
    Below is the monitor log from PIA_weblogic log:
    ####<Apr 26, 2012 2:18:44 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '11' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421124992> <BEA-000000> <KerberosSSOFilter: Requesting Kerberos token. (Connection is NOT secure)>
    ####<Apr 26, 2012 2:18:50 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '20' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421130924> <BEA-000000> <KerberosSSOFilter: Received invalid token.>
    ####<Apr 26, 2012 2:18:50 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '20' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421130949> <BEA-000000> <KerberosSSOFilter: Received invalid token.>
    ####<Apr 26, 2012 2:18:50 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '20' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421130997> <BEA-000000> <KerberosSSOFilter: Valid session id. Not requesting Kerberos token.>
    ####<Apr 26, 2012 2:18:51 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '20' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421131071> <BEA-000000> <KerberosSSOFilter: Valid session id. Not requesting Kerberos token.>
    ####<Apr 26, 2012 2:18:51 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421131117> <BEA-000000> <KerberosSSOFilter: Valid session id. Not requesting Kerberos token.>
    ####<Apr 26, 2012 2:18:51 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '16' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421131078> <BEA-000000> <KerberosSSOFilter: Valid session id. Not requesting Kerberos token.>
    ####<Apr 26, 2012 2:18:51 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '16' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421131084> <BEA-000000> <KerberosSSOFilter: Valid session id. Not requesting Kerberos token.>
    ####<Apr 26, 2012 2:18:51 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '19' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421131094> <BEA-000000> <KerberosSSOFilter: Valid session id. Not requesting Kerberos token.>
    ####<Apr 26, 2012 2:18:51 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '16' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421131102> <BEA-000000> <KerberosSSOFilter: Valid session id. Not requesting Kerberos token.>
    ####<Apr 26, 2012 2:18:51 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '16' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421131106> <BEA-000000> <KerberosSSOFilter: Valid session id. Not requesting Kerberos token.>
    ####<Apr 26, 2012 2:18:51 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '13' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421131112> <BEA-000000> <KerberosSSOFilter: Valid session id. Not requesting Kerberos token.>
    ####<Apr 26, 2012 2:18:51 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '14' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421131081> <BEA-000000> <KerberosSSOFilter: Valid session id. Not requesting Kerberos token.>
    ####<Apr 26, 2012 2:18:51 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421131115> <BEA-000000> <KerberosSSOFilter: Valid session id. Not requesting Kerberos token.>
    ####<Apr 26, 2012 2:18:51 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421131116> <BEA-000000> <KerberosSSOFilter: Valid session id. Not requesting Kerberos token.>
    ####<Apr 26, 2012 2:18:51 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421131136> <BEA-000000> <KerberosSSOFilter: Valid session id. Not requesting Kerberos token.>
    ####<Apr 26, 2012 2:18:51 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '13' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421131138> <BEA-000000> <KerberosSSOFilter: Valid session id. Not requesting Kerberos token.>
    ####<Apr 26, 2012 2:18:51 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421131137> <BEA-000000> <KerberosSSOFilter: Valid session id. Not requesting Kerberos token.>
    ####<Apr 26, 2012 2:18:51 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '16' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421131139> <BEA-000000> <KerberosSSOFilter: Valid session id. Not requesting Kerberos token.>
    ####<Apr 26, 2012 2:18:51 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '18' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421131140> <BEA-000000> <KerberosSSOFilter: Valid session id. Not requesting Kerberos token.>
    ####<Apr 26, 2012 2:18:51 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '14' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421131140> <BEA-000000> <KerberosSSOFilter: Valid session id. Not requesting Kerberos token.>
    ####<Apr 26, 2012 2:18:51 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '18' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421131157> <BEA-000000> <KerberosSSOFilter: Valid session id. Not requesting Kerberos token.>
    ####<Apr 26, 2012 2:18:51 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421131164> <BEA-000000> <KerberosSSOFilter: Valid session id. Not requesting Kerberos token.>
    ####<Apr 26, 2012 2:18:51 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421131158> <BEA-000000> <KerberosSSOFilter: Valid session id. Not requesting Kerberos token.>
    ####<Apr 26, 2012 2:18:51 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '13' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421131159> <BEA-000000> <KerberosSSOFilter: Valid session id. Not requesting Kerberos token.>
    ####<Apr 26, 2012 2:18:51 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421131161> <BEA-000000> <KerberosSSOFilter: Valid session id. Not requesting Kerberos token.>
    ####<Apr 26, 2012 2:18:51 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421131161> <BEA-000000> <KerberosSSOFilter: Valid session id. Not requesting Kerberos token.>
    ####<Apr 26, 2012 2:18:51 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '14' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421131162> <BEA-000000> <KerberosSSOFilter: Valid session id. Not requesting Kerberos token.>
    ####<Apr 26, 2012 2:18:51 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421131165> <BEA-000000> <KerberosSSOFilter: Valid session id. Not requesting Kerberos token.>
    ####<Apr 26, 2012 2:18:51 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '20' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421131166> <BEA-000000> <KerberosSSOFilter: Valid session id. Not requesting Kerberos token.>
    ####<Apr 26, 2012 2:18:51 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '11' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421131167> <BEA-000000> <KerberosSSOFilter: Valid session id. Not requesting Kerberos token.>
    ####<Apr 26, 2012 2:18:51 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421131169> <BEA-000000> <KerberosSSOFilter: Valid session id. Not requesting Kerberos token.>
    ####<Apr 26, 2012 2:18:51 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421131172> <BEA-000000> <KerberosSSOFilter: Valid session id. Not requesting Kerberos token.>
    ####<Apr 26, 2012 2:27:52 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '14' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421672310> <BEA-000000> <KerberosSSOFilter: Requesting Kerberos token. (Connection is NOT secure)>
    ####<Apr 26, 2012 2:28:10 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '14' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421690236> <BEA-000000> <KerberosSSOFilter: Received invalid token.>
    ####<Apr 26, 2012 2:28:10 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '14' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421690276> <BEA-000000> <KerberosSSOFilter: Received invalid token.>
    ####<Apr 26, 2012 2:28:10 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '14' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421690345> <BEA-000000> <KerberosSSOFilter: Valid session id. Not requesting Kerberos token.>
    ####<Apr 26, 2012 2:28:10 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '14' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421690420> <BEA-000000> <KerberosSSOFilter: Valid session id. Not requesting Kerberos token.>
    ####<Apr 26, 2012 2:28:10 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421690436> <BEA-000000> <KerberosSSOFilter: Valid session id. Not requesting Kerberos token.>
    ####<Apr 26, 2012 2:28:10 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421690426> <BEA-000000> <KerberosSSOFilter: Valid session id. Not requesting Kerberos token.>
    ####<Apr 26, 2012 2:28:10 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '20' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421690428> <BEA-000000> <KerberosSSOFilter: Valid session id. Not requesting Kerberos token.>
    ####<Apr 26, 2012 2:28:10 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '13' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421690430> <BEA-000000> <KerberosSSOFilter: Valid session id. Not requesting Kerberos token.>
    ####<Apr 26, 2012 2:28:10 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421690432> <BEA-000000> <KerberosSSOFilter: Valid session id. Not requesting Kerberos token.>
    ####<Apr 26, 2012 2:28:10 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '13' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421690447> <BEA-000000> <KerberosSSOFilter: Valid session id. Not requesting Kerberos token.>
    ####<Apr 26, 2012 2:28:10 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '20' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421690461> <BEA-000000> <KerberosSSOFilter: Valid session id. Not requesting Kerberos token.>
    ####<Apr 26, 2012 2:28:10 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421690471> <BEA-000000> <KerberosSSOFilter: Valid session id. Not requesting Kerberos token.>
    ####<Apr 26, 2012 2:28:10 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421690449> <BEA-000000> <KerberosSSOFilter: Valid session id. Not requesting Kerberos token.>
    ####<Apr 26, 2012 2:28:10 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '18' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421690474> <BEA-000000> <KerberosSSOFilter: Valid session id. Not requesting Kerberos token.>
    ####<Apr 26, 2012 2:28:10 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421690482> <BEA-000000> <KerberosSSOFilter: Valid session id. Not requesting Kerberos token.>
    ####<Apr 26, 2012 2:28:10 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '13' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421690485> <BEA-000000> <KerberosSSOFilter: Valid session id. Not requesting Kerberos token.>
    ####<Apr 26, 2012 2:28:10 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421690486> <BEA-000000> <KerberosSSOFilter: Valid session id. Not requesting Kerberos token.>
    ####<Apr 26, 2012 2:28:10 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421690487> <BEA-000000> <KerberosSSOFilter: Valid session id. Not requesting Kerberos token.>
    ####<Apr 26, 2012 2:28:10 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421690488> <BEA-000000> <KerberosSSOFilter: Valid session id. Not requesting Kerberos token.>
    ####<Apr 26, 2012 2:28:10 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421690489> <BEA-000000> <KerberosSSOFilter: Valid session id. Not requesting Kerberos token.>
    ####<Apr 26, 2012 2:28:10 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '14' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421690490> <BEA-000000> <KerberosSSOFilter: Valid session id. Not requesting Kerberos token.>
    ####<Apr 26, 2012 2:28:10 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421690492> <BEA-000000> <KerberosSSOFilter: Valid session id. Not requesting Kerberos token.>
    ####<Apr 26, 2012 2:28:10 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '13' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421690493> <BEA-000000> <KerberosSSOFilter: Valid session id. Not requesting Kerberos token.>
    ####<Apr 26, 2012 2:28:10 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '20' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421690494> <BEA-000000> <KerberosSSOFilter: Valid session id. Not requesting Kerberos token.>
    ####<Apr 26, 2012 2:28:10 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '20' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421690495> <BEA-000000> <KerberosSSOFilter: Valid session id. Not requesting Kerberos token.>
    ####<Apr 26, 2012 2:28:10 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421690496> <BEA-000000> <KerberosSSOFilter: Valid session id. Not requesting Kerberos token.>
    ####<Apr 26, 2012 2:28:10 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '18' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421690497> <BEA-000000> <KerberosSSOFilter: Valid session id. Not requesting Kerberos token.>
    ####<Apr 26, 2012 2:28:10 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421690497> <BEA-000000> <KerberosSSOFilter: Valid session id. Not requesting Kerberos token.>
    ####<Apr 26, 2012 2:28:10 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '18' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421690510> <BEA-000000> <KerberosSSOFilter: Valid session id. Not requesting Kerberos token.>
    ####<Apr 26, 2012 2:28:10 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421690512> <BEA-000000> <KerberosSSOFilter: Valid session id. Not requesting Kerberos token.>
    ####<Apr 26, 2012 2:28:10 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '13' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421690513> <BEA-000000> <KerberosSSOFilter: Valid session id. Not requesting Kerberos token.>
    ####<Apr 26, 2012 2:28:10 PM CST> <Notice> <Stdout> <kcpl> <PIA> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335421690513> <BEA-000000> <KerberosSSOFilter: Valid session id. Not requesting Kerberos token.>
    The Kerberos Desktopsso class are existing under PIA_HOME/..../classes/.../kerberos/ folders as well as PS_HOME/class/..../kerberos/ folders
    6 classes under PIA_HOME corresponding folder while 2 classes under PS_HOME corresponding folder.
    Due to the KRB_USER and Authorization header name not found, the Kerberos not correctly switch to corresponding desktop user.
    Here's my setup:
    1. Follow the PeopleBook guide to create Kerberos domain user, keytab file, and related conf file, web.xml
    2. Create PUBLIC user id in PIA with only Mobile Client User Role for PeopleSoft Home page access.
    3. Follow all the information related kerberos setup in PeopleBook section of desktop singal signon.
    While I type the URI like: http://www.mydomain.com/psp/<SITENAME>/EMPLOYEE/ERP/h/?tab=DEFAULT, the IE prompt the Windows Security logon prompt for Domain User & Password input, after try any domain user with valid password, the page redirected ONLY to PUBLIC user.
    Is there anyone successfully implemented the Desktop Kerberos signon? And how to fix the KRB_USER, Authorization headers not in the Request header from Kerberos Token ticket?
    Thanks,
    Saxon SI
    Edited by: Saxon SI on Apr 26, 2012 2:57 PM

    Hi Henry,
    Thank you for your input, I've done some check you mentioned as following:
    user5336584 wrote:
    Hi
    We have this working on PT 8.51 in environments with a Windows 2008 R2 domain controller and environments with a Windows 2003 domain controller.
    When you checked the headers did you check whether the browser was sending the authorization header? It should start Negotiate YI..... if it is sending a Kerberos token. You can use tools such as Fiddler or HttpHeaders to check what the browser is sending. I've tried the Live Http Headers as of FF add-on to get the request/response header on Client as below FYI:
    URL Access from FF in Client:
    http://www.mydomain.com/psp/KCPL/EMPLOYEE/ERP/h/?tab=DEFAULT
    Request Headers:
    GET /psp/KCPL/EMPLOYEE/ERP/h/?tab=DEFAULT HTTP/1.1
    Host: www.mydomain.com
    User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20100101 Firefox/10.0.2
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Language: en-us,en;q=0.5
    Accept-Encoding: gzip, deflate
    Connection: keep-alive
    Cookie: SignOnDefault=PUBLIC; KCPL-80-PORTAL-PSJSESSIONID=cQPSPjjbHpsTpVwCJ2dZlvJdYwWz5qTC!-1584708328; ExpirePage=http://www.mydomain.com/psp/KCPL/; PS_LOGINLIST=http://www.mydomain.com/KCPL; http%3a%2f%2fwww.mydomain.com%2fpsp%2fkcpl%2femployee%2ferp%2frefresh=list: %3ftab%3ddefault|%3frefresh_all_pagelets%3ddefault|%3ftab%3dremoteunifieddashboard|%3frefresh_all_pagelets%3dremoteunifieddashboard; PS_TOKENEXPIRE=4_May_2012_05:07:08_GMT; PS_TOKEN=pgAAAAQDAgEBAAAAvAIAAAAAAAAsAAAABABTaGRyAk4Abwg4AC4AMQAwABRTCw37UzDifaKUDUe4V3J/jGjsFWYAAAAFAFNkYXRhWnicHYlNDkAwFIS/IlYWLkK0/romIkKkG7F0BBd0OJO+Sb6ZN/MCWZoYI/8S4hWBi4mDjZl84WSlDNz6HnYxaOscDRZHJe8jO9Gpq5XHSC96aVBraeEHjvULpw==
    Response Headers:
    HTTP/1.1 200 OK
    Date: Fri, 04 May 2012 05:07:08 GMT
    Content-Length: 5386
    Content-Type: text/html; CHARSET=UTF-8
    Expires: Fri, 04 May 2012 05:27:08 GMT
    Last-Modified: Fri, 04 May 2012 05:07:08 GMT
    portaltopnav: true
    ignoreportalregisteredurl: 1
    pscache-excludeparams: c
    portalcachecontent: true
    pscache-handler: psft.pt8.cache.handler.MenuCacheHandler
    Set-Cookie: http%3a%2f%2fwww.mydomain.com%2fpsp%2fkcpl%2femployee%2ferp%2frefresh=list: %3frefresh_all_pagelets%3ddefault|%3ftab%3dremoteunifieddashboard|%3frefresh_all_pagelets%3dremoteunifieddashboard; domain=.mydomain.com; expires=Fri, 04-May-2012 05:27:08 GMT; path=/
    Set-Cookie: PS_TOKENEXPIRE=4_May_2012_05:07:08_GMT; domain=.mydomain.com; path=/
    pscache-control: role%2cmax-age%3d-1
    Content-Encoding: gzip
    portalregisteredurl: http://www.mydomain.com/psc/KCPL/EMPLOYEE/ERP/s/WEBLIB_PORTAL.PORTAL_HOMEPAGE.FieldFormula.IScript_HPPoweredBy
    X-Powered-By: Servlet/2.5 JSP/2.1
    usesportalrelativeurl: true
    (From PIA startManagedWebLogic PIA cmd windows, the general log for this access process is as: 1. Request Kerberos token; 2. Received Invalid token; 3. Using PUBLIC user id without Kerberos token to view the page)
    >
    If the browser is not sending a token then I'd try adding the site to your local intranet zone assuming you are using Internet Explorer. This should get rid of the domain user/password prompt and the browser will trust the site for Kerberos negotiation.In IE, the http://*.mydomain.com & https://*.mydomain.com already inserted in the local intranet zone. In the FF, at about:config, the network.negotiate-auth.trusted.uris is set as "mydomain.com"
    >
    We had a problem on one environment with Kerberos working over http but not https - this was because one environment was running an older Java version, 1.6.0_17 - updating to the correct version of JRockit to Java 1.6.0_26 has resolved that. For HTTPS login, in IE the Certificate Error with Red color highlighted, due to the certificate is not verified as a trusted CA. But the HTTPS can logged in and home page can displayed. (I guess the CA Error should not impact the HTTPS access, right?)
    >
    It might also be worth running a klist command (just type "klist" in a command prompt on the client machine) to see what tokens you have after trying to authenticate. You should see an entry corresponding to the server name.Here's the output for klist on my client server where to access the PIA from FF:
    Current LogonId is 0:0x11ae15f
    Cached Tickets: (6)
    #0>     Client: krbtest @ MYDOMAIN.COM
         Server: krbtgt/MYDOMAIN.COM @ MYDOMAIN.COM
         KerbTicket Encryption Type: AES-256-CTS-HMAC-SHA1-96
         Ticket Flags 0x60a00000 -> forwardable forwarded renewable pre_authent
         Start Time: 5/4/2012 12:53:25 (local)
         End Time: 5/4/2012 22:53:23 (local)
         Renew Time: 5/11/2012 12:53:23 (local)
         Session Key Type: AES-256-CTS-HMAC-SHA1-96
    #1>     Client: krbtest @ MYDOMAIN.COM
         Server: krbtgt/MYDOMAIN.COM @ MYDOMAIN.COM
         KerbTicket Encryption Type: AES-256-CTS-HMAC-SHA1-96
         Ticket Flags 0x40e00000 -> forwardable renewable initial pre_authent
         Start Time: 5/4/2012 12:53:23 (local)
         End Time: 5/4/2012 22:53:23 (local)
         Renew Time: 5/11/2012 12:53:23 (local)
         Session Key Type: AES-256-CTS-HMAC-SHA1-96
    #2>     Client: krbtest @ MYDOMAIN.COM
         Server: HTTP/kcpl.mydomain.com @ MYDOMAIN.COM
         KerbTicket Encryption Type: AES-256-CTS-HMAC-SHA1-96
         Ticket Flags 0x40a40000 -> forwardable renewable pre_authent ok_as_delegate
         Start Time: 5/4/2012 13:03:05 (local)
         End Time: 5/4/2012 22:53:23 (local)
         Renew Time: 5/11/2012 12:53:23 (local)
         Session Key Type: AES-256-CTS-HMAC-SHA1-96
    #3>     Client: krbtest @ MYDOMAIN.COM
         Server: cifs/kcpl.mydomain.com @ MYDOMAIN.COM
         KerbTicket Encryption Type: AES-256-CTS-HMAC-SHA1-96
         Ticket Flags 0x40a40000 -> forwardable renewable pre_authent ok_as_delegate
         Start Time: 5/4/2012 12:53:25 (local)
         End Time: 5/4/2012 22:53:23 (local)
         Renew Time: 5/11/2012 12:53:23 (local)
         Session Key Type: AES-256-CTS-HMAC-SHA1-96
    #4>     Client: krbtest @ MYDOMAIN.COM
         Server: ldap/kcpl.mydomain.com @ MYDOMAIN.COM
         KerbTicket Encryption Type: AES-256-CTS-HMAC-SHA1-96
         Ticket Flags 0x40a40000 -> forwardable renewable pre_authent ok_as_delegate
         Start Time: 5/4/2012 12:53:25 (local)
         End Time: 5/4/2012 22:53:23 (local)
         Renew Time: 5/11/2012 12:53:23 (local)
         Session Key Type: AES-256-CTS-HMAC-SHA1-96
    #5>     Client: krbtest @ MYDOMAIN.COM
         Server: LDAP/kcpl.mydomain.com/mydomain.com @ MYDOMAIN.COM
         KerbTicket Encryption Type: AES-256-CTS-HMAC-SHA1-96
         Ticket Flags 0x40a40000 -> forwardable renewable pre_authent ok_as_delegate
         Start Time: 5/4/2012 12:53:24 (local)
         End Time: 5/4/2012 22:53:23 (local)
         Renew Time: 5/11/2012 12:53:23 (local)
         Session Key Type: AES-256-CTS-HMAC-SHA1-96
    Note: the Domain Controller server (a) is name as kcpl, and in the DNS I've added an alias name www pointed to kcpl. During the Kerberos SPN setup I always use www.mydonmain.com for the SPN.
    Can you please confirm is your working environment for SPN is using www while the machine name is not www?
    >
    Another thing that could cause problems is a duplicate SPN. You can check for duplicates using the setspn command with the -x swicth (type "setspn -x" at a command prompt).I've run it from the Domain Controller, and the output show my the no dup entries:
    Checking domain DC=mydomain,.. DC=com
    Processing entry 0
    found 0 group of duplicate SPNs.
    As I note the Process entry is 0, does this mean that my kerberos setup is corrupt or not?
    PS: the actual domain name is replaced with mydomain for a simple understanding XD
    Thanks,
    Saxon SI

  • Item Conversion Template Issue for Oracle Migration - Copy functionality

    Hi,
    I am working on Migration project which is from Radius ERP to Oracle 11.5.10.2.
    Currently working on Item Conversion. This Item conversion having the fileds like (ORGANIZATION_ID,SEGMENT1,DESCRIPTION,ITEM_TYPE,COST_OF_SALES_ACCOUNT,SALES_ACCOUNT,ATTRIBUTE_CATEGORY,ATTRIBUTE1,ATTRIBUTE2,ATTRIBUTE3,ATTRIBUTE4,ATTRIBUTE5,ATTRIBUTE6,ATTRIBUTE7,ATTRIBUTE8,ATTRIBUTE9,ATTRIBUTE10,ATTRIBUTE11,ATTRIBUTE12,ATTRIBUTE13,ATTRIBUTE14,ATTRIBUTE15,GLOBAL_ATTRIBUTE10,REF_INVENTORY_ITEM_ID,REF_ORGANIZATION_ID).
    I have validated those fields and loaded into interfacing to Oracle Successfully in the master Org and Validated through Frontend.
    when I close the form, I will be receiving the below warning message and telling that Template id needs to be assign to the item before assigning item to the Org. The message is showing like
    "*You have not applied a template to this item, please apply a template before assigning this item to an ORG.*"
    Please find the below package which I wrote for this conversion requirement.
    The customer is saying like need to achieve the copy functionality based on the "REF_INVENTORY_ITEM_ID and REF_ORGANIZATION_ID".
    The Issue is am not able to handle the copy functionality and getting above message. kindly refer the package and suggest me where i am doing the mistake. Its high priority issue for me.
    Thanks in advance.
    CREATE OR REPLACE PACKAGE APPS.xxxx_inv_items_conv_pkg
    AS
    PROCEDURE xxx_item_conversion_proc (
    errbuf OUT VARCHAR2,
    retcode OUT VARCHAR2,
    p_org_id IN NUMBER,
    -- p_commit_point IN NUMBER,
    p_load_code IN VARCHAR2
    IS
    <<Local Variables Declaration>> <<For space limit deleted these variables>>
    CURSOR cur_item_master (pc_org_code VARCHAR2)
    IS
    SELECT itemstg.*
    FROM xxx_inv_system_items_stg itemstg
    WHERE itemstg.organization_id = pc_org_code
    AND itemstg.status_flag IS NULL;
    CURSOR cur_item_master_dup (pc_org_code VARCHAR2)
    IS
    SELECT itemstg.segment1, itemstg.organization_id
    FROM xxx_inv_system_items_stg itemstg
    WHERE itemstg.ROWID <
    (SELECT MAX (b.ROWID)
    FROM xxx_inv_system_items_stg b
    WHERE b.segment1 = itemstg.segment1
    AND b.organization_id = itemstg.organization_id
    AND b.organization_id = pc_org_code
    AND itemstg.status_flag IS NULL
    AND b.status_flag IS NULL);
    BEGIN
    IF p_load_code = 'Insert'
    THEN
    l_transaction_type := 'CREATE'; -- Default Value in I/F Table
    ELSIF p_load_code = 'Update'
    THEN
    l_transaction_type := 'UPDATE'; -- Default Value in I/F Table
    END IF;
    DBMS_OUTPUT.put_line ( 'Validation Starts At :'
    || TO_CHAR (SYSDATE, 'DD-MON-YYYY HH24:MI:SS')
    --Checking for Duplicate Records items
    BEGIN
    UPDATE xxx_inv_system_items_stg a
    SET a.status_flag = 'E',
    a.error_message = 'Duplicate Record'
    WHERE a.ROWID >
    ANY (SELECT b.ROWID
    FROM xxx_inv_system_items_stg b
    WHERE a.segment1 = b.segment1
    AND a.organization_id = b.organization_id)
    AND a.organization_id = p_org_id
    AND a.status_flag IS NULL;
    EXCEPTION
    WHEN OTHERS
    THEN
    DBMS_OUTPUT.put_line ('Exception in updating duplicates'
    || SQLERRM
    END;
    DBMS_OUTPUT.put_line ('CheckPoint: Duplicate Record');
    BEGIN
    SELECT organization_id
    INTO l_organization_id
    FROM org_organization_definitions
    WHERE organization_id = p_org_id;
    EXCEPTION
    WHEN NO_DATA_FOUND
    THEN
    DBMS_OUTPUT.PUT_LINE(p_org_id||' Org Does Not Exist');
    -- p_retcode := '2';
    WHEN OTHERS
    THEN
    DBMS_OUTPUT.PUT_LINE('Exception in Getting Org Id'||'Cannot Proceed');
    -- p_retcode := '2';
    END ;
    DBMS_OUTPUT.put_line ('CheckPoint: Orgcode' || l_organization_id);
    /* IF p_retcode = '2'
    THEN
    RETURN;
    END IF;*/
    --Block             : Setting Master and Validation Orgs Flags
    BEGIN
    SELECT DECODE (master_organization_id, l_organization_id, 'Y', 'N'),
    master_organization_id
    INTO l_master_org,
    l_master_org_id
    FROM mtl_parameters
    WHERE organization_id = l_organization_id;
    EXCEPTION
    WHEN OTHERS
    THEN
    l_master_org := 'N';
    l_master_org_id := NULL;
    DBMS_OUTPUT.PUT_LINE(p_org_id||' Org Does Not Exist');
    END ;
    DBMS_OUTPUT.put_line ('master_organization_id');
    SELECT fnd_profile.VALUE ('USER_ID')
    INTO l_user_id
    FROM DUAL;
    -- Block : Set the SET_PROCESS_ID
    l_set_process_id := l_organization_id;
    l_insert_count := 0;
    LOOP
    BEGIN
    SELECT COUNT (segment1)
    INTO l_insert_count
    FROM mtl_system_items_interface
    WHERE set_process_id = l_set_process_id
    AND transaction_type = l_transaction_type
    AND process_flag = 1;
    EXCEPTION
    WHEN OTHERS
    THEN
    l_insert_count := 0;
    END;
    EXIT WHEN l_insert_count = 0;
    l_set_process_id := l_set_process_id + 10;
    END LOOP;
    DBMS_OUTPUT.put_line ('SET PROCESS ID -l_insert_count ' || l_insert_count);
    IF p_load_code = 'Insert'
    THEN
    BEGIN
    FOR recitem_data IN cur_item_master_dup (p_org_id)
    LOOP
    UPDATE xxx_inv_system_items_stg
    SET status_flag = l_processed_flag,
    error_message = l_error_message
    WHERE segment1 = recitem_data.segment1
    AND organization_id = recitem_data.organization_id
    AND status_flag IS NULL;
    COMMIT;
    END LOOP;
    EXCEPTION
    WHEN OTHERS
    THEN
    DBMS_OUTPUT.put_line ( 'Update of Duplicates Failed : '
    || SQLCODE
    || '--'
    || SQLERRM
    END ;
    END IF;
    FOR recitem_data IN cur_item_master (p_org_id)
    LOOP
    <<Local Variables Declaration>> <<For space limit deleted these variables>>
    IF p_load_code = 'Update'
    THEN
    l_error_message := 'Update Mode' || l_error_delimiter;
    END IF;
    --l_count := -1;
    BEGIN
    DBMS_OUTPUT.put_line ('CheckPoint: ItemValidationStart');
    SELECT DISTINCT inventory_item_id,
    restrict_subinventories_code,
    restrict_locators_code
    INTO l_inventory_item_id,
    l_restrict_subinventories_code,
    l_restrict_locators_code
    FROM apps.mtl_system_items_b msi
    WHERE msi.organization_id = l_organization_id
    AND msi.segment1 = UPPER (recitem_data.segment1);
    EXCEPTION
    WHEN NO_DATA_FOUND
    THEN
    l_count := 0;
    -- l_processed_flag := 'F';
    DBMS_OUTPUT.put_line ('inventory_item_id - AFTER MAIN LOOP' || l_inventory_item_id||'-'||l_processed_flag);
    DBMS_OUTPUT.put_line ('inventory_item_id - AFTER MAIN LOOP' || l_inventory_item_id||'-'||recitem_data.ref_inventory_item_id);
    WHEN OTHERS
    THEN
    l_count := -1;
    -- l_processed_flag := 'F';
    DBMS_OUTPUT.put_line ('inventory_item_id - AFTER MAIN LOOP' || l_inventory_item_id||'-'||l_processed_flag);
    END ;
    DBMS_OUTPUT.put_line ('inventory_item_id - AFTER MAIN LOOP'||recitem_data.ref_inventory_item_id);
    IF l_count = -1
    THEN
    l_processed_flag := 'F';
    l_error_message :=
    l_error_message
    || 'Exception - Checking Item already Present'
    || l_error_delimiter;
    DBMS_OUTPUT.put_line ('Exception - Checking Item already Present'||l_processed_flag);
    ELSIF (l_count > 0 AND p_load_code = 'Insert')
    THEN
    l_processed_flag := 'F';
    l_error_message :=
    l_error_message
    || 'Item Already Exists In '
    || p_org_id
    || ' Organization '
    || l_error_delimiter;
    DBMS_OUTPUT.put_line ('Exception - Checking Item already Present1'||l_processed_flag);
    ELSIF (l_count = 0 AND p_load_code = 'Update')
    THEN
    l_processed_flag := 'F';
    l_error_message :=
    l_error_message
    || 'Item Not Present In '
    || p_org_id
    || ' Organization '
    || l_error_delimiter;
    DBMS_OUTPUT.put_line ('Exception - Checking Item already Present2'||l_processed_flag);
    END IF;
    BEGIN
    SELECT count(*)
    INTO l_seg_count
    FROM apps.mtl_system_items_b msi
    WHERE msi.organization_id = l_organization_id
    AND msi.segment1 = UPPER (recitem_data.segment1);
    EXCEPTION
    WHEN NO_DATA_FOUND
    THEN
    l_seg_count := 0;
    l_processed_flag:='F';
    l_error_message :=
    l_error_message
    || 'Item Not Present In Oracle'
    || p_org_id
    || ' Organization '
    || l_error_delimiter;
    DBMS_OUTPUT.put_line ('inventory_item_id - l_seg_count ' ||l_seg_count||'-'||l_processed_flag );
    WHEN OTHERS
    THEN
    l_seg_count := -1;
    l_processed_flag:='F';
    l_error_message :=
    l_error_message
    || 'Item Not Present In Oracle'
    || p_org_id
    || ' Organization '
    || l_error_delimiter;
    END ;
    IF p_load_code = 'Insert'
    THEN
    IF l_organization_id != l_master_org_id
    THEN
    BEGIN
    SELECT COUNT (1)
    INTO l_org_item_count
    FROM apps.mtl_system_items_b msi
    WHERE msi.organization_id = l_master_org_id
    AND msi.segment1 = UPPER (recitem_data.segment1);
    EXCEPTION
    WHEN NO_DATA_FOUND
    THEN
    l_org_item_count := 0;
    DBMS_OUTPUT.put_line ('l_org_item_count ' ||l_org_item_count||'-'||l_processed_flag );
    WHEN OTHERS
    THEN
    l_org_item_count := -1;
    END ;
    IF l_org_item_count = -1
    THEN
    l_processed_flag := 'F';
    l_error_message :=
    l_error_message
    || 'Exception - Checking Item in Master '
    || l_error_delimiter;
    ELSIF l_org_item_count = 0
    THEN
    l_processed_flag := 'F';
    l_error_message :=
    l_error_message
    || 'Item Does Not Exist in Master '
    || l_error_delimiter;
    END IF;
    END IF;
    END IF;
    DBMS_OUTPUT.put_line ( 'CheckPoint: Iteminmasterorg'
    || l_org_item_count
    IF (recitem_data.description IS NULL AND p_load_code = 'Insert')
    THEN
    l_processed_flag := 'F';
    l_error_message :=
    l_error_message || 'Description is NULL' || l_error_delimiter;
    END IF;
    IF (recitem_data.sales_account IS NOT NULL)
    THEN
    BEGIN
    SELECT code_combination_id
    INTO l_sales_account
    FROM gl_code_combinations_kfv
    WHERE code_combination_id= recitem_data.sales_account;
    EXCEPTION
    WHEN NO_DATA_FOUND
    THEN
    -- l_processed_flag := 'F'; --QUESTION
    l_error_message :=
    l_error_message
    || 'Sales Account Not Setup '
    || l_error_delimiter;
    DBMS_OUTPUT.put_line ( 'CheckPoint: Salesacct_Validation'
    || l_sales_account||'-'||l_processed_flag
    WHEN OTHERS
    THEN
    l_processed_flag := 'F';
    l_error_message :=
    l_error_message
    || 'Sales Account Exception '
    || SQLERRM
    || l_error_delimiter;
    DBMS_OUTPUT.put_line ( 'CheckPoint: Salesacct_Validation'
    || l_sales_account||'-'||l_processed_flag
    END ;
    END IF;
    IF (recitem_data.cost_of_sales_account IS NOT NULL)
    THEN
    BEGIN
    SELECT code_combination_id
    INTO l_cost_of_sales_account
    FROM gl_code_combinations_kfv
    WHERE code_combination_id =
    recitem_data.cost_of_sales_account;
    EXCEPTION
    WHEN NO_DATA_FOUND
    THEN
    l_processed_flag := 'F';
    l_error_message :=
    l_error_message
    || 'COGS Account Not Setup '
    || l_error_delimiter;
    DBMS_OUTPUT.put_line ( 'l_cost_of_sales_account'
    || l_cost_of_sales_account||'-'||l_processed_flag
    WHEN OTHERS
    THEN
    l_processed_flag := 'F';
    l_error_message :=
    l_error_message
    || 'COGS Account Exception '
    || SQLERRM
    || l_error_delimiter;
    DBMS_OUTPUT.put_line ( 'l_cost_of_sales_account'
    || l_cost_of_sales_account||'-'||l_processed_flag
    END check_cogs_account;
    END IF;
    BEGIN
    select distinct organization_code
    into l_ref_org_code
    from org_organization_definitions
    where organization_id = recitem_data.ref_organization_id ;
    EXCEPTION
    WHEN OTHERS THEN
    l_ref_org_code:= NULL;
    l_processed_flag:='F';
    l_error_message :=
    l_error_message
    || 'Reference Org Not Present'
    || p_org_id
    || ' Organization '
    || l_error_delimiter ;
    DBMS_OUTPUT.put_line ('l_ref_org_code'|| l_ref_org_code||'-'||l_processed_flag);
    END;
    BEGIN
    select concatenated_segments
    into l_ref_inventory_item_code
    from mtl_system_items_kfv
    where inventory_item_id = recitem_data.ref_inventory_item_id
    and organization_id = recitem_data.ref_organization_id ;
    EXCEPTION
    WHEN OTHERS THEN
    l_ref_inventory_item_code :=NULL;
    l_processed_flag:='F';
    l_error_message :=
    l_error_message
    || 'Reference Item Not Present'
    || p_org_id
    || ' Organization '
    || l_error_delimiter;
    DBMS_OUTPUT.put_line ('l_ref_inventory_item_code'|| l_ref_inventory_item_code||'-'||l_processed_flag);
    END;
    IF (l_master_org = 'N' AND p_load_code = 'Insert')
    THEN
    BEGIN
    SELECT count(*)
    INTO l_description_count
    FROM mtl_system_items_tl
    WHERE organization_id = l_master_org_id
    AND inventory_item_id =
    (SELECT inventory_item_id
    FROM mtl_system_items_b
    WHERE organization_id = l_master_org_id
    AND segment1 = recitem_data.segment1);
    END ;
    IF l_description_count > 0 THEN
    l_processed_flag:='F';
    l_error_message :=
    l_error_message
    || 'Item Description Not Present'
    || p_org_id
    || ' Organization '
    || l_error_delimiter;
    END IF;
    END IF;
    IF l_processed_flag = 'S'
    THEN
    BEGIN
    INSERT INTO mtl_system_items_interface
    (organization_id,
    segment1,
    description,
    ITEM_TYPE,
    COST_OF_SALES_ACCOUNT,
    SALES_ACCOUNT,
    attribute_category,
    set_process_id,
    transaction_type,
    process_flag,
    copy_organization_code,
    copy_item_number,
    creation_date,
    created_by,
    last_updated_by,
    last_update_date
    --attribute_category
    , attribute1
    , attribute2
    ,attribute3
    ,attribute4
    ,attribute5
    ,attribute6
    ,attribute7
    ,attribute8
    ,attribute9
    ,attribute10
    ,attribute11
    ,attribute12
    ,attribute13
    ,attribute14
    ,attribute15
    ,global_attribute10
    VALUES (l_organization_id,
    recitem_data.segment1,
    recitem_data.description,
    recitem_data.ITEM_TYPE,
    recitem_data.COST_OF_SALES_ACCOUNT,
    recitem_data.SALES_ACCOUNT,
    recitem_data.ATTRIBUTE_CATEGORY,
    l_set_process_id,
    l_transaction_type, --,l_transaction_type
    l_process_flag,
    l_ref_org_code,
    l_ref_inventory_item_code,
    SYSDATE, l_user_id,
    l_user_id, SYSDATE
    -- l_attribute_category
    ,recitem_data.attribute1
    ,recitem_data.attribute2
    ,recitem_data.attribute3
    ,recitem_data.attribute4
    ,recitem_data.attribute5
    ,recitem_data.attribute6
    ,recitem_data.attribute7
    , recitem_data.attribute8
    ,recitem_data.attribute9
    , recitem_data.attribute10
    ,recitem_data.attribute11
    ,recitem_data.attribute12
    ,recitem_data.attribute13
    ,recitem_data.attribute14
    ,recitem_data.attribute15
    , substr(recitem_data.global_attribute10,1,length(recitem_data.global_attribute10)-1) --recitem_data.global_attribute10
    l_insert_count := l_insert_count + 1;
    /* IF (l_insert_count = NVL (p_commit_point, 10000))
    THEN
    -- l_set_process_id := l_set_process_id + 10; -- REVERT BACK CHANGE
    l_insert_count := 0;
    END IF;
    EXCEPTION
    WHEN OTHERS
    THEN
    l_processed_flag := 'F';
    l_error_message :=
    l_error_message
    || 'Error in Inserting Item '
    || SQLERRM
    || l_error_delimiter;
    END ;
    COMMIT;
    DBMS_OUTPUT.put_line ('CheckPoint: Insertion Completed in Intfacetable');
    END IF;
    BEGIN
    UPDATE xxx_inv_system_items_stg
    SET status_flag = l_processed_flag,
    error_message = l_error_message
    WHERE segment1 = recitem_data.segment1
    AND organization_id = recitem_data.organization_id
    AND status_flag IS NULL;
    COMMIT;
    DBMS_OUTPUT.put_line ('Error Message'||l_error_message);
    EXCEPTION
    WHEN OTHERS
    THEN
    fnd_file.put_line (fnd_file.LOG,
    'Error:Updating Item:'
    || SQLCODE
    || '-'
    || SQLERRM
    END;
    END LOOP; --FOR recitem_data IN cur_item_master
    DBMS_OUTPUT.put_line ( 'Validation Ends At :'
    || TO_CHAR (SYSDATE, 'DD-MON-YYYY HH24:MI:SS')
    DBMS_OUTPUT.put_line ('Number of records inserted into Table Successfully -->'|| l_insert_count);
    END;
    END xxxx_inv_items_conv_pkg;
    Edited by: 896170 on Apr 12, 2013 11:58 PM

    Issue got solved... changed the PO line amount as:
    <?xdoxslt:set_variable($_XDOCTX,'line_amt',xdoxslt:to_number(LINE_AMOUNT))?>
    Reference :Syntax for 'to_number'
    Regards
    Manikanta Panigrahi

  • Handle not valid for open spool request

    Hello everyone,
    i am facing an error while clicking the print preview option in change PO (me22n).
    i have given the dispatch time in further data of o/p as 'Send with application own transaction'.
    now, when i save and click print preview button i get an error as
    "Handle not valid for open spool request"
    Kindly give me some idea how to tackle this.
    Thanks
    gaurav

    Gaurav,
    I am having a similar issue and would appreciate if you could let us know how your problem was solved?
    What control parameters did you change to make this work?
    Thanks,
    Jay

  • Unable to get the SharePoint 2013 List names using Client object model for the input URL

    Please can you help with this issue.
    We are not able to get the SharePoint 2013 List names using Client object model for the input URL.
    What we need is to use default credentials to authenticate user to get only those list which he has access to.
    clientContext.Credentials = Net.CredentialCache.DefaultCredentials
    But in this case we are getting error saying ‘The remote server returned an error: (401) Unauthorized.’
    Instead of passing Default Credentials, if we pass the User credentials using:
    clientContext.Credentials = New Net.NetworkCredential("Administrator", "password", "contoso")
    It authenticates the user and works fine. Since we are developing a web part, it would not be possible to pass the user credentials. Also, the sample source code works perfectly fine on the SharePoint 2010 environment. We need to get the same functionality
    working for SharePoint 2013.
    We are also facing the same issue while authenticating PSI(Project Server Interface) Web services for Project Server 2013.
    Can you please let us know how we can overcome the above issue? Please let us know if you need any further information from our end on the same.
    Sample code is here: http://www.projectsolution.com/Data/Support/MS/SharePointTestApplication.zip
    Regards, PJ Mistry (Email: [email protected] | Web: http://www.projectsolution.co.uk | Blog: EPMGuy.com)

    Hi Mistry,
    I sure that CSOM will authenticate without passing the
    "clientContext.Credentials = Net.CredentialCache.DefaultCredentials" by default. It will take the current login user credentials by default. For more details about the CSOM operations refer the below link.
    http://msdn.microsoft.com/en-us/library/office/fp179912.aspx
    -- Vadivelu B Life with SharePoint

  • Error while doing Good Issue for Production Order using BAPI

    Hi All,
    I am facing an error like 'u2018Content of order 1011907: MDT218AJ10 transferred to interface (IMSEG): T-86410-71".
    I have written the code as below. Please let me know what is missing when using the BAPI 'BAPI_GOODSMVT_CREATE'. What is the cause of this error ?
    *Action in Transaction (GM_CODE)
    *GM Code for Goods Issue for Production Order is 03
      gs_gmcode-gm_code = '03'.
    *Header Data
    *Posting date
      gs_header-pstng_date = sy-datum.
    *Document date
      gs_header-doc_date   = sy-datum.
    *Item Data
    *Material
      gs_item-material  = zptp_s_rf_migo_261-matnr1.
    *Movement Type
      gs_item-move_type = '261'.
    *Movement Indicator
      gs_item-mvt_ind   = 'F'.
    *Stock Type
      gs_item-stck_type = 'F'.
    *Plant
      gs_item-plant     = gv_plant.
    *Storage Location
      gs_item-stge_loc  = gv_str_loc.
    *Quantity
      gs_item-entry_qnt = zptp_s_rf_migo_261-menge2.
    *Unit
      gs_item-entry_uom = gv_uom.
    *ISO code for unit of measurement
      gs_item-entry_uom_iso = gv_uom.
    *Order Number
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
        EXPORTING
          input  = zptp_s_rf_migo_261-aufnr
        IMPORTING
          output = gs_item-orderid.
    *Reservation Number
      gs_item-reserv_no = gv_resv_num.
    *Reservation Item
      gs_item-res_item = gv_resv_itm.
    *Reservation Type
      gs_item-res_type = gv_resv_type.
      APPEND gs_item TO gt_item.
    Calling BAPI_GOODSMVT_CREATE to create the Material Document Number
      CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
        EXPORTING
          goodsmvt_header       = gs_header
          goodsmvt_code         = gs_gmcode
        IMPORTING
          goodsmvt_headret      = gs_headret
        TABLES
          goodsmvt_item         = gt_item
          goodsmvt_serialnumber = gt_serial
          return                = gt_return.
    Thanks in Advance.

    hi,
    did you look at message ?
    System says, there are differences between the interface data and the order data. It can be anything. I think you should check
    data in the interface . 
    this is the long explanation of your message :
    Diagnosis
    When calling the function module MB_CREATE_GOODS_MOVEMENT or the BAPI GoodsMovement.CreateFromData (BAPI_GOODSMVT_CREATE) to post a goods receipt for a production order, there are differences between the interface data and the order data.
    Example: The order was created for plant 0001, but plant 0002 is passed on in the interface.
    The system checks this for the material and the order item.
    System response
    Due to this difference, the system cannot post the goods receipt.
    Procedure
    Check the data in the interface (IMSEG-WERKS, IMSEG-AUFNR). If necessary, correct the plant or the order number in the interface.
    << Moderator message - Point begging removed >>
    Edited by: Rob Burbank on Feb 6, 2012 11:24 AM

  • Issue of Text input field  in Where Tab of Migo During POST

    Hi Friend's,
    I m facing some issue In MIGO for Test Input field not showing in WHERE tabe during Display-Material  on POST it will showing during check but when i try to post it it will invisible text input field what will be issue..high preiority..
    Regard's,
    shaikh.khalid.

    ok .
    when i go migo and select GR and Purches order.after enter in below WHERE tab there is a text and input field of that when filling this i try to check it showin text and input field during check but once i press POST button and then go to where tab it not showing Text and input field both are invisible..
    1.In MIGO During GR-purchase order in Where tab Text and it’s input field are showing during CHeck tabe
    2.On POST it not showing Text Input Field both are invisible.

  • Issue for creation date of Billing document in third party ???

    Hello SAP Folks,
    This issue is related to third party scenario. The basic requirement is to create to a billing document with a creation date same as
    Good issue date of Sales Order.
    For your information, with the help of enhacement we have passed on the value of posting date of material document generated
    from MIGO to Goods issue date in Sales Order. I am very much aware that setting up a new copying routine would help me but
    relating the GI date field of Sales Order from the techincal point of view is a complete work stopper. Could anyone throw light on
    the workaround for mapping this case ???
    Regards,
    Sarthak

    Hello,
    Thanks Alex for your input on the topic !!
    But i would like to say that the billing relevance of the item category has to "B" as this process of Third part Sales talks about creation of billing document after the MIGO. And i am basically interested to Populated the posting date of MIGO for Biling creation date. 
    In Sales Order, the GI date is modified to Posting date of MIGO through enhancement. I have been looking around relevant tables to fetch the GI date of Sales Order but not getting the right track...
    Could anyone provide any other workaround to implement this sort of requirement ???
    Eager to hear from Lakshmipathi ...
    Regards,
    Sarthak

  • Fund for goods issue for reservation

    Hello Gurus,
    I would appreciate if someone would tell me how to handle this issue.
    I am doing a GI 201 for Reservation and this is the error message I am getting. For other plants I am able to post except this one. Value BLANK / SPACE is invalid for account assignment element "fund"
    Thanks,
    Syed

    Hi,
    If you need report for getting po list based on the purchase group then you can use ME2N report .But before doing good issue the user need to check this report .
    Thanks & Regards,
    Renuga.A

  • 10.4.11 wireless networking issues for Intel iMac

    After being prompted by software update to upgrade to 10.4.11 from 10.4.10, I did so, but found my computer stuck at the grey screen upon restart. I have since done the archive + reinstall of 10.4.4, which allowed me to onnect to my wireless network again (other Intel and PPC Macs are able to access the same network). I then downloaded and installed the 10.4.11 combo package as some have suggested on other posts throughout this forum; however the problem has returned.
    Has anyone else had a similar problem and/or does anyone have a solution other than reinstalling 10.4.4 and upgrading to 10.4.10 again?
    Cheers!

    Mizraith,
    I have the same setup as you (the WRT300N router & a macbook pro (sept 2007). I have been investigating these issues for a while now. First, to be quiet honest, this router is a crappy piece of hardware. Simply google the product name along with interesting keywords such as 'vanish' 'problem' 'issue', and make your own conclusion. Not to mention that the product has had at least 3 hardware revisions: it pretty much says it all.
    Here are my takes on this, I have had 2 different problems:
    1) First problem, the ESSID sometimes vanishs for a while. It is not macbook specific since I have observed that on my playstation 3 too. The only solution I have found to deal with this problem is to get to the wireless configuration of the router and change the radio band/wide channel, etc to something else. Then it'll work for some time before the problem reappears. I have contacted linksys tech support, and I strongly suspect that the support for N-mode is extremely incomplete, but of course they are not affirmative on this, otherwise they'd do a recall.
    2) Second problem, the signals gets weak and the connection just freezes. Not sure it is macos specific, but the fact is that with macos 10.4.10, when it happened, simply setting aiport off -> on used to be OK. Since I upgraded to macos 10.4.11, the system will then appear to be connected to the AP with a good signal, but the NIC will be assigned a self-assigned ip address (169.x). This also happend after putting the system in sleep. It seams to happen more often on battery mode on my macbook. Manually rerunning the dhcp client does not help. Solution? You guess it, the r.e.b.o.o.t.
    The router may be an unstable product, but there are some obvious regressions in the wifi support of macos 10.4.11, at least, in error handling. Here again, a simple google search for '10.4.11 wifi' with 'problem' 'issue' should convince you.
    I have contacted the tech support of Apple regarding that issue. I didn't even expected to have a magical solution, but at least, some hints or even a mere acknowledgment. They never replied to my mail.
    Let me know if you have some news on that issue, and good luck!

  • Tree-control for data input?

    Hi,
    I need to program an input screen for values that have hierarchical dependencies (e.g. sums). I feel, the most adequate user-interface would be a tree control, because of the data dependencies and also because the users asked for a possibility to collapse/expand parts of the data during input.
    I had a look at CL_GUI_COLUMN_TREE, but I'm not sure, if it can be used for data input. Has anyone done something like this before or can anybody direct me to some additional sample coding? (the sample coding in the reuse library didn't do it...)
    Thanks for your help, greetings, Kathrin!

    Hello Kathrin,
    Since you say that the user's input is hierarchical in nature, it is nice to have a tree-control for input. But, the choice of using a custom-control-version of the tree is a cause for some concern. I cannot recollect any of the SAP screens where the input can be given through such a tree framework (please do let me know if you have come across one). The problem with such a tree would be in the areas of even-handling. Filling the tree with appropriate data at the right times would be another challenge.
    However, there's one alternative that I would like to direct your attention to. You must have observed another kind of tree, when you select an application component from the APPLICATION HIERARCHY, which is just like a list. Also, the <i>Transport Organizer (SE09)</i>, <i>Menu Painter (SE41)</i> etc., have this kind of a tree. You can use this if you (or rather your users) are very particular on having a tree display. For more information, you can see the Function Group <b>SEUT</b>, which has the required function modules to accomplish the same. The Function Group is well documented, and you might have to work a little on the function modules themselves.
    Please do let me know if this is a suitable option to meet your requirement. All the best,
    Regards,
    Anand Mandalika.

Maybe you are looking for

  • BPS_WB: Please Wait Dialog Box not Displaying correctly???

    When we switched our Planning Interfaces to using the New Planning Interface Design the Please Wiat Dialog Box does not display correctly.  When a Request is fired and the client is waiting for the Response all that shows is a white block in the midd

  • Address Book Does Not Populate InfoPath People Picker Form Field in Chrome, Firefox, or Safari--only IE

    Since applying the December 2014 Cumulative Update for SharePoint Server 2010, the Address Book in all of our InfoPath forms will not populate the People Picker field in Chrome, Firefox, or Safari--it only works in Internet Explorer. People can still

  • Payment Clearance Report

    Hi Experts, Can anyone point me to a report I can use in SAP B1 2007A PL45 where I can see how quickly customer payment are cleared following the due date of an invoice. Ideally it would show: On Due Date - Qty and %age of total 2 to 5 Days - Qty and

  • How To Use Multiple Currencies in single payroll ........

    Dear All Can you help me How To Use Multiple Currencies in single payroll? with regards User600722

  • Stop iTunes syncing Photos.

    I do not want iTunes to sync or transfer Photos from my iPad to my iMac. I have unchecked the box for "Sync Photos", but each time that I connect my iPad to my iMac, iTunes starts to sync and opens iPhoto. How can I get iTunes this to work? IOS 8.1.1