PO based on used on userid &status have to filter

Hi Guys,
Current logic to display u201Cheldu201D status purchase order is as follow.
Data:
Organization structure
User1---Purchasing group2
User2---Purchasing group4
User3---Purchasing group6
User4--- No purchasing group
Current Result
When the user1 login, work list displays held purchase order for Purchasing group2
When the user2 login, work list displays held purchase order for Purchasing group4
When the user3 login, work list displays held purchase order for Purchasing group6
When the user4 login, work list displays held purchase order for all (Purchasing group2, Purchasing group4 and Purchasing group6).
Change Result should be ,
When the user1 login, work list displays held purchase order for Purchasing group2
When the user2 login, work list displays held purchase order for Purchasing group4
When the user3 login, work list displays held purchase order for Purchasing group6
When the user4 login, work list displays no purchase order
Regards,
SAB

Hi Sam,
I think u can simply code it like...
suppose u have 3variables for purchase order, item no and condition type.
v_purch_order,
v_item_no,
v_condition_type
then u can write if statement and in that change the value of condition type.
if v_purch_order = '123' AND
   v_item_no = '100' AND
   v_condition_type = 'ZARO'.
v_condition_type = 'ZAOO'.
endif.
this will change ur condition type to ZAOO, if it is ZARO and based on the PO number and item..
further u can use the changed condition type in ur code.
Hope this helps u...all the best
Regards,
Radhika

Similar Messages

  • Scheduling Time Based Jobs using Web Dynpros.

    Hello Again,
    I would like to know if it is possible to perform time based jobs using Web Dynpros, I have a situation where a Web Dynpro application updates a Database and then later during the day say at around 9:00 PM, I would like the Web Dynpro application to transfer all the updated Data to another Database, I know we can run a batch job but can we run create a Web Dynpro application to programatically fire a batch job at the required time.
    I am welcome to any suggestions.
    Best Wishes,
    John.

    Hi John,
    WD is not good option for this. I would suggest you to "extract" logic to separate layer and use Timeout service (http://help.sap.com/saphelp_webas630/helpdata/en/6b/2550d23ef1994580114d6064bc44a1/frameset.htm) - call logic from service.
    Best regards, Maksim Rashchynski.

  • Problem with Acess policy based Provisioning using DBConnecor in OIM 11g R2

    Hi,
    I am doing Access policy based Provisioning using DB Connector 9.1.0.5.0 in OIM 11g r2.
    it is throwing ITResource Instance with key 0 does not exist. but there no option to select it resource in Process form via Acesspolicy.
    in Application instance form there is a form in that it-resource field is available with default value 0. i am trying to update this value it is not updating . at the time of triggering access policy i am getting following error.
    [XELLERATE.SERVER] [tid: [ACTIVE].ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: oiminternal] [ecid: 0000JdMSEGQApIGqywYfMG1GU6ud000002,0] [APP: oim#11.1.2.0.0] Class/Method: APIUtils/createApplicationInstance encounter some problems: ITResource Instance with key 0 does not exist.[[
    oracle.iam.provisioning.exception.ITResourceNotFoundException: ITResource Instance with key 0 does not exist.
         at oracle.iam.provisioning.util.ApplicationInstanceUtil.validateITResource(ApplicationInstanceUtil.java:119)
         at oracle.iam.provisioning.impl.ApplicationInstanceServiceImpl.addApplicationInstance(ApplicationInstanceServiceImpl.java:70)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at oracle.iam.platform.utils.DMSMethodInterceptor.invoke(DMSMethodInterceptor.java:25)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy455.addApplicationInstance(Unknown Source)
         at oracle.iam.provisioning.api.ApplicationInstanceServiceEJB.addApplicationInstancex(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.oracle.pitchfork.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:34)
         at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
         at com.oracle.pitchfork.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:42)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    its urgent requirement.
    Thanks,
    Edited by: 853559 on Oct 12, 2012 2:25 PM

    You can re-visit access policy It will have the Process form where you can provide the access policy and save it. Access policy is already created so you can modify access policy and open the process form select IT Resource and save it.
    Another way to write pre-pop adapter for populating IT Resource on the process form. But I am sure you can provide it resource via access policy.
    ---nayan

  • FTP process flow not using registered userid

    Hi,
    I posted the following last week, to the back of a thread that Igor was answering to, but haven't seen any replies yet. Can some body answer the question regarding the userid used on the target location when an FTP process flow is ran please?
    Thanks again.
    ==================
    Igor,
    I followed the examples given in this thread, and checked the case study in the PDF, but am still not able to 'get' a file using FTP to the desired location.
    I have an FTP work flow configured with the Path Settings pointing to: REMOTE LOCATION is a w2k server, WORKING LOCATION is on Unix. These locations are registered in the Deployment Mgr properly.
    I am able to PUT a file to win2k from Unix, but not GET.
    This is caused by the fact that, during FTP WF execution, it is ran as Unix user 'oracle', whom do not have write access to the Root Path registered for the WORKING LOCATION. (I can do a get to /tmp).
    Also, I am getting these messages in the execution log, even if the FTP was successful:
    WARNING: Log file truncated - see RAB for further information.
    ftp: ioctl I_PUSH ttcompat: No such device or address
    ftp: ioctl(TIOCGETP): No such device or address
    All of these problems indicate that the run time Unix user, 'oracle', doesn't have sufficient rights to various directories. Is it possible to force OWB use the userid that was registered for the WORKING LOCATION?
    Thanks.

    Hi,
    Please follow the below steps.
    1. Kill the OWF process using the Oracle Workflow Monitor.
    - On the OWF Monitor home page, use "Find Process" to find the process
    - In the "Process List" page, click on the Process Name
    - Click on the "View Diagram" button
    - Click on the "Abort Process" button
    In the process list, the process should have a white-black flag.
    2. Connect as the Workflow schema owner and execute the following commands in order to purge the item type.
    - WF_PURGE.TOTAL package : deletes obsolete runtime data which includes: Items, Item activity statuses, Notifications, Expired activity versions.
    SQL> execute wf_purge.total
    - WFRMITT.sql script : deletes all definitions for an Item.
    SQL> @< database_oracle_home> wf\admin\sql\WFRMITT.sql
    3. Deploy the Workflow Process again from the OWB Deployment Manager.
    Thanks,
    Leo.

  • Run Extended Analtytics / Create Star Schema based on Process Management Level Status

    Dear HFM Gurus,
    I have come across a requirement where I would need to automate extended analytics extraction based on Review Level / Approve Status of Entities. Once the Process Management Status changed to Approve status from Review Level 3 or they are in Review Level 3, corresponding 3-4 extracts will run for various levels of data (can be base level, parent level, adjustments etc. for various Scenarios). Also another requirement is that whatever process is built, it should run every hour to check the Process Management Status and extract accordingly, it should not extract if already extracted in the last run (that is if the extraction was already run in the last hour for RL3, and the Entity is still in RL3 in the next hour, it should not run the extract, if the RL3 is changed to Approved state, then the extract should be run. I know this is a lot of ask, request your guidance as to how to proceed with the same. Any help would be highly appreciated.
    Warm Regards,
    Sidd.

    Hi Thanos,
    I was able to accomplish this using excel and HFM API's. What I did was to dynamically create a process management grid in excel, dynamically refresh the data, check this data against the previous review level status which gets dynamically copied from the old refresh, generate the list of entities which are in RL3 / Approved (changed Status) and then based on that generate the extracts using HFM API's. I was able to generate this in both 11.1.2.3 and 11.1.2.1 using the corresponding API libraries which the version supports.
    Thanks and Regards,
    Sidd.

  • I need your help with a decision to use iPhoto.  I have been a PC user since the mid 1980's and more recently have used ACDSee to manage my photo images and Photoshop to edit them.  I have used ProShow Gold to create slideshows.  I am comfortable with my

    I need your help with a decision to use iPhoto.  I have been a PC user since the mid 1980’s and more recently have used ACDSee to manage my photo images and Photoshop to edit them.  I have used ProShow Gold to create slideshows.  I am comfortable with my own folder and file naming conventions. I currently have over 23,000 images of which around 60% are scans going back 75 years.  Since I keep a copy of the originals, the storage requirements for over 46,000 images is huge.  180GB plus.
    I now have a Macbook Pro and will add an iMac when the new models arrive.  For my photos, I want to stay with Photoshop which also gives me the Bridge.  The only obvious reason to use iPhoto is to take advantage of Faces and the link to iMovie to make slideshows.  What am I missing and is using iPhoto worth the effort?
    If I choose to use iPhoto, I am not certain whether I need to load the originals and the edited versions. I suspect that just the latter is sufficient.  If I set PhotoShop as my external editor, I presume that iPhoto will keep track of all changes moving forward.  However, over 23,000 images in iPhoto makes me twitchy and they are appear hidden within iPhoto.  In the past, I have experienced syncing problems with, and database errors in, large databases.  If I break up the images into a number of projects, I loose the value of Faces reaching back over time.
    Some guidance and insight would be appreciated.  I have a number of Faces questions which I will save for later. 

    Bridge and Photoshop is a common file-based management system. (Not sure why you'd have used ACDSEE as well as Bridge.) In any event, it's on the way out. You won't be using it in 5 years time.
    Up to this the lack of processing power on your computer left no choice but to organise this way. But file based organisation is as sensible as organising a Shoe Warehouse based on the colour of the boxes. It's also ultimately data-destructive.
    Modern systems are Database driven. Files are managed, Images imported, virtual versions, lossless processing and unlimited editing are the way forward.
    For a Photographer Photoshop is overkill. It's an enormously powerful app, a staple of the Graphic Designers' trade. A Photographer uses maybe 15% to 20% of its capability.
    Apps like iPhoto, Lightroom, Aperture are the way forward - for photographers. There's the 20% of Photoshop that shooters actually use, coupled with management and lossless processing. Pop over to the Aperture or Lightroom forums (on the Adobe site) and one comment shows up over and over again... "Since I started using Aperture/ Lightroom I hardly ever use Photoshop any more..." and if there is a job that these apps can do, then the (much) cheaper Elements will do it.
    The change is not easy though, especially if you have a long-standing and well thought out filing system of your own. The first thing I would strongly advise is that you experiment before making any decisions. So I would create a Library, import 300 or 400 shots and play. You might as well do this in iPhoto to begin with - though if you’re a serious hobbyist or a Pro then you'll find yourself looking further afield pretty soon. iPhoto is good for the family snapper, taking shots at birthdays and sharing them with friends and family.
    Next: If you're going to successfully use these apps you need to make a leap: Your files are not your Photos.
    The illustration I use is as follows: In my iTunes Library I have a file called 'Let_it_Be_The_Beatles.mp3'. So what is that, exactly? It's not the song. The Beatles never wrote an mp3. They wrote a tune and lyrics. They recorded it and a copy of that recording is stored in the mp3 file. So the file is just a container for the recording. That container is designed in a specific way attuned to the characteristics and requirements of the data. Hence, mp3.
    Similarly, that Jpeg is not your photo, it's a container designed to hold that kind of data. iPhoto is all about the data and not about the container. So, regardless of where you choose to store the file, iPhoto will manage the photo, edit the photo, add metadata to the Photo but never touch the file. If you choose to export - unless you specifically choose to export the original - iPhoto will export the Photo into a new container - a new file containing the photo.
    When you process an image in iPhoto the file is never touched, instead your decisions are recorded in the database. When you view the image then the Master is presented with these decisions applied to it. That's why it's lossless. You can also have multiple versions and waste no disk space because they are all just listings in the database.
    These apps replace the Finder (File Browser) for managing your Photos. They become the Go-To app for anything to do with your photos. They replace Bridge too as they become a front-end for Photoshop.
    So, want to use a photo for something - Export it. Choose the format, size and quality you want and there it is. If you're emailing, uploading to websites then these apps have a "good enough for most things" version called the Preview - this will be missing some metadata.
    So it's a big change from a file-based to Photo-based management, from editing files to processing Photos and it's worth thinking it through before you decide.

  • What is the use of GUI status in Dialog programming

    what is the use of GUI status in Dialog programming,, how can it be used there,, as screen are alredy defined..

    Hi,
    The use of GUI Status is that when we have to change some thing in Menu Bar, Toolbar and Function Keys. Say For Example we have to create any Custom Button in the application toolbar etc.
    It can be used in Dialog Programming via defining the Status in the PBO module of the screen.
    eq. created a screen 9000
              on clicking it->
                                   PROCESS BEFORE OUTPUT.
                                             MODULE status_9000.
    On double clicking on this "Module status_9000" - you can write "SET PF-STATUS 'STATUS_9000'".
    Now u can create GUI staus with name "'STATUS_9000'".
    Let me know in case you have any further doubts.
    Thanks

  • AT LINE-SELECTION won't be triggered when I use SET PF-STATUS?

    Dear All,
    I have a simple program that shows a list. My program has AT LINE-SELECTION event. I also use a GUI status for my list.
    When I ran my program and double clicked a line, the AT LINE-SELECTION event was never triggered. Later, I deleted the line that registers the GUI status (SET PF-STATUS.... ). When I ran it again and double clicked a line, the AT LINE-SELECTION was triggered.
    Therefore, I conclude that AT LINE-SELECTION won't be triggered when I use SET PF-STATUS. Is it true?
    If so, is there any way to make my list responds to double click event when I also use GUI status?
    Thanks in advance,
    Haris

    Hi Harris,
    Check this link. I think it will answer your question.
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/dba34635c111d1829f0000e829fbfe/content.htm
    Regards,
    Madhu.

  • I am a teacher who would like to use my Ipad2 in the classroom -but out school only has projector that has VGA inputs. And just to complicate thing I was to use it wirelessly (I have an Itv also). Can I get true mirrioring?

    I am a teacher who would like to use my Ipad2 in the classroom -but out school only has projector that has VGA inputs. And just to complicate thing I was to use it wirelessly (I have an Itv also). Can I get true mirrioring?

    The one you are looking at I believe is an older model and does not have very good reviews for working with an AppleTV2 / iPad 2 setup.
    Here is the one that has worked for our district:
    http://www.amazon.com/ViewHD-Component-Converter-Support-Surround/dp/B004F9XVBC/ ref=pd_cp_e_2
    I can't say if the one you are referring two works or not, however I can say that based on the reviews, it looks like you may run into problems with the $45 version.

  • Can I reset a non numbered user status based on a numbered user status?

    Can I reset a non numbered user status based on a numbered user status?

    Yes. Numbered status are mutually exclusive ie. succeding status resets previously set status.
    My requirement is like this: I have 3 numbered status and 2 non numbered status. Lets say, the first numbered status & two numbered status are set at the begining. Now when I click the second numbered status, both the numbered status and two non numbered status should be automatically reset. Only numbered status is getting reset and not the other two.
    Thanks
    Edited by: Smartsoft General User on Jul 22, 2009 4:36 PM

  • HT204387 Does a classic bluetooth (v2.1) based accessory using Serial Port Profile (SPP) require MFi chip to communicate with iPhone or iPad ?

    Dear All
      Can classic bluetooth (v2.1) based accessory using Serial Port Profile (SPP)  communicate with all iPhones or iPads ?
      Is MFi chip required by a classic bluetooth(v2.1) accessory to communiate with iPhone or iPad  over Serial Port Profile  ?
    Thanks
    Manju

    Due to a copy/paste glitch, some necessary spaces have inadvertently been removed.  If I could fix this, I would.

  • Problem to print pdf-based forms using Epson printer

    Hello,
    I need print pdf-based forms using an EPSON FX 2190 printer.
    In The sap note 685571 I read that can print PDF-based forms on all printers installed in the SAP system as long as the relevant XDC file exists.
    I do not found XDC file to EPSON device type, a Epson fx 2190 do not support postscript.
    Can I use this printer to pdf-based forms?
    I need that spool request (pdf) have a output immediately on EPSON printer.
    thanks in advanced for your cooperation to solve it.
    Osmany

    I don't think Epson has developed an XDC for ESC/P language. That would be very difficult/long to develop an XDC from scratch. Best solution is to install a new printer. Otherwise you may either use a Printer Description Language converter (PS to ESC/P, or other ones), it probably exists, or call acrord32 in print mode on a Windows frontend or server.

  • Problem to print pdf-based forms using matricial Epson printer

    I need print pdf-based forms using an EPSON FX 2190 printer. 
    In The sap note 685571 I read that can print PDF-based forms on all printers installed in the SAP system as long as the relevant XDC file exists.
    I do not found XDC file to EPSON device type, a Epson fx 2190 do not support postscript.
    Can I use this printer to pdf-based forms?
    I need that spool request (pdf) have a output immediately on EPSON printer.
    thanks in advanced for your cooperation to solve it.
    Osmany

    I am afraid you cannot make your scenario work if there is no XDC provided. Maybe you can create one, but I don´t know how difficult that can be or how to do that. Maybe you can get more help under ABAP > Form printing where there are guys experienced with this printing details. Regards, Otto

  • Whenever i try and open a social network app it comes up with an error message sayinng "Connect to itunes to use Push Notifications" I have successfully conntected to itunes via phone and computer however this message is still appearing and will not go?

    Whenever i try and open a social network app it comes up with an error message sayinng "Connect to itunes to use Push Notifications" I have successfully conntected to itunes via phone and computer however this message is still appearing and will not go, therefore i cannot use the apps?HELP PLEASE

    http://support.apple.com/kb/TS3281

  • I have just requested my ipod nano 1st generation to be replaced using the scheme, i have entered the wrong postcode on the shipping of the replacement box, will it still come to my address? or how can i change it?

    I have just requested my ipod nano 1st generation to be replaced using the scheme, i have entered the wrong postcode on the shipping of the replacement box, will it still come to my address? or how can i change it?

    Call up apple care,  (08000480408 if you are in the UK) and ask them to change the postcode and request another replacement packet

Maybe you are looking for