From Custom / To Custom passes

Hi all,
I just did write a small java class that I want to use as a "From Custom" pass. It's compiled (without error) and in the classpath of the running dispatcher. However I still get
"Exception running class  - Exception:java.util.NoSuchElementException" when starting the job.
It's a very simple class, just importing (and extending) the FromASCII pass so it should have everything necessary.
Does anyone have a clue how to deal with the From Custom / To Custom passes in detail?
thank you for any hint,
Tobias (from University of Basel)

Hello Tobias,
I wrote a blog about that:
/people/domink.trui/blog/2008/11/17/how-to-use-custom-classes-in-the-sap-netweaver-identity-management
Best regards
Dominik Trui

Similar Messages

  • Pass Value from Excel to custom program

    Hello,
    I want to pass value from Excel to Custom Program being called in the Custom Integrator and i am using the Import in the Importer section but it is not getting passed.
    Please advise and i am on R12.1.3.
    Thanks

    Pl do not post duplicates - Concurrent Program Parameter

  • Custom Components and passing arguments

    This afternoon i got a great answer regarding the use of custom MXML components and calling a function back in the main application file. I can accomplish this now by using parentDocument BUT I need to pass the name of a function(for filtering) as a parameter of the function call in the custom component. Below are the two code fragments.
    Custom Component Code
    <mx:LinkButton label="10% off or more" click="parentDocument.filterFunction(showTenPercent)" />
    Main App Code
    public function filterFunction(functionName:Function):void {
    merchantDG.visible=true;
    merchantData.filterFunction=functionName;
    merchantData.refresh();
                public function showTenPercent(item:Object):Boolean {
                        return (item.merchantOfferCategory=="10%");
    The filterFunction in the main App is called by multiple components so I believe I need to keep in centralized in the main app. There is probably another way to do this but I am building my Flex skills slowly and need to understand how to do this. As the code is now, I get an error about functions and strings.

    I believe instead of calling the function from inside the custom component you need to do this from inside your main application whenever you're initiating the custom component.
    for ex.
    <custom:LinkBtnCustom label="10% off or more"  click="filterFunction(showTenPercent)"/>
    this way you don't need the parentDocument prefix.

  • Display Several Sales Orders from Same Business Customer TOGETHER   in MD04

    Hello
    In MD04 is it possible to display several sales orders from same business customer together?
    For instance one business customer order bikes for two times.
    The Order-No are 12912(50st by 07/08/09) and 12913(100st by 10/08/09).
    Normally after runnning of MRP(MD02), the planned orders are displayed seperately in MD04.
    I want to display  two orders together.
    The reason is if some trouble happens in Production(for Ord-no 12912) and it cannot be deliveried on schedule, however Production  (for Ord-no 12913) is going without trouble, the final-products for order 12913 should move for 12912.
    If you have some good solutions, please share it.
    Thank you for your advice.
    Regards,

    Hi Riyolshibashi,
    Lets look at the two main scenarios, MTS and MTO.
    In MTS, the general display filters are available in MD04.  Standard SAP filters do not filter on 'customer'.  I suspect this is because the concept would normally be illogical in a MTS environment.  Planned orders do not exist to serve a customer, but to serve 'stock'.  But let us not think about SAP and their logic.
    SAP allows you to create customized filters, in IMG>Production>MRP>Evaluation>Filter>Define Display filter.  Within this definition, under the  "Addnl Selections' tab, you can tick 'Define addl selections in the transaction'.  When you use this filter in MD04 display, then, one of the options available to you is to enter a specific Customer number, and then the display will only show the requirements from this customer.  Since you have excluded all other customer's orders, all orders of a single customer will be displayed consecutively.  Next to each other.
    In the case of MTO, the 'filter-by-customer' concept makes more sense (although, not for the reason you have stated.  You would have to find some manual method to convert a production order from supporting one sales order item, to supporting another sales order item.  Possible but difficult).  Anyway, the above mentioned customized filter would also work in an MTO environment.
    Regards,
    DB49

  • Problem using jsp:include from inside a custom tag

    Hi, All !
              I have a problem using <jsp:include> from inside a custom tag. Exception is:
              "java.lang.ClassCastException: weblogic.servlet.jsp.BodyContentImpl"
              Apparently, weblogic tries to cast BodyContentImpl to JspWriterImpl and
              could not do this. Is it a bug, since in the 1.1 spec is said: "The
              BodyContent is a subclass of JspWriter that can be used to process body
              evaluations so they can retrieved later on."
              My code is:
              <wfmklist:items>
              <jsp:include page="item.jsp" flush="true"/>
              </wfmklist:items>
              

    This is an area of contention with WL. It is not so tolerant with regards to
              the spec. I spent several days recently trying to convince it to accept the
              specification in regards to bodies and includes and it appears to have
              successfully rebuffed my efforts.
              Frankly, this is very disappointing. It appears that some shortcuts were
              taken on the way to JSP 1.1 support, and the result is a very hard-coded,
              inflexible implementation. As I have not seen the implementation myself, I
              hate to assume this, however one could posit that the term "interface" was a
              foreign concept during the implementation, other than as some annoying
              intermediary reference requiring an immediate cast to a specific Weblogic
              class, which in turn is apparently required to be final or have many final
              methods, as if being optimized for a JDK 1.02 JIT.
              I am sorry that I don't have any positive suggestions other than to use a
              URL object to come back in an execute the necessary "include" directly. You
              lose all context (other than session) and that can cause its own problems.
              However, you can generally get the URL approach to work, and you will
              hopefully avoid further frustration.
              Peace,
              Cameron Purdy
              Tangosol, Inc.
              http://www.tangosol.com
              Tangosol: How Weblogic applications are customized
              "Denis" <[email protected]> wrote in message
              news:[email protected]...
              > Hi, All !
              > I have a problem using <jsp:include> from inside a custom tag. Exception
              is:
              > "java.lang.ClassCastException: weblogic.servlet.jsp.BodyContentImpl"
              >
              > Apparently, weblogic tries to cast BodyContentImpl to JspWriterImpl and
              > could not do this. Is it a bug, since in the 1.1 spec is said: "The
              > BodyContent is a subclass of JspWriter that can be used to process body
              > evaluations so they can retrieved later on."
              >
              > My code is:
              > ...
              > <wfmklist:items>
              > <jsp:include page="item.jsp" flush="true"/>
              > </wfmklist:items>
              > ...
              

  • WebLogic Server 7.0: Including another JSP from within a custom tag

    Hi all,
              has anyone made experience with including (ie. processing) a dynamic
              resource (JSP) from within a custom JSP tag?
              Using the following code inside doEndTag():
              pageContext.include("/templates/blub.jsp");
              throws a ServletException (Note: the JSP is a part of the web app
              which is deployed as war). Does it make a difference if the web
              application is warred up into and therefore include cannot resolve the
              specified relative URL?
              [Tomcat 4.1.10 doesn't have problems for that matter]
              The full stack trace is:
              javax.servlet.ServletException: java.lang.NullPointerException
              at com.foo.taglibs.template.InsertTag.doEndTag(InsertTag.java:55)
              at jsp_servlet._models.__index._jspService(__index.java:774)
              at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
              at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:945)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:332)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:376)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:242)
              at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5360)
              at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:721)
              at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3043)
              at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2468)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
              TIA,
              niko.
              

    Try the same code from an exploded web app.
              Niko Schmuck wrote:
              > Hi all,
              >
              > has anyone made experience with including (ie. processing) a dynamic
              > resource (JSP) from within a custom JSP tag?
              >
              > Using the following code inside doEndTag():
              >
              > pageContext.include("/templates/blub.jsp");
              >
              > throws a ServletException (Note: the JSP is a part of the web app
              > which is deployed as war). Does it make a difference if the web
              > application is warred up into and therefore include cannot resolve the
              > specified relative URL?
              > [Tomcat 4.1.10 doesn't have problems for that matter]
              >
              > The full stack trace is:
              >
              > javax.servlet.ServletException: java.lang.NullPointerException
              > at com.foo.taglibs.template.InsertTag.doEndTag(InsertTag.java:55)
              > at jsp_servlet._models.__index._jspService(__index.java:774)
              > at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
              > at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:945)
              > at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:332)
              > at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:376)
              > at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:242)
              > at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5360)
              > at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:721)
              > at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3043)
              > at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2468)
              > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
              > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
              >
              > TIA,
              > niko.
              Rajesh Mirchandani
              Developer Relations Engineer
              BEA Support
              

  • Retrieve data from AD from within a custom sharepoint 2010 webpart

    Hi,
    I have a requirement to retrieve user data from AD and display from within a custom built webpart.
    I am using the PrincipalContext class etc to get the info from AD, i have sucesfully done this in a console program without having to specifiy a username/password.
    In the webpart i have successfully retrieved the data by hard coding my domain username/password.
    Any ideas what i could do to get the webpart to retrieve information from AD without having to specify username/password?
    thanks cjm

    Hi C.J, 
    I wrote an example of this using credentials stored in the Secure Store in the TechNet Wiki. The article is here: http://social.technet.microsoft.com/wiki/contents/articles/20110.sharepoint-retrieving-credentials-from-the-secure-store-application-using-c.aspx
    There's an example in the above article about building a webpart that connects to AD using the credentials.
    Regards, Matthew
    MCPD | MCITP
    My Blog
    View
    Matthew Yarlett's profile
    See my webpart on the TechNet Gallery that allows administrative users to upload, crop and format user profile photos. Check it out here:
    Upload and Crop User Profile Photos

  • Changing state of application from within a custom component

    Hello, I have several custom components all of which are included in the parent application.
    When I try to change state from a custom component, I get an error  saying "undefined state: state name". How do I change the state of the  application from within a custom component ? All the states are defined in the parent application.

    @linrsvp,
    If you are using Flex3 try Application.application.currentState = "somestate";
    If you are using Flex4 try FlexGlobas.topLevelApplication.currentState = "somestate";
    Don't forget to import the corresponding namespaces for the above.
    Thanks,
    Bhasker

  • Covert the business partner cardtype from lead to customer

    hi
    i have created on BP as Lead type ,i have created one sales oppertunity for lead BP ,then when i create sales order for that BPartner he should covert automaticaly cardtype from lead to customer.  can we change the card type?,is it possible?
    regards
    anvar

    hi
          can u tell me the way how to convert that .

  • How to - Extract data from Cloud For Customer into SAP HANA system

    Hello Community,
    I have a requirement for extracting the existing data from Cloud for Customer into separate SAP HANA Box.
    Is it possible to achieve the same ? If yes, Please guide me for the same.
    Awaiting quick response.
    Regards
    Kumar

    Hi Kumar,
    In addition to what Thierry mentioned you could also use the C4C integration via standard Operational Data Provisioning (ODP) interfaces. This integration was acutally built for SAP BW and allows you to access any C4C data sources. From my perspective you can also build upon that for a native SAP HANA integration. Please also have a look at this guide: How To... load SAP Business Suite data into SAP... | SAP HANA.
    Besides that question let me also add the following: SAP Cloud for Customer already runs on SAP HANA since Nov. 2013. You may also use the powerful built-in analytics within C4C for analyzing data and any of your reporting demands. If your report should consider external data as well, you can combined the existing C4C data source with an external, so-called Cloud Data Source. More infomation is published in the C4C Analytics Guide: http://help.sap.com/saphelp_sapcloudforcustomer/en/PDF/EN-3.pdf.
    I hope this helps...
    Best regards,
    Sven

  • Got an e-mail from Apple Software Customer Seeding about testing software-is it for real?

    I recently received an email about testing pre-release software from Apple Software Customer Seeding.
    It's asking me to log in with my ID and accept a confidentiality agreement.  Is this a scam?

    Actually, I was surprised to find this email in my inbox this morning, on a US holiday, sent from the Pacific Time Zone at 7 a.m.! 
    I don't even have Lion installed, so the only reason I can think they are interested in my opinion was due to my public criticism of Lion and the cost of upgrading software (over $5000 in my case, being in the print and design industry) just to take advantage of the iOS-flavored features.
    Suspicious of its offer, I viewed the email in "Source" (yes, I still use the much-stable Office 2004 with Entourage) and was able to see "who" really sent the email (someone with ties with Apple, but based on her Facebook profile, I think she's an outsource ... Quiltmaking seems to be her thing!)....
    Then I came to the Apple Discussions and saw not one, but two discussions about this possible spam/phishing letter.  So, yes, it turns out to be real, but again, my initial thought was this was Apple's way of silencing one of their critics.
    Yes, conspiracy theories abound when the company you love and love to hate is so secretive (gosh, they can even get the SF Police to cooperate in searching someone's house!).

  • Add task to notification from within the customer enhancement

    Is there a function module that will add a task to a notification from within a customer exit?  I've tried to use a BAPI within QQMA0014 (Save Exit) , but this interferes with the processing of the notification.  The imported internal task table for the exit can be manipulated, but I am not sure how, or what, needs to be present and would prefer using a function module.
    Thanks,
    Brian Basch

    Brian,
       I would activate the change document for the custom fields which will act as a trigger for a custom event(Even better than creating a generic event based on create / change notification) that would be tied to a simple single step standard task pointing to a create Task FM. I would use the exit on SAVE to update the custom fields for the task(You will have to enhance your BAPI to update the custom fields if you don't want to use this exit).
    Regards
    Narasimhan

  • Is it free to send and receive texts from another EE customer who is abroad?

    is it free to send and receive texts from another EE customer who is abroad?

    Hi 
    Welcome to the EE Community! Provided you're texting an 07 number, it won't cost you anything extra to text someone abraod (provided that's included in your package). It will cost the person abroad to reply (but not receive texts), unless again they have some sort of add on in the country they're present in. Cheers,
    Titanium
    Was my post helpful? Please take 2 seconds to hit the 'Kudos' button below

  • If i buy an apple product from the actual customer who bought it, and i face some problem with it, but the device is still under warranty, so would there be any issue for getting the device checked?

    If i buy an apple product from the actual customer who bought it, and i face some problem with it, but the device is still under warranty, so would there be any issue for getting the device checked?

    If you make an appointment at the Genius Bar about a problem, they will check and evaluate the device, and if it warrants a replacement under warranty, they make the final determination. We are users here. This is a user to user support forum. We cannot determine what Apple will do. I can tell you what I already did, the warranty follows the device.

  • Profit centre information in F-02 (customer to customer / vendor to vendor)

    One of our user is trying to post a FI document using F-02 for transfering from customer to customer and vendor to vendor.  While doing the transaction, he is not able to give a required Profit centre in the transaction.  I checked the Field status of the reconcliation accounts used and found that Profit centre is an optional field.  How can the user assign a profit centre while doing these transactions ?

    Hi Nikitha,
    Profit Center field is not displayed in transaction screen. If you are using document splitting then profit center is derived from offsetting account and if not using then profit center is derived from F.5D execution , which ultimately derives from offsetting account.
    To give remedy to this problem, it is better that you create one clearing  G/L account. Let's take an example.
    One clearing G/L 150000 has been created. Now customer Rs 5000 (debit balance) is to be transferred from customer 1000 to customer 2000. Entry would be.
    Pkey          account            amount              profit center
    40              150000             5000                  9000
    14              1000                5000          
    Pkey          account            amount              profit center
    50              150000             5000                  8000
    04              2000                5000          
    This way profit center will remain balanced.
    Regards,
    Chintan Joshi.

Maybe you are looking for

  • JPA query by entity/object ?

    I am trying to write an abstract API which dynamically assigns any Entity Class that needs to be persisted and retrieved using the Entity Manager. Saving into the database is not a problem, I just do entityManager.save(Class) and it works for any cla

  • Ilife 11 software upgrade failing and crashing with clicking noise happens

    HELP after upgrading my 09 macbook pro to the ilife 11 software. all the others work fine, but iphoto has worked but it says before i can use it, I need to upgrade my library and about less than a 1/3 done it crashed and my mac makes a weird clicking

  • How to delete a discussion I just created?

    Oops I posted my # in my last post delete please!!!

  • How to upload Hierarchy data into BW InfoObjects

    I have gone through the XI and BI integration document provided by SAP and I found out that using that method only Master data and Text data can be uploaded into Infoobejects using Flexible upload which doesnt support Hierarchy data upload. I need to

  • My computer keeps turning grey and blue!

    my computer keeps turning blue and grey with lines it would last a few seconds and then it would come back does anyone one has this problem and what can i do to fix it i'm out of warranty ...please help