How to deal with Job Work Scenario in SAP B1

Dear All ,
After purchasing material from one vendor the same has to sent for job work ( fabrication) , when the material complete from job work the cost of those material is increase . Please guide me for how to capture those additional cost in inventory.
Overall please brief me how to handle job work process in SAP B1.
waiting for positive response to resolve my query...
Thanks in Advance
Regards,
Harshad

hI HARSHAD
While u do the purchasing of material please make a udf to denote that the item purchased are for job work u may prepare a  udf or not depending upon ur system
then once the item is purchased make a warehouse in ur system and name it as job work and then do inventory transfer and once the job work is done again do inventory transfer with increased price that would include ur job work price
its worthwhile to chekc that in ur test database first and see if it fulfills ur concern or not
Regards,
Manish

Similar Messages

  • How to deal with changing in Make-to-order style sales order?

    Hi, SAP experts,
    our situation and requirement:
    my client use make-to-order style to create sales order, normally one item in sales order.
    And this item stand for a dummy material, which include several components.
    Limited with material purchase delivery schedule, sales orders need to be made as planned sales
    orders to drive MRP to run out material requirement in ahead. Therefore, planned sales orders will
    often changed as final assigned customer request.
    1. Could be a possible to define components level to release sales order?
    2. If components in sales orders is replaced or added, even whole sales order released, production order initialized, how to deal with it?
    Scenario one: components in sales order added, modified in sales order, which will automatically create another production order for replacement action? if not, how to do?
    Scenario two: components in sales order replaced, how this sales order requirement transfer to production order?
    3. what about costing calculate for this changing?
    Thanks for your kindly help in advanced,
    Zhou Zhen

    Don't forget, this include both concrete inner classes as well as any anonymous inner classes you create, like
    myButton.addActionListener(new ActionListener()
      // Yada Yada Yada

  • How to deal with query that works like dir or ls

    I just can't figure it out how to deal with query that works like dir (Win32) or ls(unix) with special character like '*' and '?' , ex. c:\> dir j*.t?t
    Could somebody please tell me?

    Here's some code for using a FileFilter for the listFiles() method of the File class:
    import java.io.*;
        FileFilter myFileFilter = new MyFileFilter("*.t?t");
        File[] files = File.listFiles(myFileFilter);
      class MyFileFilter implements FileFilter {
            private String pattern;
            public MyFileFilter(String pattern) {
                this.pattern = pattern;
            public boolean accept(File file) {
                if (file.isDirectory()) {
                    return false;
                if (file.getName() ??matches?? pattern) {
                    // you'll have to put the pattern match code here!!
                    return true;
                return false;
      }maybe someone else can help with the pattern matching!

  • My iphone 5 open-close key does not work,how to deal with?, my iphone 5 open-close key does not work,how to deal with?, my iphone 5 open-close key does not work,how to deal with?

    I bought the iphone5 on your online store on Nov24. 2013, Last year, I came back China. more ten days before, my iphone 5 's open-close-key did not work. I contact Apple's China, but they told me that they could not help me repair the problem, how to deal with ?

    What is the "open-close" key?  Do you mean the power button or the home button?
    FYI, these are user to user support forums, you are not addressing Apple here.
    Warranty and support are ONLY valid in the country of origin.

  • How to deal with 0...n or 1...n mappings?

    Hi all,
    I'm relatively new to BPM. I've already made several processes that are working fine. However, I'm now stuck because, for the life of me, I'm not able to understand how to deal with data mappings of nodes of a cardinality greater than 1...1.
    I'm used to dealing with 0...n inputs of Web Services in Webdynpro Java and CAF Application services, using java code... but I just don't get how to deal with these in a BPM data mapping scenario.
    Let's say you have a Web Service whose input is a node called "Employee", where you can add n Employee objects, like this:
       Employee (0...n)
          FirstName: String
          LastName: String
    How do you:
    1- map a 0...n context node from a Web Dynpro or Web Service output, already containing several employees, into this Employee 0...n WS input node?
    2- map a 0...n context node from a Web Dynpro or Web Service output, containing NO employees, into this Employee 0...n WS input node, without getting an error and the BPM crashing because it says the employee element is not found?
    Hopefully someone can help me with this, because I'm about to go the way of calling the web service n times, one employee at a time, instead of one time with a Employee object with n registries in it.
    Thanks!

    Hi Abhijeet,
    i think i should have mentioned this earlier. My Employee node is inside another node.  So, the actual input structure of the WS is this:
    InputValues (1...1)
       Employees (0..n)
          FirstName: String
          LastName: String
    This scenario works OK in BPM when mapping a 0..n node using deep copy as Jocelyn explained, but I still doesn't work if I want to pass an empty (not null) Employees array.
    If I go to the WS Navigator and run this WS with the following parameters, it runs ok (I get an output message saying no employee was selected, which is how it should work):
    InputValues -  "Is null" checkbox not activated.
       Employees - "Skip" checkbox not activated
          FirstName - "Skip" checkbox activated
          LastName - "Skip" checkbox activated
    However, if instead of activating the checkbox of, say, "FirstName", I enter a "" value, I get an error from the WS saying that's not a vaild first name, which is also how it should work.
    In java code, I would just pass an empty InputValues object to the WS, but I'm not sure how to do this in a BPM without it being considered null, and without having to set on of its String-child values to "".
    Do you know how to achieve this?

  • How to deal with generated programs in eCATT SAPGUI recording?

    Hi experts and professionals,
    I am trying to automate testing of our solutions by eCATTs and so far i have not been able to find solution for following problem.
    Whole test scenario is very simple:
    Check InfoProvider data (query, lookup, listcube,...)
    Create DAP on InfoProvider
    Archive InfoProvider
    Check InfoProvider data (query, lookup, listcube,...)  again
    Compare results from step 1. and 4. (must match)
    Reload archived data
    Check InfoProvider data (query, lookup, listcube,...)  again
    Compare results from step 1. and 7. (must match)
    As you can see, one of the required test steps is to check InfoProvider's data in transaction LISTCUBE.
    But transaction LISTCUBE generates its program "name" every time it is executed and
    I am struggling to find a way how to deal with these generated programs in eCATT SAPGUI recording.
    Key is that solution must be generic and work for all SAP BW releases from 7.0 upwards
    (having in mind that LISTCUBE can read NLS data from SAP BW 7.3 release).
    Error description from eCATT log:
    Screen Check Error: Expected Transaction: LISTCUBE, Actual Transaction: LISTCUBE.
    Expected Program: GP0KOZE7EFIUBN10MZUFWX90W80, Actual Program: GPBP24INA6VV77SL0XKU5NA642O.
    Expected Screen Number: 1000, Actual Screen Number: 1000.
    There Is Probably an Error in SAPGUI recording.
    ExceptionClass:CX_ECATT_APL_CAPTURE  ExceptionId:SCREEN_CHECK_ERROR
    RaisingClass:CL_APL_ECATT_LINE_INTERPRETER  Include:CL_APL_ECATT_LINE_INTERPRETER=CM00J  Line:443
    Is there any way how to avoid program check in eCATT script?
    Anything that would help me to find solution will be greatly appreciated.
    Best Regards,
    Igor

    Dear Igor,
    Your issue is caused by the "screen check" which eCATT processes here.
    In General this screen check is a very usefull activity, since is ensures that only those screens are processed by automation, which initially where recorded. This should ensure as much as possible to invoke only intended activities.
    Remember, that the driver of the screen flow is still the automated transaction program ( but not the test tool). So application logic decides which screen is send next.
    Using screen check the test tool tries to ensure that menu items and buttons and other activities are only automated when the tool "believes" to work on the intended screen.
    For generic test scripts and often in context of generated programs the screen check might hurt a bit.
    To overcome this, one might try to make the check dynamic (as Sheetal suggests correctly).
    If here the name of program cannot be determined for any reason, one can use another method and do following:
    - Change the value of ProcessedScreen-Active to 'R'
    This will disable/skip the screen-check for this ProcessedScreen.
    Sure the solution includes a certain risk, since not checking the correct screen to appear might lead to automation of actions with not desired impact.
    Maybe this can improve your solution.
    Kind Regards
    Jens

  • How to deal with files ?!!!!

    hiii, guys i dont believe that a huge program like flash with
    all these abilities doesnt deal easily with files !!! I just want
    to do simple reading and writing to text files. Something veryyyyyy
    simple like writing a name and reading it again later
    !!!!!!!!!!!!!!!!!! i know how to load them by using loadVariable()
    ,,, but how can i write to the file ?!! it's really annoying if i
    have to use asp scripting or xml or ... to do such easy job !!! i'm
    facing difficulties because i know ActionScript and VB and C++
    only,,, I dont know how to deal with asp and xml !!! @_@
    But, if this is the only way to do this, plz tell me in steps
    how to write a name and read it again in flash, THANX

    If you are sticking to those three languages and you have
    Flash CS3, you may want to consider publishing to an AIR
    application. Adobe's done a lot of work to keep the security tight
    on Flash Player which is one (if not the only... not sure) reason
    that you cannot do this with Flash alone. You would have to use a
    server-side script to accomplish what you want with Flash Player.
    Here is a tutorial on an AIR app that writes to txt files:
    http://www.adobe.com/devnet/air/flash/quickstart/building_text_editor.html

  • Move of mailbox with over 30K of folders fails, how to deal with this.

    Hello all,
    I'm in the process of moving all Exchange 2010 mailboxes to newly created databases located on new storage.
    Every mailbox except one moved successfully, the "problem" mailbox keeps failing and I need some advise on how to deal with this.
    The mailbox that keeps failing is only 4 GB but has over 30K of folders that the users created manually over the years.
    They are unable to easelly delete folders as they have created many sub folders within the folders.
    I posted a part of the failed move request log below.
    Can anyone advise on how to solve this?
    Thanks in advance.
    21-2-2015 18:15:13 [EXHUB1] Fatal error MapiExceptionMaxSubmissionExceeded has occurred.
    Error details: MapiExceptionMaxSubmissionExceeded: Unable to save changes. (hr=0x80004005, ec=1242)
    Diagnostic context:
        Lid: 55847   EMSMDBPOOL.EcPoolSessionDoRpc called [length=7574]
        Lid: 43559   EMSMDBPOOL.EcPoolSessionDoRpc returned [ec=0x0][length=360][latency=0]
        Lid: 23226   --- ROP Parse Start ---
        Lid: 27962   ROP: ropWriteStream [45]
        Lid: 27962   ROP: ropSetProps [10]
        Lid: 27962   ROP: ropSaveChangesMessage [12]
        Lid: 17082   ROP Error: 0x4DA     
        Lid: 18273  
        Lid: 21921   StoreEc: 0x4DA     
        Lid: 27962   ROP: ropExtendedError [250]
        Lid: 1494    ---- Remote Context Beg ----
        Lid: 26426   ROP: ropSaveChangesMessage [12]
        Lid: 27420   dwParam: 0xE1F000B
        Lid: 36537   dwParam: 0xE1F000B
        Lid: 5587    StoreEc: 0x8004010F PropTag: 0xE1F000B 
        Lid: 33375   StoreEc: 0x8004010F
        Lid: 27420   dwParam: 0x806684B0
        Lid: 36537   dwParam: 0x806684B0
        Lid: 5587    StoreEc: 0x8004010F PropTag: 0x806684B0
        Lid: 64931   StoreEc: 0x8004010F
        Lid: 46509  
        Lid: 40193   StoreEc: 0x8004010F
        Lid: 5587    StoreEc: 0x8004010F PropTag: 0x30130102
        Lid: 21970   StoreEc: 0x8004010F PropTag: 0x668F0040
        Lid: 64319   dwParam: 0x5000
        Lid: 39743   dwParam: 0x6730
        Lid: 45016   StoreEc: 0x4DA     
        Lid: 57304  
        Lid: 5041    StoreEc: 0x4DA     
        Lid: 4465    StoreEc: 0x4DA     
        Lid: 6926    StoreEc: 0x4DA     
        Lid: 1750    ---- Remote Context End ----
        Lid: 31418   --- ROP Parse Done ---
        Lid: 21457  
        Lid: 19665   StoreEc: 0x4DA     
       at Microsoft.Mapi.MapiExceptionHelper.ThrowIfError(String message, Int32 hresult, SafeExInterfaceHandle iUnknown, Exception innerException)
       at Microsoft.Mapi.MapiProp.SaveChanges(SaveChangesFlags flags)
       at Microsoft.Exchange.MailboxReplicationService.MoveObjectInfo`1.CreateMessage(T obj, GetAdditionalProperties getAdditionalPropertiesCallback)
       at Microsoft.Exchange.MailboxReplicationService.MoveObjectInfo`1.CreateMessage(T obj)
       at Microsoft.Exchange.MailboxReplicationService.LocalMailbox.Microsoft.Exchange.MailboxReplicationService.IMailbox.SaveSyncState(Byte[] key, String syncStateStr)
       at Microsoft.Exchange.MailboxReplicationService.MailboxWrapper.<>c__DisplayClass57.<Microsoft.Exchange.MailboxReplicationService.IMailbox.SaveSyncState>b__56()
       at Microsoft.Exchange.MailboxReplicationService.ExecutionContext.Execute(GenericCallDelegate operation)
       at Microsoft.Exchange.MailboxReplicationService.MailboxWrapper.Microsoft.Exchange.MailboxReplicationService.IMailbox.SaveSyncState(Byte[] key, String syncState)
       at Microsoft.Exchange.MailboxReplicationService.MailboxCopierBase.SaveSyncState(SaveStateFlags flags)
       at Microsoft.Exchange.MailboxReplicationService.BaseJob.SaveSyncState(SaveStateFlags flags)
       at Microsoft.Exchange.MailboxReplicationService.BaseJob.SaveState(SaveStateFlags flags, UpdateRequestDelegate updateRequestDel)
       at Microsoft.Exchange.MailboxReplicationService.MoveBaseJob.SortMessages(Object[] wiParams)
       at Microsoft.Exchange.MailboxReplicationService.CommonUtils.CatchKnownExceptions(GenericCallDelegate del, FailureDelegate failureDelegate)
    Error context: --------
    Operation: IMailbox.SaveSyncState
    OperationSide: Target
    Primary (a4966c13-778a-4d70-9087-f077e2523f66)
    Key: FEF1D04E070AB74A99B809B7797674AE000000000000000000000000000000009B5540B45B37774CAB84806C1964B598
    SyncStateLength: 27050362
    21-2-2015 18:15:13 [EXHUB1] Relinquishing job.

    Hi,
    Based on the description, please run the following commands to check if there are any message limit size. Try to increase the limit size then move this mailbox.
    Get-mailbox –identity “user name” | fl MaxSendSize,MaxReceiveSize
    Get-transportconfig | fl MaxSendSize,MaxReceiveSize
    Get-transportrule | fl MessageSizeOver
    Get-sendconnector | fl MaxMessageSize
    Get-receiveconnector | fl MaxMessageSize
    Note: Once we increased the value we need to wait for the AD replication and cache to be cleared and then test the move mailbox.
    If this doesn’t work, please try to move mailbox with the skip corrupted items. This will skip the corrupted items and move only the good items to the target mailbox.
    Similar thread:
    https://social.technet.microsoft.com/Forums/en-US/5383a826-4383-4b26-a503-2c3bb635f9d2/mailbox-move-to-exchange-2010-fails-for-mailboxes-over-23-gb?forum=exchangesvrdeploylegacy
    Best Regards.

  • Customer Standard & returns Process for Job work Scenario issue

    Hi,
    According to My Job Work Scenarios
    Customer will give the Raw material like Grey (Non Valuated material )
    Normal Process :
    Once we created a sales order for 100 meters , at the time of production completion the finished stock will be increased or decreased like 110 meters or 90 meters
    1. At the time Delivery how system will accept over delivery and under delivery . i have seen the 2 fields in customer master  where we will we maintain the Percentages how system will determined
    2. Billing will be done by based on delivery qty and after that i have to raise the Excise invoice based on billing level
    my doubt is how can we know or Track  this sale order we delivered qty less or over ? is there any report available in standard SAP ? how to close the sales orders ? is there any mass close of sales orders ?
    3. At the time of Excise invoice they want to enter the Assessable manually how to do in SAP ?
    Return Process:
    1.  we will raise the Return Order based on document type RE , but in my case client will take the Return Goods and he will give the price of raw material like Grey how i am going to handle this situation ?
    2.How to process the excise related activities what the settings i have to do and what are the t-codes ( I think we can use J1IH ) i have to use
    3. What the documents will be generated
    Please guide me because i searched in Forum i couldn't able to find out
    is there any solution ?
    Regards,
    Prasanna
    Edited by: prasanna_sap on Jul 12, 2011 12:55 PM

    My answers are in BOLD. I have done some tests and my advise is based on the tests.
    First of all Thanks for Reply Mr.Typewriter,
    According to My Job Work Scenarios
    Customer will give the Raw material like Grey (Non Valuated material )
    Normal Process :
    Once we created a sales order for 100 meters , at the time of production completion the finished stock will be increased or decreased like 110 meters or 90 meters
    1. At the time Delivery how system will accept over delivery and under delivery . i have seen the 2 fields in customer master where we will we maintain the Percentages how system will determined
    Yes you can have limits to over and underdelivery in XD01 or VD51, depending upon either you want to give limits for a customer or for a cust-mat combination
    Can you please explain because my doubt is if i entered manually system will accept i want to restrict the end-user like for example he can enter over delivery 10 % and under delivery 5 % where i have to fix those percentage because if i am not fix End-User can enter sometimes over delivery 11 % and under delivery 10 % system will accept i want to restrict that
    3 steps -
    1. in VD51 create cus-mat info record, go inside the record by double clicking - give Underdelivery % & Overdelivery %, Save.
    2. in 0VLP, for your delivery item category, in field "Check Overdelivery" = B (Situation rejected with error)
    3. in OVM1, for message VL 064 change to E (error), this is for Underdelivery
    Now if sales order is created for 100EA. Underdelivery and Overdelivery = 10%
    Then user can NOT create delivery e.g. for 80EA or for 150EA.
    I have tested this.
    2. Billing will be done by based on delivery qty and after that i have to raise the Excise invoice based on billing level
    my doubt is how can we know or Track this sale order we delivered qty less or over ? is there any report available in standard SAP ? how to close the sales orders ? is there any mass close of sales orders ?
    In sales order in VA03, item level, Tab Schedule line - there you can see clearly Ordered Quantity and Delivered Quantity
    Even if it is Over or under delivery also
    Yes, see point 1
    The status of the order you can set/configure, if in XD02, in Tab Shipping, field = Partial delivery / item
    status can also be configured in VD52, field = Partial delivery / item
    This way you do not have to manually close the sales order, even if you have underdelivered. Select the option (A, B,...) which fits your business requirement best.
    3. At the time of Excise invoice they want to enter the Assessable manually how to do in SAP ?
    what about the solution for this point
    I don't know this point's answer
    Return Process:
    1. we will raise the Return Order based on document type RE , but in my case client will take the Return Goods and he will give the price of raw material like Grey how i am going to handle this situation ?
    Explain this more. (what are material you have sent to customer & what material he is wanting to pay for; are they different MMRs?)
    Two ways -
    One have different cond records with different MMR and prices (if Finished mat = M1, and raw material = M2); in MM01, Tab Sales org 1, you can have Sales Unit changes set.
    Second have a different pricing procedure for RE and another for OR.
    Customer will give the Grey Material ( Non - Valuated ), we send the finished Material to customer correct , Due to some reason customer return the Finished Goods that time Client will pay the Grey material value
    1 Questions -
    e.g. Grey mat = M2
    Finished goods = M1
    Q1. RE order shall have different material #s from sales orders, because RE shall have grey mat. & OR shall have Finished mat. Is that correct?
    Then - cond records in VK11 for different materials, for con type PR00 for M1 and M2; this is possible.
    2.How to process the excise related activities at the time of returns what the settings i have to do and what are the t-codes ( I think we can use J1IH if yes guide me based on that )
    What is the solution for this point
    I do not know this answer
    3. What the documents will be generated
    Are you asking documents to be generated for RE process? Delivery note has to be printed for the warehouse to do GR
    I mean at the time returns is there any excise related documents will be updated if yes tell me what are the documents ?
    I do not know this answer
    Regards,
    Prasanna
    Edited by: Typewriter on Jul 13, 2011 1:43 AM

  • How to deal with sales in Re_FX

    Hi  Experts
    we have Sales of Villa, apartments and commercel space, how to deal with there scenarios as there is no sales concept in RE-FX. and any how to intigarate with PS for monitaring construction etc.
    any developements if you experts would have done or any suggestions.
    thanks in andance.
    Warm Regards
    Ryan

    Hi Ryan,
    We can;t use RE-FX for sales scenarios, only workaround's are there.
    Create one contract-type for sales and add condition type in conditions as per the payment plan agreed with the customer. It will work for only pre-defined payment plan.
    If you want PS integration with milestone billing, it is not possible through RE-FX. You can use SD module for sales process.
    One of my previous implementations, we have achieved this through development between SAP SD & RE-FX. It is huge development and continuous monitoring is necessary.
    The development is similar to IS-RE (component of ECO), create sales order for sales units. Instead of sales units, we made the development sell rental units through development whenever we created sales order for a rental object, just go to RE object and change the vacancy.
    But this is not advisable to create integration with SD & RE-FX.
    rgds,
    Srini

  • HOW TO DEAL WITH ADDRESS_INTO_PRINTFORM

    Scenario:
    Call FM ADDRESS_INTO_PRINTFORM with the Address Type = 1, ADDRESS_NUMBER = ADRNR, SENDER_COUNTRY = LAND1 and NUMBER_OF_LINES = 6. Read the exporting parameter ADDRESS_PRINTFORM and populate the fields Ship-To Name with LINE0 and Ship-To Address Line 1, 2, 3, 4 and 5 with LINE 1, 2, 3,4,5 respectively.
    can anyone suggest me how to deal with it..point will be rewarded for an attempt.Thankyou

    Thank all of you so much to respond my questions. I think I have solved the problem. Since the key point was that Oracle 10g OEM console could not work with the frequent changes of IP address made by my ISP. I just bought a 54G wireless router. Then connecting router to cable modem. The cable modem still gets the dynamic IP from ISP, but the router automatically assigned a static IP address to my Linux system with the range from 192.168.0.0 - 192.168.255.255. This IP was control by my router. It is nothing to do with ISP. So I re-created Oracle database with this new static IP. Then OEM console and listener can startup and connect to database without problem. I do think other guru's methods also will work. I just have no time to try them one by one. Thanks again. Your inputs make me learn many things.

  • How to deal with OpenCL grey out issue.

    First off, I'm not native english speaker.
    I have Nvidia GeForce 550 Ti video card, and its support OpenCL v1.1.
    I'm also face a "random" OpenCL grey out issue like other people here, but I found the "issue" and how to deal with.
    open a command windows (using WinKey + R, and type cmd <enter>)
    type "cd C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)" <enter>
    type "sniffer_gpu" <enter>  -->> to check your GPU has OpenCL in Photoshop?
    When GPU is in power-saving mode (core running in 51Mhz, using MSI Afterburner monitor), I running sniffer_gpu, got this report
    C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)>sniffer_gpu
    Device: 0000000000328D68 has video RAM(MB): 1023
    Vendor string:    NVIDIA Corporation
    Renderer string:  GeForce GTX 550 Ti/PCIe/SSE2
    Version string:   3.0.0
    OpenGL version as determined by Extensionator...
    OpenGL Version 3.0
    Has NPOT support: TRUE
    Has Framebuffer Object Extension support: TRUE
    OpenGL ok
    Return code: 1
    C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)>
    No OpenCL support
    Then, I switch GPU back to normal status (core running at 900Mhz)
    C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)>sniffer_gpu
    Device: 00000000001F8D68 has video RAM(MB): 1023
    Vendor string:    NVIDIA Corporation
    Renderer string:  GeForce GTX 550 Ti/PCIe/SSE2
    Version string:   3.0.0
    OpenGL version as determined by Extensionator...
    OpenGL Version 3.0
    Has NPOT support: TRUE
    Has Framebuffer Object Extension support: TRUE
    OpenGL ok
    OpenCL ok, version=1.1 CUDA 4.2.1
    Return code: 3
    C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)>
    OpenCL support !!
    Nowadays, most of new GPUs were support power-saving, but when sniffer_gpu running at GPU power-saving state, the OpenCL computing report maybe "time-out", cause the detector "guess" the GPU does not support OpenCL. This is why many people says "OpenCL" sometimes work, sometimes grey-out.
    I hope this bug can be fixed, or at least people can understand how to "enable OpenCL everytime when you launch photoshop".
    Bye.

    Do check the following link
    http://blogs.oracle.com/soabpm/2010/01/soa_suite_11g_weblogictransact.html

  • How to deal with "Error 1001. The specified service already exists" when install a service using installer package?

    Hi everybody,
    I wrote a "Class Library" project which is a service using Visual Stodio 2008 recently, then tried to use a Visual Studio 2008
    Setup Project to install it.
    Here is what I did for the "Class Library":
    1. Finish the program.cs, Service.cs
    2. Add Installer
    3. Change the serviceInstaller so that "StartType" to be Aotumatic
    4. Change the ServiceProcessInstaller2 so that "Account" to be LocalSystem
    5.
    6. Click in F5 (Start Debugging)
    Here is what I did for the Setup Project:
    1. Add the exe file built from the "Class Library" project to the Application Folder
    2. On the Custom Action Editor, add the exe file from 1 to Install and Commit
    3. Change the property of the project so that "RemovePreviousVersion" to be true
    4. Click on F6(Build Solution)
    Then I tried to run the msi file from the built of the Setup Project. Because I modified the two projects serveral times, I uninstalled the Class Library using "Control Panel->Add or Remove Programs" before I reinstall. Two things I notived:
    1. After unstall, the registry was not cleaned up about the installed program
    2. After several rounds install/uninstall, I got "Error 1001. The specified service already exists"
    My questions are:
    1. How to cleanup the registry when uninstall a program?
    2. How to deal with the "Error 1001. The specified service already exists"?
    3. Did I do anytbing wrong with the "Class Library" or the "Setup Project"?
    Thanks a lot!
    Helen

    Hi Simon, not a problem!
    I spent some more time on this and here are few more notes:
    it is called Major Upgrade, when you are installing new version of the product upon a previous one and
    MSI supports 2 strategies:
    Strategy 1. Install a new version and uninstall previous one. (Install a new version right upon previously installed version (file merging is performed based on dll version number) and the delete previously
    installed files)
    Strategy 2. Uninstall previous version and install a new one (Delete all previous files and install from scratch new files.)
    From the first look it seems that 1st strategy is weird and buggy. But, remember, MSI is great because it's transactional!!! That means that if once some of the phases (Installation, Uninstallation, Rollback, Comit) fails, your machine
    will be reverted to the previous state and it'll be still functional. 
    Let's consider both strategies:
    Consider you have installed product_v1.msi and you want to install product_v2.msi.
    Strategy 1
    1. MSI engine copies files from Product_v1 directory to TEMP directory
    2. MSI engine merges files based on the assembly version (between v1 and v2)
    3. Once merging is completed successfully it removes files in TEMP (RemoveExistingProducts  action triggers it) and you got product_v2 installed, otherwise if it fails MSI engine revert machine to V1 and copies previous files from TEMP.
    Strategy 2
    1. MSI engine tottaly removes all files from v1.
    2. MSI engine installs v2 files and if something goes wrong you cannot revert back, because RemoveExistingProducts  allready worked out and MSI doesn't have files to revert machine back
    I recommend to everybody to use Strategy 1 and leverage MSI transaction functionality. And you can set this strategies by defining sequence of RemoveExistingProducts action. See more info
    here.  So, I think it's not even a bug in VS as I said in the upper post it is default recommened behaviour.
    AND, you got "Error 1001. The specified service already exists"
    because if we follow Strategy 1 MSI engine tries to install Windows Service on top of the existing service and OF COURSE it fails MSI engine (StopServices, DeleteServices actions are executed before actual
    installation and  they look at ServiceControl table). In order to stop service first and delete them you have to fill ServiceContol table of the MSI (and then StopServices, DeleteServices actions will recognize what to they have to stop
    and delete), like this:
    *clip*clip*clip*
    ' see http://msdn.microsoft.com/en-us/library/windows/desktop/aa371634(v=vs.85).aspx for more info
    ' Update the Service Entry to stop and delete service while uninstalling
    query = "INSERT INTO ServiceControl (ServiceControl, Name, Event, Arguments, Wait, Component_) VALUES ('MAD_Service', 'Service name', '160', '', '1', '"
    + componentName + "')"
    Set view = database.OpenView(query)
    : CheckError
    view.Execute : CheckError
    ' Update the Service Entry to stop and delete service while installing
    query = "INSERT INTO ServiceControl (ServiceControl, Name, Event, Arguments, Wait, Component_) VALUES ('MAD2_Service', 'Service name', '10', '', '1', '"
    + componentName + "')"
    Set view = database.OpenView(query)
    : CheckError
    view.Execute : CheckError
    *clip*clip*clip*
    We can uninstall service first by following Strategy 2, but then we lose transactional support.
    So, Simon did I encourage you to change your code a bit?:)
    And, btw, if you don't want to change the strategy, please don't rely on SequenceID in MSI table, it can be change, you have to get the at the runtime.
    Hope it will help to everybody!
    See also more advanced explanation of how MSI works
    here.
    Truly yours, Marat

  • How to deal with Segregation of duties?

    Dear Gurus,
    I'm looking for a of basic procedure to analyze Segregation of Duties (SoD)
    The following image is a simple and basic initial flow I made:
    [Initial Flow|http://img535.imageshack.us/img535/4843/sodysis.jpg]
    What do u think about?
    please, be free to comment, correct and improve. This is the idea of the post.
    Regards,
    Diego.

    Thanks Diego!  Great information...I have a related issue that I was wondering if you could share your experience with:
    We've taken on the painstaking task of re-engineering many of our SAP ECC Security roles. Our goal was to be SOD violations free at the Role level, and then put the ownership on the Business to decide what violations at the User level were warranted (requiring mitigation), or else a change would have to occur on the Business Process (BP) side.
    We are struggling with the assignment of certain Basis categorized transactions such as SM36, SM37, SE16. The majority of our BPs are very batch processing oriented, which require our users to have batch processing authorization. However, if we included SM37, for example, into any role RAR comes back with a HIGH risk message
    Did you have to deal with a similar scenario; and if so, how?
    Thanks
    Jose Garcia

  • How to deal with credentials for external applications using a Java Client/

    Hi Guys,
    This is the case. I am integrating an external application with an ADF Application. I have implemented some programmatic ViewObjects that are being filled up by a REST Java Client Wrapper. Everything is working fine but the issue is that the credentials the wrapper is using are hard coded inside the java class. I am thinking to ask for the credentials at the beginning of my taskflow and then store them somewhere and use them then to create my client wrapper (passing them in the constructor).
    However, I don't know if my approach is good and I would like you to share your experiences or how to deal with this.
    Regards

    You can use Credential Store Framework to store the credentials securely in the weblogic server instead of hardcoding in the java class.
    The Credential Store Framework:
    - enables you to manage credentials securely
    - provides an API for storage, retrieval, and maintenance of credentials in different back-end repositories
    Check the documentation on CSF API -
    http://docs.oracle.com/cd/E29505_01/core.1111/e10043/devcsf.htm
    Major Steps -
    1. Create a credential map and key in em console to store the password (http://docs.oracle.com/cd/E25054_01/core.1111/e10043/csfadmin.htm)
    2. Use CSF API to retrieve the stored password
    3. In jazn-data.xml give permissions to access CSF key and map

Maybe you are looking for

  • Display Month and 12 previous Months

    I am trying to create a report (CRXI) which will display month data for the current month and the 12 previous months.   I am going to use subreports (similar to a calendar report) but am having trouble displaying the 12 previous month, year  headers.

  • Does any one know what is wrong with my iphone 4 camera not working?

    when I use my Iphone and want to take a picture I cant because often times my camera on the back doent work and when it does I cant get the selfie camera to work at all. I like using my camera on my phone I am an avid camera user because I am a part

  • My 4month old Macbook pro wont turn on unless plugged in, but remains on after unplugged.

    I got a brand new macbook pro 4months old.  What happens is it does not turn un unless it is plugged in when I unplug it though it is fine and will run till it dies, BUT if I were to close it and put it to sleep it will not turn back on. I would have

  • STO PO line item to be deleted

    Hi All, Customer has created a STO purchase order with reference to sale order as AAC. He didn't make any GR. When he try to delete the PO line item, system is not allowing to delete. error V1 348: No update of sales order from Purchse order. Please

  • Photoshop CS5 .jpg images open up in Preview

    I am using Photoshop CS5 and OS 10.6.5. No matter how I save a .jpg, if I double click on the file name (not open it up form within PSD) it opens up in preview. I have gone under Preferences and set the File handling every which way, but it still ope