Error in the backgrond step for custom leave workflow

Hi,
I have copied the standard workflow for leave module(12300111) and added a method to get the mail id , but when i executed it is giving the error with  msg 'Dereferencing of the null reference'.
what do i have to do to avoid the prob
Thanks,
Krish.

Hi Viji,
Yeah u r right, status is not passing because i have change the class name in the binding and put my copied class name, so it is not compatable with the standard class since i have added one custom class to it. so i have chaged the class names in all steps and replaced the standard class name.
Now i am facing the same old problem, workflow is started but showing errors in my custom added step, since it is having my custom class mentioned in the binding and it is not instatiating.
Please tell me how to instatiate the class and get the values from the methods in workflow.
Thanks,
Krish.
Edited by: kishore_krish on Oct 6, 2010 11:15 AM

Similar Messages

  • Error in the ABAP Code for Customer Exit Variable

    Could you please update me what is the wrong with the below ABAP Code developed for Customer Exit Variable in BW
    i created a Variable (ZVWKNO) of Customer Exit,Single Value ,Mandatory and Variable is ready for input
    In CMOD i had written the below Code:
    When 'ZVWKNO'.
    DATA: WEEK(2) TYPE N,
    WEEKNO(2) TYPE N.
    IF i_step = 1.
    l_st_date = SY-DATUM.
    CALL FUNCTION 'DATE_GET_WEEK'
    EXPORTING
    DATE = l_st_date
    IMPORTING
    WEEK = l_fn_week.
    CHECK sy-subrc = 0.
    WEEK = l_fn_week+4(2).
    If WEEK 0.
    WEEKNO = WEEK - 1.
    l_s_range-low = WEEKNO.
    l_s_range-sign = k_sign_inclusive.
    l_s_range-opt = k_option_equals.
    APPEND l_s_range to e_t_range.
    ENDIF.
    ENDIF.
    But when i execute the query the default value is not populated with Week-1 No in the variable screen
    Please update me what went wrong
    Thanks

    Case ZVWKNO.                "write this with out comments
    When '1'.              "write the value that needs to equal with value in varaible ZVWKNO after when in sungle quotes
    DATA: WEEK(2) TYPE N,
    WEEKNO(2) TYPE N.
    IF i_step = 1.
    l_st_date = SY-DATUM.
    CALL FUNCTION 'DATE_GET_WEEK'
    EXPORTING
    DATE = l_st_date
    IMPORTING
    WEEK = l_fn_week.
    CHECK sy-subrc = 0.
    WEEK = l_fn_week+4(2).
    If WEEK 0.                                    "check this Week Minimum is '01' and Maximum '52'
    WEEKNO = WEEK - 1.
    l_s_range-low = WEEKNO.
    l_s_range-sign = k_sign_inclusive.
    l_s_range-opt = k_option_equals.
    APPEND l_s_range to e_t_range.
    ENDIF.
    ENDIF.
    Prabhudas

  • Process steps for customer incoming payment w.r.to Billing.

    Hi all,
    Can some body help me in by providing the process steps for customer incoming payment w.r.to Billing.i want to know the process from open items to cleared item , if possible pl give table names also and thier data flow using tables.
    thanks

    Dear Sai,
    Use the transaction code F-28.Give the document date, Bank account, amount received, Value date, and the customer code. In case you know which are the document numbers against which you have received the payment, select the "Document numbers" in the "Additional selection" tab and then click on "Process open items".
    Fill the document numbers in the next field, press enter and then click on "Process open items". Select the open items, simulate and then save.
    In case you do not have the document numbers, then directly click "Process open items", select the line items and click "Document > Simulate" and then save.
    Assign points if useful.
    Regards
    Venkatesh

  • What are the config steps for contract mass change and quota arrangement?

    Hi friends
    what are the config steps for contract mass change and quota arrangement?
    Regards
    Raj Kumar

    Process Flow
    The mass change process consists of four steps. You navigate between these steps by choosing the Next and Back buttons located at the bottom right-hand corner of the screens.
           1.      Search for contracts
    You search for and select the contracts or the contract hierarchy that you want to change.
    Contracts that have the status Closed cannot be changed.
           2.      Define mass changes
    You specify the changes you want to make.
    You make changes at header data level and at item data level by choosing the relevant change methods. A green tick appears next to each change parameter so that you can see where changes are already active.
    Once you enter this step, the documents you have selected to be changed are locked so that other users cannot make changes to them until you are finished with this process.
           3.      Simulate mass changes
    Here you can perform a trial run of your mass changes. This simulation step is optional.
    We recommend that you perform this step so that you can check how the change methods you have chosen will be processed by the system.
    You receive status messages about the change methods for each contract and can quickly see whether any errors arise in connection with the proposed changes at this stage. From this step, it is easier for you to go back and correct the error than after applying the changes.
    Background processing
    The system processes the changes in the background.
    If there are a large number of contracts to be processed, this step could take some time to complete. In this case, you can leave the transaction so that you can, for example, carry out other tasks in the meantime.
    The system sends you an e-mail once the simulation step is complete. The e-mail contains a link to the relevant screen in the application so that you can return to it when it is convenient for you to do so. If you have left the SRM application, you can only return via this link.
    Here you can see the status of the changes and, if necessary, you can correct any errors by going back to the Define mass changes step.
    The messages that you receive in the simulation step are not confirmation that a change has been performed. They simulate the messages you get after you apply the changes. You must complete the final step of the mass change process and apply the changes before they take effect.
           4.      Carry out mass changes
    Here you apply the changes to the contracts.
    You cannot reverse this step, which is why we advise you to perform the simulation step beforehand.

  • Releasing transport request has an error during the 'export' step.

    Hello Everyone,
    My environment is ERP 6.0 EHP6, AIX 6.3, Oracle 11g.
    We have a transport request that was created in our development system by deleting some obsolete roles. When we try to release the transport request to our q/a system it terminates with errors in the export step.
    The errors are.
       End of export R3TRTABUUSR10
       no E071K or E071K_STR entries found for R3TRTABUUSR11
       Start export R3TRTABUUSR12 ...
       no E071K or E071K_STR entries found for R3TRTABUUSR13
    Of course we cannot create a new transport request because the roles were deleted.
    Can someone please explain to me what could have cause this type of error and possibly how to resolve it?
    Regards,
    Ron

    Hi Ron,
    As per your log, no E071K or E071K_STR entries found forR3TRTABUUSR11
    no E071K or E071K_STR entries found for R3TRTABUUSR1
    Looks like there is no entry found for E071K or E071K_STR in table USR11 and USR13.
    Please check those table and make sure the above entries are there, if not that could be the issues.
    Also, please check if these tables (USR10, USR11, USR12 USR13)  are active in SE14.
    Thanks
    Adil

  • I just found an error in the file name for my Camera Raw Cache file.  How do I correct it?

    I just found an error in the file name for my camera raw cache file.  The error is in my username.  I don't know how to correct the error or if I should just leave it.  I'm not sure where my cache file is stored on my computer.  Any help would be appreciated.
    Thank you

    Since you are on a Mac if when you first set up your account you left out the i in Wilson nothing you do will change that. The REAL account name will always be alicewlson. Once an account is created you can't actually change the name of it. You can change the name that is displayed but not the REAL account name.
    Simplest thing to do is stop worrying about it. Everything is as it should be, that is except Wilson being spelled without the i.
    Lilac50 wrote:
    When I searched finder for "alicewlson" I found a long list of files like this:
    2014-07-22 12.50/File005.nef[15:16:35.212] (debug) src/ImageLoader.cpp:363: File: /Users/alicewlson/Recovered/2014-07-22 12.50/File002.nef[15:18:02.173] (debug) src/StoreXMLFile.cpp:21: /Users/alicewlson//.rpro/rpro.cfg
    I believe I made the error in my user name when I first got my computer a year ago. I then corrected it under my user name but not in my Lightroom files. I also looked for files with a .lrdata extension and didn't find any.

  • Give me the Configuration steps  for intercompany billing and third party s

    Hi Gurus,
    Give me  the Configuration steps  for intercompany billing and third party sales and give me a brief description with examples.
    Regards,
    YSR

    Dear YSR
    Check the links
    [Cross Company Configuration|http://help.sap.com/bp_bblibrary/500/Documentation/J62_BB_ConfigGuide_EN_DE.doc]
    [Third Party Without Shipping Notification|http://help.sap.com/bestpractices/BBLibrary/html/J55_ThirdPartyWOSN_EN_US.htm]
    Third party order processing is as follows:
    Assume three companies X, Y and Z
    X - The company,
    y - The customer
    Z - Vendor
    When ever X gets a PO from Y to supply some goods, X has an option of either manufacturing those goods or procuring those goods.
    If he is procuring the goods, there are two methods that are generally followed:
    Method 1)
    After receiving the PO from Y, X creates a sales order against Y.
    Now at the same time he also creates a PO to a vendor Z to produce the goods
    Z produces the goods and supplies to X
    X receives the goods from Z
    Then X delivers the same goods to Y.
    After that X invoices Y and Z invoices X.
    Note : Here there is no direct/ Indirect relation between Z and Y.
    This process is known as Trading Process. and the Material here is created  with Material type HAWA.
    The other method is a Third party order processing method:
    Here the glaring difference is that instead of Z supplying the material to X and X in turn supplying the same material to Y.
    X authorizes Z to supply the material to Y on his behalf and notify him once the delivery is complete.
    Now Z supplies the material to Y and acknowledges the same to X.
    Z  will send a copy of delivery acknowledgement and invoice to X.
    After receiving the delivery confirmation and invoice from Z, X has to verify the invoice and this process is known as invoice verification and is done in SAP through Tcode MIRO.
    The next step for X  is to create an invoice and submit to Y
    Only after the invoice verification document is posted  then only X can create an invoice for Y.
    This is the business flow that is followed for third party order configuration.
    There are few steps that have to be configured to enable the system to function as mentioned above.
    Step1)
    If you are always followwing a third party process for a material then you have to create the material using item category group BANS.
    The procument type should be marked as External procurement (F) in MRP 2 view of the material master record.
    if you are not always allowing third party order processing then u can create a material master record with item category group as NORM and the procurement type should be marked as ( X) meaning both types of procurment ( in house manufacturing and external procurement).
    Step 2)
    the item category in the order should be manually changed as TAS.
    For that you need to confugure the item category determination
    ord type + item cat grp + usge + Hiv level = Item cat + Manual item cat
    OR + NORM +      +       = TAN . + TAS
    OR + BANS +       +       = TAS
    Step 3)
    make sure that during the item category configuration for TAS  you need to mark relevnat for billing indicator as F
    Step 4)
    The schedule line cateogry for this type should be CS.
    make sure that you mark  subsequent type as NB - purchase requisition  in this schedule line category as this will trigger the purchase requision order immediately after the creation of the sales order and the PO to vendor is created against this purchase requiesion.
    thanks
    G. Lakshmipathi

  • How to use the Validate step for Approve step

    Hi Experts,
       I have modeled a workflow with the steps start,process, validate, approve, process and stop.
    Process is set to owner and approve is set to some other user user1.
       My requirement is as follows :
    1) Approve the records by approver and then it should send it to the next step for further processing
    1.1)  if the approver did not approve the record it should send a error message until the record is approved. So it should not send it to the next step when record is not approved
    I am using a field called item status for approving and disapproving the records. My validation is based on this field only... Validation working fine when i tested it manually.
    But my issue is when am using this validate step in workflow design validation is getting triggered for all the users.as per my requirement only approver should get the error message.But in my scenario owner is getting the error message and approver is not getting any message.
    How can i use the validate step only for particular step say approve in workflow.
    Can anyone please help me out how should use validate step only for approve step...
    Thanks & Regards
    Sireesha.
    Edited by: sireesha esukapalli on Jun 17, 2008 2:48 PM

    Hi ,
      I have set the validation property to "None".
      My design is as follows :
    start->process->validate->approve->stop.
      Owner is assigned to process step and approver is assigned to approve step.
    Now my problem is owner is also getting this error message along with the approver. AS per the design both process, approve users are getting the error message.
    As per my requirement only approver should get this prompt but not the owner.
    How can i restrict only for specifc user to get this message.
    Can anybody please advice how can restrict the owner to not get this error message...
    Thanks & Regards
    Sireesha.
    Edited by: sireesha esukapalli on Jun 24, 2008 2:18 PM

  • Can't open aperture 3,  warning box comes up," warning there was an error opening the data base for the library /pictures/aperture library .aplibrary  Whats up?

    I have had Aperture 3 loaded on my computer for a while now. Never had any problems till tonight. Restarted my computer and went to open Aperture and a "warning" box poped up, There was an error opening the data base for the library /picture/aperture library ap library.   Then a "quit" button.
    What is going on and how can I open my aperture. I have pictures that need worked for clients.  Help!

    Have you run through the steps in Aperture 3: Troubleshooting Basics. If not that's always a good place to start.
    If that doesn;t resolve the problem when you post back describe your hardware and software setup.
    good luck

  • What is the phone number for customer service ... I want to pay my bill

    what is the phone number for customer service ... I want to pay my bill

    Hello Roofking,
    I'm sorry for your troubles. I have provided the steps to using the automated system below. This feature is free of charge.
    Call 1-800-COMCAST (1-800-266-2278) or 1-800-XFINITY (1-800-934-6489)
    Select preferred language (the system will default to English).
    Enter the phone number.
    Select option 2 for Payment.
    Select option to make a one-time payment.
     

  • What are the basic steps for creating a content repository?

    I am trying to create a document store on a file system (fsdb) that will hold files that are ftp's to that location. Is this possible using KM? If so, what are the basic steps for creating a file system repository and using it through KM? I have found stuff on help.sap.com but that only tells you what each component does not what actual steps need to be taken to setup KM, such as user rights , creating an entry point, so that all of KM is not visible, etc...
    If anyone knows of any guides that show a step by step process that would be great too.
    Thanks
    Paul

    Hi Paul
    First of all you need to create a new repository
    Suppose you want to add all the documents under folder Paul under C: Drive
    (Even you can put whole documents of C: drive into Paul)
    Navigate to System Admin -> System Configuration -> Knowledge management -> Content Management -> Repository Manager -> File System Repository
    There you can create a new directory by clicking on button New
    Give the parameters as follows :-
    Name               :           Anything you like
    Description       :           Anything you want
    Prefix (must start with /)  :  Probably same as your repository name like \Paul
    Lookup mode : caseless
    Root Directory   :  C:\Paul
    NOTE:  This is the trick. You need to give the proper path means folder path which you want use as repository)
    Repository Services  :  Any services you want
    Property Search : Managercom.sapportals.wcm.repository.manager.generic.search.SimplePropertySearchManager
    Security Manager         :           AclSecurityManager
    ACL Manager Cache   :           ca_cm_rep_acl
    The save it
    Now see whether the same repository is coming under KM Content or not, if not may be after restart it will come.
    I think the above information will help you. If still you have problem, please feel free to contect me.
    Regards,
    Chamkaur

  • What are the different steps for  costing related to repetitive manufacturi

    Hi PP guys
    can any one explain the different steps for costing in repetitive scenario as compared to discrete scenario what is the major difference
    thanks
    shaik

    Dear Michel,
    !.In REM scenario Product cost collector is required for all the products for which production booking is
    to be done.
    2.For each production version created a product cost collector will be created in KKF6N.
    3.Without a product cost collector production confirmation can not be done in MFBF.
    4.Product cost collector is the cost object in REM scenario.
    5.Once after creating material master,BOM,work center,rate routing,aproduction version the next steps
    is creating product cost collector.
    6.While creating the PCC,the system creates a preliminary cost estimate nothing bu the sum up of the
    BOM and dare routing cost.
    7.Either a prelimnary cost or a standard cost estimate can be used for doing the production
    confirmation in MFBF as per the REM profile assigned.
    8.Standard cost estimate can be done in CK40N and this costs gets updated in the material master.
    9.For every production confirmation made in MFBF the costs gets accumulated in the respective PCC.
    10.the variances can be settled periodically as per the business requirement.
    Regards
    Mangalraj.S

  • I tunes 11 will not let me sync my I pod nano... keep getting error meessage:  the software required for this I pod was not installed correctly... I have tried to reinstall 6 times Dumped everything i tunes related no luck help!

    I recently updated to Itunes 11 and now no sync... get error message: The software required for this I pod was not installed correctly. Please reinstall Itunes to install the required software.  I backed up all music and deleted all related itunes items and still get this error after 6 attempts to reload itunes... i give up please help

    I recently updated to Itunes 11 and now no sync... get error message: The software required for this I pod was not installed correctly. Please reinstall Itunes to install the required software.  I backed up all music and deleted all related itunes items and still get this error after 6 attempts to reload itunes... i give up please help

  • Unexpected error compiling the runtime metadata for Split-Join.

    Hi Everyone,
    We are getting below error while restarting the managed servers on Weblogic. We are having 6 managed servers in our cluster. In one of the application in OSB10.3, we are using SplitJoin to call third party webservices. The application is getting deployed properly, and sometimes on one of the managed nodes, we are seeing below error during startup. The servers are coming into Running mode as per the console, but in logs we are seeing the error. No services are accessible on that particular managed node. We have to restart the server and by luck, it will come up properly. This is inconsistent behaviour from the managed servers. Below is the stack trace from stdout files. Any help would be greatly appreciated...
    <Jan 24, 2012 5:49:34 PM CST> <Error> <OSB FLOW Kernel> <BEA-2031003> <Split-Join deployment error during load notification: Unexpected error compiling the runtime metadata for Split-Join: "FISRecXferInqServiceV2_0/SplitJoin/RecXferInqSJ".
    com.bea.bpel.compiler.CompilerException: Unexpected error compiling the runtime metadata for Split-Join: "FISRecXferInqServiceV2_0/SplitJoin/RecXferInqSJ".
    com.bea.bpel.compiler.CompilerException: Unexpected error compiling the runtime metadata for Split-Join: "FISRecXferInqServiceV2_0/SplitJoin/RecXferInqSJ".
         at com.bea.alsb.flow.compiler.ProcessMetaDataFactory.create(ProcessMetaDataFactory.java:99)
         at com.bea.alsb.flow.resources.ResourceDeployer.deploy(ResourceDeployer.java:104)
         at com.bea.alsb.flow.resources.ResourceDeployer.access$100(ResourceDeployer.java:64)
         at com.bea.alsb.flow.resources.ResourceDeployer$LoadListener.onLoad(ResourceDeployer.java:545)
         at com.bea.wli.config.impl.ResourceListenerNotifier.sendLoadNotificationsInContext(ResourceListenerNotifier.java:239)
         Truncated. see log file for complete stacktrace
    >
    <Jan 24, 2012 5:49:34 PM CST> <Error> <ConfigFwk> <BEA-000000> <Failed in onLoad. Will not deliver the remainder of onLoad notifications to this listener.
    java.lang.RuntimeException: Unexpected error compiling the runtime metadata for Split-Join: "FISRecXferInqServiceV2_0/SplitJoin/RecXferInqSJ".
         at com.bea.alsb.flow.resources.ResourceDeployer$LoadListener.onLoad(ResourceDeployer.java:551)
         at com.bea.wli.config.impl.ResourceListenerNotifier.sendLoadNotificationsInContext(ResourceListenerNotifier.java:239)
         at com.bea.wli.config.impl.ResourceListenerNotifier.access$400(ResourceListenerNotifier.java:41)
         at com.bea.wli.config.impl.ResourceListenerNotifier$1.execute(ResourceListenerNotifier.java:152)
         at com.bea.wli.config.transaction.TransactionalTask._doExecute(TransactionalTask.java:217)
         Truncated. see log file for complete stacktrace
    com.bea.bpel.compiler.CompilerException: Unexpected error compiling the runtime metadata for Split-Join: "FISRecXferInqServiceV2_0/SplitJoin/RecXferInqSJ".
         at com.bea.alsb.flow.compiler.ProcessMetaDataFactory.create(ProcessMetaDataFactory.java:99)
         at com.bea.alsb.flow.resources.ResourceDeployer.deploy(ResourceDeployer.java:104)
         at com.bea.alsb.flow.resources.ResourceDeployer.access$100(ResourceDeployer.java:64)
         at com.bea.alsb.flow.resources.ResourceDeployer$LoadListener.onLoad(ResourceDeployer.java:545)
         at com.bea.wli.config.impl.ResourceListenerNotifier.sendLoadNotificationsInContext(ResourceListenerNotifier.java:239)
         Truncated. see log file for complete stacktrace

    Most 8.1 development was done with Workshop (the version before Eclipse integration). It is not set up to do Workshop Framework builds with Eclipse OOTB.
    If you are going to use Eclipse, then I would guess that your builds would be best done using Ant or similar. Check out the wls web service samples that install with the product and see if you can use any of those as a basis for using ANT in Eclipse.
    This is only theory, as I have not worked extensively with 8.1.

  • What is the standard API for Customer Contact creation in R12

    Hi All,
    What is the standard API for Customer Contact creation in R12. my requirement is I need to create contact against Customer(Person/Organization).
    I need to develop pl/sql package for create Contact using the following fields
    First name , Last name , Email, Phone no, Ph ext,Mobile no,Contact no,Job title, Job title code,Country,Address1,Address2,Address3,Address4,
    City,State,Postalcode.
    Please help me.
    Thanks,
    K.Murugesan

    Hi All,
    Please update if you have any solution.
    Thanks
    Maanasa

Maybe you are looking for

  • Infosource -adding new objects

    I enhanced the datasource 2lis_02_itm with some objects using abap code. I created the objects in BW and replicated the datasource. I added those objects to the info source. Now , I am not able to assign these objects in the info source, I do not see

  • Using JNI in Oracle Reports

    Hi. I have some difficulties understanding the Oracle Reports mechanism of JNI. The problem I have is the report job is crashed when I use the imported java class. I am using Oracle Reports 11.1.2.1 on Oracle Linux The scenario of generating report i

  • InDesign CS5.5 Out of memory error on a i7 2.8ghz imac with 12GB RAM

    http://forums.adobe.com/message/4605576#4605576 this is the post that has much of the same issue but my difference is that i am on Indesign 5.5. To shed some more insight, I am trying to make a press quality PDF direct from Indesign. I have 2 pages i

  • Set audio input level manually on t5i

    First post here. I've just started workig with my new t5i, which I'm using to work on my ongoing video tutorial series. In the manual I see how it is possible to set the audio input level maually for an external mic but I can't figure out how to navi

  • Iphoto can't connect to mobileme server

    Dear Friends, I have three mac computers all with iphoto 09. My Power mac and Mac mini in my home sync the photos on mobileme very well but my Mac Pro don't sync and give error that can't connect to server and a empty thumbnails show with 0 KB size!!