Created PO, Delivery and GI all in one.

Hi
We need to have a process where we create Purchase Order followed by Delivery followed by the Goods Issue all in the background.
(We want to have an IDOC created based on all three of these documents u2013 and if only 1 or 2 are created the and the other fails, the IDOC is hanging and a manual intervention is needed. We want to have everything completely automated)
The thing is that we need to create them  in a way that if one of them fail  - non gets created. In other words u2013 if a PO and a Delivery were successful but the GI failed everything should roll back and no PO or Delivery created.
Now if you create a PO and do not commit it u2013 when you try to create a delivery in the regular way it fails because it cannot find any of the data it needs in the database.
If you do commit it u2013 you have a PO that you donu2019t want to exist if the delivery fail.
So I needed a way to make the delivery BAPI and the GI FM looked at the data in temporary tables before a commit is done.
To do this tried to use BAPIu2019s  BAPI_PO_CREATE1, for the PO, BAPI_DELIVERYPROCESSING_EXEC for the Delivery, and FM SD_DELIVERY_UPDATE_PICKING for the GI.
I have put them all in a Function Module that I call in Update Task (To create the temporary tables to work from).
The problem I run into is that SD_DELIVERY_UPDATE_PICKING is using FM MB_CREATE_GOODS_MOVEMENT and that FM runs a series of checks in the end and is calling a program with a SUBMIT. (A SUBMIT cannot be used in an update task.), so the whole process does not work.
My question is u2013 whether anyone out there had try to do the same thing successfully u2013 and if yes how?
Is there a way to make it work in the UPDATE TASK FM or maybe a different way to do this altogether?
It seems like a simple process that should not be so difficult u2013 but I am running into a lot of problems trying to make it work.
Any anwers or help would be greatly appreciated.
Thanks
Elona

Hi Elona,
I have the very same problem with similar BAPI-sequence. I need to create Purchase Order and after it Goods Movement.
Have you solved that issue somehow ? I'll be very grateful for every help or tip.
Thanks in advance

Similar Messages

  • I created in iMovie, and extracted audio from one of the clips to use in the title sequence.  All is well, export to iDVD and it plays OK, but when I burn the DVD the audio for the titles does not play. Any suggestions?

    I created in iMovie, and extracted audio from one of the clips to use in the title sequence.  All is well, export to iDVD and it plays OK, but when I burn the DVD the audio for the titles does not play. Any suggestions?

    I am on a MacBook Pro with OS 10.6.7 running iMovie '11 and iDVD 7.1.1.  Thanks for any input.

  • Create STO,Delivery and PGI delivery from an interface

    Hi,
    We are using a third party WMS system to manifest and ship orders froma  distribution center to a store. The only data that is going to come into SAP is the Bill of Lading as to how much has shipped for a material to the store from the DC. This has to drive a Stock transport order cycle of creating an STO, create and PGI delivery. As we are building the interface,  I am a bit confused as to how we can make all this happen from one data feed.  Since there is only one feed and it has to trigger mutliple processes should we trigger multiple idocs (different types) to trigger the STO creation, create the delivery and PGI it (Delivery 03 idoc)?
    Will it be too cumbersome to build all this logic in the interface?
    Another option would be to create the STO using the feed, then run VL10B in a given time interval (Background) to create the delivery.
    However, I am not 100% sure how you can spawn off a PGI job? Even if I were to run the VL02n program in the background how can I populate the pick quantity?
    Any insight would be very useful.
    Thanks..

    My assumption is just you need to adopt delivery qty as pick qty.You are not doing any TR ,TO as your ware house is third party managed.
    you need to define the picking form EKOO to your shipping point type and then the quontity will copy
    You can do it in the difintion of the shipping point, you have to difine send time = 4
    I will explain how need to  set up this automatic picking, and then you can
    work backwards from there. The automatic picking you are experiencing
    is actually related to the output type EK00 assigned to your shipping
    point.
    Consider the following two setup steps which will result is automatic
    picking:
    Set the output type to EKOO, in the print picking list of the shipping
    point in customizing.
    Make sure the parameters below are set:
    Message Language
    Number of Messages
    Send Time <<<<<<<<<<< this must be set to 4 (send immed)!!
    Transmission Medium
    1) you have to set the parameters for EK00 in the shipping-point-
    maintenance in customizing:
    -> Enterprise Structure
    -> Definition
    -> Logistics Execution
    -> Define, copy, delete, check shipping point
    2) as second step you define the shipping-print-parameters in
    customizing:
    -> Logistics Execution
    -> Shipping
    -> Basic Shipping Functions
    -> Output Control
    -> Define print parameters shipping
    -> Shipping (Spec.case)
    Therein there should be an entry for every shipping-point, where
    you like to use the picking-list EK00!
    If you have 1 & 2 setup for a particular shipping point you will
    experience the "automatic" picking of deliveries.
    and finally picking storage  location determined as per storage conditions maintained in material master.

  • How to block user create personal view and select ALL VIEW?

    How to block user create personal view and select ALL VIEW?

    Hello,
    >create personal view
    To restrict creating personal view, you need to modify your existing permission level or create new one. Login with admin account to your site and open role.aspx page (http://siteurl/_layouts/role.aspx). Then click on existing permission or add new permission
    level-->and move to "Personal Permissions" section-->uncheck "Manage Personal Views - Create, change, and delete personal views of lists" option. Later you can assign this permission to all users, whom you don't want
    to allow to create.
    >and select ALL VIEW
    Since SP does not supports view level permission directly so you have to use custom solution or use below designer solution to restrict user to open any view.
    http://www.codeproject.com/Articles/433486/How-to-set-view-level-permissions-out-of-the-box-i
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • How can I change the space between a checkbox and text all at one time? I have a lot of checkboxes in my form.

    How can I change the space between a checkbox and text all at one time? I have a lot of checkboxes in my form.

    Okay, I haven't found a way to add an extra space using Find/replace, but you might be able to add some text wrap to the check boxes that will push the text away from them.
    Open Find/Replace and click the Object tab.
    Click the Specify attributes to find button to the right of the Find Object Format: field.
    Under Basic Attributes, choose Stroke and then the Black swatch (assuming the black swatch is applied to the strokes of your check boxes). If there are no other stand-alone objects in your form with a Black stroke, this should be all you need. (If there are Black strokes on your table cells, they will be ignored.)
    Click OK
    Click the Specify attributes to change button to the right of the Change Object Format: field.
    Under Basic Attributes, choose Text Wrap & Other > Text Wrap > Type: > Wrap around bounding box (2nd button from left)
    Under Offset, set a Right offset at the distance you'd like to add (I don't know what units you use, but the 3-5 points might work for your purposes...might take some trial-and-error to get it where you want)
    Click OK
    Click Change All

  • Create a test and development environment : only one CMS running

    Hi,
    Can anyone tell me how to create a test and Develpment environment for one CMS?
    I'm running BO XI 3.1 enterprise edition.
    Thanks
    Peter

    If you only have one server, you'll need to create an extra folder. Use security to stop non-test/dev users seeing the content. Then publish to it.
    Once tested, move reports to 'proper' folders.

  • How to create Automatic Delivery and Billing documents immediate

    Hello,
    I want to create Automatic delivery and billing documnets immediate once I create a sales order.
    E.g I need to see in the Status Bar the delivery and billing document was created.
    Thank you in advance
    Your help is highly appreciated
    Alfaid

    Please search in sales forum.  Many times this was discussed there.
    thanks
    G. Lakshmipathi

  • HT5767 how do I take all inbox messages [ 3000 ] and deleate all at one time ?

    how do I take all inbox messages [ 3000 ] and deleate all at one time ?

    Go to icloud.com, open Mail, then select them in batches (click the first message, scroll down, shift-click the last message) and press your delete key.  The server usually has problems deleting that many at once, so you should try a smaller number, say 500, and delete them in batches.

  • Tcode to create single delivery document for all line items in PO

    Hi all,
    Sorry if it is a simple question, But I am from SD module. What is Tcode to create a single delivery documents for all line items in PO. I have 3 line items with Different materials having diffent quantities and there are different delivery dates and different delivery schedule dates. I need to create single delivery. Could you please tell me how to do it? What is the Tcode?
    Thanks
    Anil

    Hi,
    Inbound delivery T.code VL31N.
    Regards,
    JS

  • Problem in creating group above AND group left in one report!

    Hi all,
    I need a report that is a combination of group above and group
    left.
    Suppose I have 3 table (Emp, Sales, Product):
    Emp Table has 2 column
    - Emp_PK
    - Emp_Name
    Sales Table has 4 column
    -Sales_PK
    -Sales_Date
    -Emp_FK
    -Produck_FK
    -Quantity
    Product Table has 3 column
    -Product_PK
    -Product_Name
    -Product_Price
    I want to make Employee Sales Report For The Month that will
    look like this:
    Emp Number___: Emp_PK
    Emp Name_____: Emp_Name
    Sales Date______Product_Name____Quantity \(2 sales
    ________________Product_Name____Quantity /the date)
    Sales_Date______Product_Name____Quantity
    As you can see this consist of group above (The Employee) and
    group left (The Sales and Product).
    I create this by using 2 queries and link them (the Emp_PK from
    1st query and Emp_FK from 2nd query) on the report builder using
    data link.
    The first query is:
    Select Emp_PK, Emp_Name from Emp
    The second query is
    Select Emp_FK, Sales_Date, Product_Name, Quantity
    From Sales, Product
    Where Product_PK=PRODUCT_FK
    I then create the layout for second query and choose group left
    for Sales_Date using wizard and I create additional layout to
    for the employee.
    The problem is that when I run this report, it will print ALL
    the employee record first (including employee who has NOT sale
    anything) and then on the last page it will print the record of
    Last employee on the Emp table and ALL sales record (including
    those that is done by other employee).
    This report will run correctly if I choose an exact employee
    (For example by adding Where Emp_PK=1111 in the first query) to
    report all of the sales done by this person (employee with emp
    number of 1111). However I need the report to run and print
    ONLY those employee who has Sales Records!
    I thought that by linking the 2 queries in Data Model, it will
    have the same effect as linking using the WHERE clause in query.
    If suppose I create a query like this:
    SELECT Emp_PK, Emp_Name, Sales_Date, Product_Name, Quantity
    FROM Emp, Sales, Product
    WHERE Emp_PK=Emp_FK AND Product_PK=Product_FK
    The report will run OK but I can only choose EITHER group above
    or group left for this ONE query methods in report Wizard.
    Sorry if it is a long question but I hope you can see what I am
    trying to do.
    Thanks in advance for any tip.

    hello,
    of course you can create group left and group above blocks in a
    single report.
    you might want to use the INSERT REPORT BLOCK instead of the
    report wizard, as the report wizard only allows you to use one
    report layout per report, where the report block wizard (invoked
    by INSERT REPORT BLOCK) allows you to choose on a per-block
    basis.
    of course you can create the blocks completely from scarth by
    hand, if you want to.
    regards,
    the oracle reports team --pw                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Solution centre not working for windows 7 and wireless all in one, altho can print ok

    I have installed an officejet 6500 wireless all in one on my HP Elitebook running Windows 7 64 bit.
    Although the printer installed - albeit with an error for Microsoft.net4 that was resolved after a re reboot - HP Solution Centre v14 wont start. Indicated device installation wasnt complete, plugged in USB and tried to uninstall/re-install all same thing.
    Ran Network, scan and print utilities and have MacAfee and firewalls all dis-abled during install. After the error pop up it just closes.
    The printer works fine and I can scan through the webscan option but what's happened to solution centre?

    Great information.  
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------

  • Windows 7 and HP All in One Printers

    Have you just brought a new PC with Windows 7 or upgraded from Windows Vista and now having problems with your Printer / All in One.
    1) Are you running the latest version of HP Software designed for Windows 7?
    Please go to Hp.com and choose Support and Drivers 
    then type in your printer model number and follow the directions on the page.
    2) Do you print but nothing comes out the printer, and the job just disappears from the spooler?
    The fix is available here
    Usb Connected Printer
    This fix is about USB Connection but the method can also be used for a Network Connection too 
    3) Can you scan but your Scanned files just disappear, not in the directory you thought they should be.
    The fix is available here
    Cannot find scanned image or document files after scanning completes.
    4) Does HP Solution Center say that your printer is no longer installed?
    The fix is only applicable for people who have upgraded from Vista to Windows 7
    HP Print Software Patch When Upgrading Vista to Windows 7
    This patch will fix known problems with the following features and functionality:
    HP Print Status
    Toolbox
    Ink Levels
    Solution Center
    HP Scan (All-in-One)
    Front panel scan button (All-in-One) 
    5) Did your network printer disappear for no reason maybe after you ran a windows update ?
    You may have found a thread that talks about this problem, this thread says disabling HP Device Discovery fixes the problem.  I do not recommend this as it may cause other problem later.
    I would recommend readding the missing printer using Add Device from the Start, HP (Printer Device Name) Menu Item.
    If this problem presists please come back to the forum and inform us so we can look at this problem in more detail.
    6) Are you just having general problems with install, printing, scanning or using your printer / all in one on a network (wired or wireless)?
    You may have a problem that one of our Diagnostic tools can fix please see the Diagnostics Tread for detailed information about these tools.
    HP Print and Scan Doctor 
    7) Are you having a problem that we have not covered?
    First try the forum search to see if anyone else is having a similar problem.
    If you have no luck start a new topic and wait to see if anyone else knows the answer.
    JonW
    I work for HP

    Great information.  
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------

  • Adobe reader 9.3.1 and HP all in one 6310xi printing problem

    Since I upgraded from adobe reader v8 to 9.3 I cannot print color or b/w documents on my hp all in one printer. I contacted HP support and they recommended that I install printer driver for a 990 printer and that my problem will be solved.
    well I cannot print any adobe documents at all in either mode. I can print office documents fine.
    do I need to download another adobe driver or add on ?
    please help..
    George

    Hi,
    Could you please elaborate more on your problem? What error message do you get when you try to print from Adobe Reader?
    Is this problem specific to a printer or is it that you are not able to print on any printer using Reader?
    Is it document specific?
    Thanks,
    -Shilpi

  • Help with Epson and HP All-In-One Drivers

    I've been looking through the forums for a day and not really finding what I'm looking for, so I decided to post...
    Running an AE-N for a Macbook, a Powermac, and a Powerbook.
    I've got two printers...an Epson R200 photo printer and an HP PSC 1410 All-In-One printer/scanner. I'm not worried about the scanning so much as the actual printing, both wirelessly and wired. I have no problem adding the printers...they pop up effortlessly in the printer setup through bonjour. But once I actually try to print to them, they endlessly search for the printer ("Looking for printer Epson R200"). Didn't think this would be a problem because they were found so easily by the AE.
    I've read all the iFelix stuff posted and granted, I haven't tried the GIMP method just yet, but the R200 at least should be printing right out of the box, correct?
    The printers are plugged into a USB hub and I've got an external HD plugged in as well...no problems with it. Any help would be appreciated...
    JDH

    John Blanchard1 wrote:
    Yes, but it's difficult to know what state the drivers are in after moving things over from Time Machine. Try deleting the /Library/Printers/hp folder and using Software Update to reinstall the current drivers. If that doesn't work, you can download the drivers here:
    http://support.apple.com/kb/DL907
    This is working. I had the same problem with Yosemite and found Hp drivers were not working properly.
    No need to delete the HP folder in library- printers because there wasn't any directory.

  • Auto Create Outbound Delivery and Shipment from IDoc

    Hi Ppl,
    Currently, we have a transport company which handles all our transportation of goods to our customer.
    We develop a project, phase 1 which we automatically sends sales order in form of IDocs to our transport company and they in turn we send us an excel file on how they have group those sales order into shipment using their own criteria of weight, destination, customer etc.
    Now, on our phase 2 of the project, we want the transport company to send us this file in form or IDoc or acceptable file format and which will automatically create outbound deliveries and shipment on how they grouped it.
    This should also be able to change deliveries or shipment if the sales order changes.
    Please how do we go about this?
    Thanks all for your help.

    Hello,
    As far as I know, you need to have a custom IDoc scenario for this. Here is what you can do.
    1. Create a custom IDoc Type to receive Orders.
    2. Create a Custom message Type & Custom Process code along with the Custom Posting Program (FM) for this requirement.
    3. Perform the validations & process the IDocs by using the WS_DELIVERY_UPDATE & WS_DELIVERY_UPDATE_2 for creating Deliveries & BAPI_SHIPMENT_CREATE FM to create the Shipments.
    This being a custom scenario, you'd be required to do some custom development as well in order to meet up with your business needs.
    Hiope this was helpful.
    Regards,
    Venkata Phani Prasad K

Maybe you are looking for

  • CS5 Trail Download for Mac - doesn't work

    Hi, I've downloaded the CS5 trail software onto a PC - Windows, NOT TO BE USED ON THE PC, but for my MAC Desktop. I don't remember ever getting an option - for Windows or for Mac.... I did not install it on the PC.... BUT upon trying to install it on

  • Prompt To Download File when not a pdf or doc

    Different files are uploaded through one of my applications. The problem is when clients want to view the file, if its not a .pdf or .doc, .docx, its not rendered through the browser and throws an error. Is there a way I could force a download prompt

  • My iphone is froze during a reset at the itunes symbol and usb plug

    my iphone froze during a reset at the itunes symbol and usb plug with the arrow pointing at symbol.  how do i get past this point as my itunes account is not even recognizing my phone now?

  • Erroneous item on credit report from ATT account

    I switched from Verizon to ATT. Then I subsequently joined my husband's account.  ATT billed us for 1st account and we continually notified ATT. Then ATT had a collections agency contact us. We informed both collection agency and ATT.  Our account is

  • Cannot cancel message

    I cannot cancel a message because it says the message editor has it locked. How can I clear the lock so I can process the message further in the MDT? Thanks, Chris