What is the reson for Fun SAP_WAPI_WORKITEMS_TO_OBJECT returns no value

Hi All
call function 'SAP_WAPI_WORKITEMS_TO_OBJECT'
    EXPORTING
      objtype                  = 'ZAR'
      objkey                   = v_objkey
      top_level_items          = c_set
      selection_status_variant = 0001
      text                     = c_set
      language                 = sy-langu
    TABLES
      worklist                 = i_worklist
      message_lines            = i_message_lines.
I am using Function SAP_WAPI_WORKITEMS_TO_OBJECT  by passing object type and object key and looking for top level items . I get values for i_worklist[] all the time but for one AR i dont see a value in i_worklist[] .
I know that Functional ppl had messed up with the workflow status in IMA2N transaction by changing the status....
I want to know what is the reason for not getting any value in i_worklist[] for some ARS and works fine for other ARS.
I can see the work id in workflow header table but i dont get workid when i use this function .
Could you all tell me whats the reason for not getting ,i appreciate all your help
Thanks

With parameter selection_status_variant = 0001, you will only get a list of active instances.
The parameter can have the following values:
0000     All Instances
0001     Active Instances (Running, Ready, Committed,...)
0002     Finished Instances (Completed, Cancelled)
0003     Active Instances (All)
Cheers,
Ramki Maley.

Similar Messages

  • Can I know what is the process for us to do Good Return from customer?

    Can I know what is the process for us to do Good Return from customer?

    hi
    this ques need to be posted in sd forum..
    to answer this u can use order type RE to create Return order and then u can do the goods receipt..
    or u can use the process mentioned in first reply.
    regards
    CMM

  • My ipod nano 6th gen fell out of my pockey and the screen cracked badly, is there any coverage for this under warranty? I just bought it a month ago. If not what are the options for getting it fixed

    My ipod nano 6th gen fell out of my pocket and the screen cracked badly, is there any coverage for this under warranty? I just bought it a month ago. If not what are the options for getting it fixed? It is pretty frustrating, it fell from about 3 feet out of my pocket and now looks like it was beaten by a hammer.

    Debbie:
    deborahfromwindsor wrote:
    he advises restarting by inserting the OSX disc and pressing down the C button to reboot from there then selecting disk utility, hard disk and repair.... Does he mean me to hold down the C key on the alpha keyboard or the ctrl key?
    Should I just ask for my money back??? If it is a simple repair do I just literally push the disc in, push the power button and hold down the C button?
    That's where I would begin, too, with
    Repair Disk
    Insert Installer disk and Restart, holding down the "C" key until grey Apple appears.
    Go to Installer menu (Panther and earlier) or Utilities menu (Tiger) and launch Disk Utility.
    Select your HDD (manufacturer ID) in the left panel.
    Select First Aid in the Main panel.
    (Check S.M.A.R.TStatus of HDD at the bottom of right panel, and report if it saysanything but Verified)
    Click Repair Disk on the bottom right.
    If DU reports disk does not need repairs quit DU and restart.
    If DU reports errors Repair again and again until DU reports disk is repaired.
    If DU reports errors it cannot repair you will need touse autility like TechTool Pro,Drive Geniusor DiskWarrior
    First we need to determine if the issue you are experiencing with the computer is software or hardware based. Once we have gotten things sorted out there should be time enough to make you decision about keeping or returning it.
    cornelius

  • What is the number for Verizon Wireless  Corporate Customer Service Complaint for CA

    My Complaint:  I have been a Verizon Wireless customer for approx 20 years.  I called customer service to seek an early upgrade for my daughter's phone. She is away in college and her phone is malfunctioning.  She is eligible for an upgrade in approx 6 weeks so I did not want to spend the money on a replacement phone when since we were planning on updating to something newer.  The customer service rep to me they could not do the early upgrade an to call back in a few weeks. After explaining this was unacceptable (I do not like the idea of a young female being out of state and away from home with no reliable means of communication), she places me on hold to later return with the only offer of  I must purchase a new device through her ( over the phone) which will be shipped to me, the phone was priced $100.00 more than the online price (they will not price match), plus i must pay $30.00 upgrade fee, $35.00 activation fee and taxes on the retail price of the phone.  I am upset and disappointed with the quality of service provided by Verizon being a 20 year customer.  If not for the seriousness and urgency of this matter, i would not have asked for an early upgrade.  It is times such as these that you get to see how much of a "valued customer" you really are.   I guess you are valued as long as you pay your bill and continually  purchase their products.  I would like to speak with someone from Verizon's corporate or customer relations department.  As of now I am really considering changing my service to a different provider.  I have multiple accounts with Verizon and i will canx each after the current contract committment expire (starting with my daughter's phone which expires in 6 weeks) In the meantime I will go purchase her a new phone with someone else and take comfort knowing she will have reliable communication.

    I started with them in 1985. It has been wonderful service but very expensive. They seem to operate on day of deposit day of withdrawal. That means that I have no benefits nothing beyond the normal customer if I don't pay my bill they shut me off. That's why I have switch to another provider and I have better service lower cost and better phones. you can't beat  other providers I mean it. Please don't expect more from verizon other than a "pay me more money and I'll do what you want" because it's all about money. Read the transcripts from current Verizon employees all over the internet. The company is going down and they're taking customers with them.
    msvat <[email protected]> wrote:
    msvat  created the discussion
    "What is the number for Verizon Wireless  Corporate Customer Service Complaint for CA"
    To view the discussion, visit: https://community.verizonwireless.com/message/1113982#1113982
    >

  • Data Associtions not enabling  while i am  trying to do data mapping with data Associtions in BPM studio what is the reson?

    Data Associtions not enabling  while i am  trying to do data mapping with data Associtions in BPM studio what is the reson?

    Shouldn't @StartDate be an input parameter to the stored procedure? @RunDate also?
    Example for sp with parameters:
    http://www.sqlusa.com/bestpractices2008/stored-procedure-parameters/
    The last error will go away upon a successful sp compile.
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Design & Programming
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • What is the APEX for?

    Hello, everyone.
    Here is a question - What is the APEX for? Can it be usable for production? For a pro?
    I create an application, but I know nothing about HTML, javascript and other site-made-stuff. But my application is working pretty well. And it scares me. Can I put it in open-WEB? How about security? Strong to hackers? Does it safe enough?
    Is anybody using APEX for a PRO? Only APEX, I mean.. Or it's only for home-fun-with-my-database?
    Thanks for answers..

    Hi there
    Short & Sweet answers
    A.What is the APEX for?
    Oracle Application Express (Oracle APEX), formerly called HTML DB, is a rapid web application development tool for the Oracle database. Using only a web browser and limited programming experience, you can develop and deploy professional applications that are both fast and secure.
    B.Can it be usable for production? For a pro?
    Yes
    C.I create an application, but I know nothing about HTML, javascript and other site-made-stuff.
    You can learn ...steep learning curve initially...
    D.Can I put it in open-WEB?
    Depends...
    How about security?
    http://download.oracle.com/docs/cd/B25329_01/doc/appdev.102/b25309/sec.htm
    Strong to hackers? Does it safe enough?
    No system is perfect !
    E.
    Is anybody using APEX for a PRO? Only APEX, I mean..
    Or it's only for home-fun-with-my-database?
    Yes
    No
    Thanks for answers..

  • For the cm with multiple bps, what are the options for workaround?

    For the cm with multiple bps, what are the options for workaround?
    customer a purchases 1000
    and returns 800 at POS
    customer b was used at SAP related to  this transaction, purchase amounting to 2000,what can we do to apply the returns of customer a to customer b of 800 return transaction at pos?customer a and customer b code pertains to just one client---but were given different codes at POS and at SAP

    Hi,
    If one customer has two codes, you can only do manual journal entry to adjust their accounts.
    Thanks,
    Gordon

  • What is the cause for the mac to become slow

    what is the cause for the mac to become slow?

    Things You Can Do To Resolve Slow Downs
    If your computer seems to be running slower here are some things you can do:
    Start with a visit to: OS X Maintenance - MacAttorney.
    Boot into Safe Mode then repair your hard drive and permissions:
    Repair the Hard Drive and Permissions Pre-Lion/Mountain Lion
    Boot from your OS X Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities menu. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
    If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
    Repair the Hard Drive - Lion/Mountain Lion
    Boot from your Lion Recovery HD. When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported, then click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the main menu. Select Restart from the Apple menu.
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Restart your computer normally and see if this has helped any. Next do some maintenance:
    Suggestions for OS X Maintenance
    For situations Disk Utility cannot handle the best third-party utility is Disk Warrior;  DW only fixes problems with the disk directory, but most disk problems are caused by directory corruption; Disk Warrior 4.x is now Intel Mac compatible.
    OS X performs certain maintenance functions that are scheduled to occur on a daily, weekly, or monthly period. The maintenance scripts run in the early AM only if the computer is turned on 24/7 (no sleep.) If this isn't the case, then an excellent solution is to download and install a shareware utility such as Macaroni, JAW PseudoAnacron, or Anacron that will automate the maintenance activity regardless of whether the computer is turned off or asleep.  Dependence upon third-party utilities to run the periodic maintenance scripts was significantly reduced since Tiger.  These utilities have limited or no functionality with Snow Leopard or Lion and should not be installed.
    OS X automatically defragments files less than 20 MBs in size, so unless you have a disk full of very large files there's little need for defragmenting the hard drive. As for virus protection there are few if any such animals affecting OS X. You can protect the computer easily using the freeware Open Source virus protection software ClamXAV. Personally I would avoid most commercial anti-virus software because of their potential for causing problems. For more about malware see Macintosh Virus Guide.
    I would also recommend downloading a utility such as TinkerTool System, OnyX 2.4.3, or Cocktail 5.1.1 that you can use for periodic maintenance such as removing old log files and archives, clearing caches, etc.
    For emergency repairs install the freeware utility Applejack.  If you cannot start up in OS X, you may be able to start in single-user mode from which you can run Applejack to do a whole set of repair and maintenance routines from the command line.  Note that AppleJack 1.5 is required for Leopard. AppleJack 1.6 is compatible with Snow Leopard. There is no confirmation that this version also works with Lion.
    When you install any new system software or updates be sure to repair the hard drive and permissions beforehand.
    Get an external Firewire drive at least equal in size to the internal hard drive and make (and maintain) a bootable clone/backup. You can make a bootable clone using the Restore option of Disk Utility. You can also make and maintain clones with good backup software. My personal recommendations are (order is not significant):
      1. Carbon Copy Cloner
      2. Data Backup
      3. Deja Vu
      4. SuperDuper!
      5. SyncTwoFolders
      6. Synk Pro
      7. Synk Standard
      8. Tri-Backup
    Visit The XLab FAQs and read the FAQs on maintenance, optimization, virus protection, and backup and restore.
    Additional suggestions will be found in Mac maintenance Quick Assist.
    Referenced software can be found at CNet Downloads or MacUpdate.
    Additional Hints
    Be sure you have an adequate amount of RAM installed for the number of applications you run concurrently. Be sure you leave a minimum of 10% of the hard drive's capacity as free space.
    Add more RAM. If your computer has less than 2 GBs of RAM and you are using OS X Leopard or later, then you can do with more RAM. Snow Leopard and Lion work much better with 4 GBs of RAM than their system minimums. The more concurrent applications you tend to use the more RAM you should have.
    Always maintain at least 15 GBs or 10% of your hard drive's capacity as free space, whichever is greater. OS X is frequently accessing your hard drive, so providing adequate free space will keep things from slowing down.
    Check for applications that may be hogging the CPU:
    Open Activity Monitor in the Utilities folder.  Select All Processes from the Processes dropdown menu.  Click twice on the CPU% column header to display in descending order.  If you find a process using a large amount of CPU time, then select the process and click on the Quit icon in the toolbar.  Click on the Force Quit button to kill the process.  See if that helps.  Be sure to note the name of the runaway process so you can track down the cause of the problem.
    Often this problem occurs because of a corrupted cache or preferences file or an attempt to write to a corrupted log file.

  • What is the field for good receipts?

    hi friends
    i got the requirement to create the goods receipts
    what is the field for good receipts
    plz tell me how to create it
    thanks in advance
    Edited by: Alvaro Tejada Galindo on Feb 25, 2008 5:33 PM

    adapt this to your own requirements.  
    Structures for BAPI
    data: gm_header type bapi2017_gm_head_01.
    data: gm_code type bapi2017_gm_code.
    data: gm_headret type bapi2017_gm_head_ret.
    data: gm_item type table of
    bapi2017_gm_item_create with header line.
    data: gm_return type bapiret2 occurs 0.
    data: gm_retmtd type bapi2017_gm_head_ret-mat_doc.
    clear: gm_return, gm_retmtd. refresh gm_return.
    Setup BAPI header data.
    gm_header-pstng_date = sy-datum.
    gm_header-doc_date = sy-datum.
    gm_code-gm_code = '01'. " MB01
    Write 551 movement to table
    clear gm_item.
    move '101' to gm_item-move_type .
    move '000000000040001234' to gm_item-material.
    move '1' to gm_item-entry_qnt.
    move 'EA' to gm_item-entry_uom.
    move '0004' to gm_item-plant.
    move '4000' to gm_item-stge_loc.
    move '201' to gm_item-move_reas.
    Determine cost center per plant
    case xresb-werks.
    when '0004'.
    move '0000041430' to gm_item-costcenter.
    when '0006'.
    move '0000041630' to gm_item-costcenter.
    when '0007'.
    move '0000041731' to gm_item-costcenter.
    when '0008'.
    move '0000041830' to gm_item-costcenter.
    endcase.
    append gm_item.
    Call goods movement BAPI
    call function 'BAPI_GOODSMVT_CREATE'
    exporting
    goodsmvt_header = gm_header
    goodsmvt_code = gm_code
    importing
    goodsmvt_headret = gm_headret
    materialdocument = gm_retmtd
    tables
    goodsmvt_item = gm_item
    return = gm_return.
    call function 'BAPI_TRANSACTION_COMMIT'
    exporting
    wait = 'X'.

  • What is the condition for using 'for all entries' and  why?

    what is the condition for using 'for all entries' and  why? can any body tell the reason for this ? its a big favour of me .
    regards,
    ravi.

    hi,
    for all entries is used to join two or more tables.
    It is same as join but performance wise for all entries is more effective.
    You can only use FOR ALL ENTRIES IN ...WHERE ...in a SELECT statement.
    SELECT ... FOR ALL ENTRIES IN itab WHERE cond returns the union of the solution sets of all SELECT
    statements that would result if you wrote a separate statement for each line of the internal table replacing the symbol
    itab-f with the corresponding value of component f in the WHERE condition.Duplicates are discarded from the result
    set. If the internal table itab does not contain any entries, the system treats the statement as though there were
    no WHERE cond condition, and selects all records (in the current client).
    for example:
    SELECT * FROM sflight INTO wa_sflight
    FOR ALL ENTRIES IN ftab
    WHERE CARRID = ftab-carrid AND
    CONNID = ftab-connid AND
    fldate = '20010228'.
    this condition, return all entries of the sflight
    hen using FOR ALL ENTRIES the number of matching records is restricted to the number of records in the internal table. If the number of records in the database tables is too large then join would cause overheads in performance. Additionally a JOIN bypasses the table buffering.
    So for all entries is used for filtering out the data from the two tables based on the entries in them.
    Advantages:
    1) For all entries avoids inner join & so the performance increases.
    2) For specified values in 1 itab, if you to fetch values from other table you can use it.
    3) Use of select stmt in loop is gets avoided, as u can use read statement on the the new itab.

  • What is the algorithm for this?

    if I have a string 000111 (or any amount of zeros and ones), what is the algorithm for me to get all possible combinations? (001011, 001101, ...)

    Odd but the following code does not yeild the results you list in your post. Maybe you have a mistake? Or am I missing something?
    class test
    public int[] getC(int[] c, int n)
              int m= c.length;
              for (int i= m; i-- > 0;)
                   if (++c[i] <= n-(m-i))
                        while (++i < m)
                             c= c[i-1]+1;
                        return c;
              return null;
         public static void main(String[] args)
              test t = new test();
              int[] input = {0,1};
              int n = 4;
              int[] res = t.getC(input, n);
              for (int i = 0; i < res.length; i++)
                   System.out.println(res[i]);

  • WHAT IS T-CODE FOR ADVANCE TAX RETURN REPORT

    hi MASTERS
    WHAT IS T-CODE FOR
    ADVANCE TAX RETURN REPORT

    Dear,
    Create one special G/L for advance payment to site engineer. For e.g. you have create special G/L T - Advance to site engineer.
    Whenever you make advance payment of Rs. 1000 to site engineer the entry will be - Use transaction F-02
    PK              Account                 Sp G/L          Amount
    29               Vendor a/c                 T                 1000
    50               Cash a/c                                       1000
    When engineer returns Rs. 200. then - Use transaction F-02
    PK              Account                 Sp G/L          Amount
    39               Vendor a/c                 T                 200
    40               Bank a/c                                       200
    It is better if you create your own document type for e.g. ZR - Return of adv payment from engineer so that this transaction will identified very easily.
    Regards,
    Chintan Joshi.

  • Very urjent (What is the procedure for adding a table documentation to IMG)

    Hi abapers,
    It was very urjent,
    What is the procedure for adding a table documentation to IMG entries. 
    (It does not have "deletion" information, but there is a section on making changes to Z tables and then updating the IMG, which presumably could be expanded for deletion of objects.)
    I having the procedure, But that is not clear.
    Can any body tell me step by step.
    With regards.

    Hi,
    Assign IMG Documentation
    Prerequisites
    You have opened the IMG structure in change mode and created an IMG activity.
    Procedure
    Choose the Document tab in the Assigned objects group box.
    If you want to create a new document for the IMG activity, enter a name for the document and choose Create.
    The name can contain alphanumeric characters and the special character "_".
    You go to the text editor. Specify a package class when you save the text. You return to the previous initial screen with Back.
    To use an existing document, choose the Assign other document pushbutton to the right of the document name. Choose an existing document and choose Copy.
    Save the changes with IMG activity  Save.
    Regards,
    Renjith Michael.

  • What is the URL for the itunes u course manager?

    what is the URL for the itunes u course manager?  the one on the Apple site returns a page not found

    https://itunesu.itunes.apple.com/coursemanager/

  • What is the alternative for pneSearchDocProfiles  in UCM 11g

    Hi
    Any idea what is the alternative for the same in 11g? If I try the same code pneSearchDocProfiles.length always returns "0". As I can see pneCheckinDocProfiles and pneSearchDocProfiles are deprecated in 11g. I know these two are deprecated in 11g and part of deprecated.js file.
    Ashok

    Found the solution and we need use the below given code to find the length of the menu. There is no actual replacement for pneSearchDocProfile and pneCheckinDocProfile we need to use YUI libraries to get access to the menus. Below is the code
    var checkinmenu= YAHOO.widget.MenuManager.getMenu("MENU_A_NEW_CHECK_IN");
         var checkinmenuitems=checkinmenu.getItems();
    navBuilder.deleteItem("MY_PERSONAL_CHECKINS_" + (checkinmenuitems.length-1));
    var checkinmenu= YAHOO.widget.MenuManager.getMenu("MENU_A_SEARCH");
         var searchmenuitems=checkinmenu.getItems();
         navBuilder.deleteItem("MY_PERSONAL_SEARCHES_" + (searchmenuitems.length-1));

Maybe you are looking for

  • Printer Sharing: Need Help!

    Hi, I use an iBook G4 connected via Airport to a Windows PC. I have a dsl connection on windows and so I surf the net with my iBook with my wireless card. I also shared my HP3420 to be able to print files with my iBook but always I recive an error me

  • MBP won't boot due to hard disk problem

    I have a late 2008 which just started to have problems booting up. The trouble started a week ago, when my MBP would shut down unexpectedly while I'm working(on battery power). When I tried to reboot from battery power it didn't work. However, it's n

  • AE Switch AND broadcasting wifi network?

    My current network is: router > homeplug... | Different part of house | ...homeplug with its own Wi-Fi network & 2 LAN ports as everything I have is Apple, and wanted to upgrade to more reliable equipment, would this work? router > homeplug... | Diff

  • Printing tools on Aix server with Forte/Oracle

    I asked for it some weeks ago, but i had not enough answers... may be you were on vacations !!! I'm looking for a good software for manage print jobs on Aix server with Oracle rdbms. Something we cant use to make reports, bills, etc.. and callable wi

  • BUG report - Inconsistent IR settings in Builder

    Apex 4.0.2 Most of the reports used in the App Builder have been converted to use Interactive reports which is great. But I find that the IR settings are not consistent across all the reports. I had reported this during the tryapexnow.com beta phase.