Generate PO out of STO

Hello SAP gurus,
we work in APO and SAP R/3. On a transportation lane between two plants / locations APO generates at the time of planning a Purchase Requisition with a goods issue in the plant / location A and a goods receipt in the plant / Location B. If I generate from the purchase requisition into a purchase order the same thing happens. But we need a Purchase Order - Sales Order relationship when we generate the orders. So my question: How can I from the purchase requisition with a goods issue in the plant / location A and a goods receipt in the plant / location B generate a Purchase Order with only one goods receipt in the plant / location B.
Best regards
Dieter

Hi Dieter Rasch,
If i understood correctly your requirement.
From PO you need to create a Sales Order. This can be achieved through Idoc (Message output).
From SO you can do Delivery and Post GI.
From PO you can GR.
Regards,
Asesh Kumar

Similar Messages

  • Time evaluation generate check out entry

    Dear Gurus,
    How can we generate Check out entries thru Time evaluation?
    The sales employees come to office in the morning, they punch in and leave for sales activity. They don't get overtime, but pay / absence quota deducted if they don't check in in the system.
    While running Time evaluation, I am getting error in TE03 (delimiting error). I hv tried creating second entry using TF00. Its not working. Has anybody any solution for this?
    Regards,
    Vijay

    Hi Gurus,
    I am rephrasing my requirements.  have 2 queries,
    1. Sales Employees make only Clock In entries. System should generate the clock out entry or should not throw any error message. System should consider total working time from daily work schedule.
       - TE30 function is generated the entry in TEVEN table based on planned end time, but we need to create the entry in IT2012 otherwise, while processing next days entry, it generates error.
       - Will TF00 create an entry in Time Events IT2051 ? IF yes, how can I tweak TF00 rule to generate Time out entry.
    2. General Staff working hours need to be calculated from Shift Start even if they come early. Max working time is 12 hours with 4hrs from start of end of Shift period
       - If shift start is 7AM, I have defining Start tolerance as 6AM to 7:05AM, but still the system is considering the Clock In time for hours worked. 
    I have to write this condition. How to write ?
       If Clock-in Time < Start Time
          Then   TIP->From = Start Time
    I believe it has to be put in TL10 after rounding the Check in & check outs.. so as to update table TIP,
    Please suggest,
    Regards,
    Vijay

  • Can we create table maintence generator with out key field

    Hi,
    I have created a ztable in that client is the primary key as I don't want any other field as primary key.
    For this  i have created table maintenace generator but when i open it in sm30 blnak screen is coming.
    Here my question is can we create a table maintenace generator with out key field other than MANDT.
    If it's possible please let me know.
    Regards
    hari

    >
    Mathews Joseph wrote:
    > I agree to the above points , but you can try one thing.
    >
    > When you create the table maintenance screen , from SE11 you assign a function group.
    >
    > Double click on the function group and you can go to the main program and open that in SE80, take screen generated and try manually adjusting the screen and putting the non key field details...
    >
    > Not sure this will work , but may be you can give it a try.
    >
    > Mathews
    But the table could hold at most a single record (per client). The design is lacking.
    Rob

  • Cannot Generate BRM Out of the box reports

    Hi experts,
    i'm having trouble in generating the out of the box BRM Reports in BI Publisher Server UI. whenever i generated it the following error occurs:
    ORA-20006: Not a valid date Format
    ORA-06512: at "PIN.BIPEXT", line 198
    ORA-06512: at "PIN.BIPEXT", line 226
    ORA-06512: at "PIN.PAYMENTSUMMARY", line 451
    do you have any idea on what is the cause of this error?
    note that those reports are part of the package when BRM is Integrated with BI Publisher.
    Edited by: mr_bip_learner on May 27, 2013 10:51 PM

    Hi,
    Is your date field is in Numeric format
    Thanks

  • Generate target/out file with header record as Record Count ?

    Hi Kareem, Please try the below approach. Pipeline 1: Load actual data(without header with record count) from source to target. Let say your file name is intermediate1.dat Pipeline 2: Take the target from pipeline 1 as source and create the header with count of source file using an aggregator. The filename of target for pipeline 2 will be your final file(header and detail data). Pipeline 3: Take the target of pipeline 1 again and do 1-to-1 load to the target file of second pipeline. In session properties, dont forget to tick the check box append if exists for the third pipeline target. There may be other simple approaches also. If you have no time in hand try the above approach. Let me know if you find any issues. Thanks,Deeshan.

    Generate target/out file with header record as Record Count ? Out file:---------------------------Record Count :2000  Coulmn1, Column2...Data, data........

  • Key-lookup on SCD II does not generate complete outer join

    Using OWB 10.2.0.3
    In a mapping to populate a fact table, I have to join two source tables (inner join). After that I have to perform a number of lookups on dimension objects to retrieve the dimension keys I want to store in my fact table. These dimensions are all SCD type II. All lookups are performed on the detail level of each dimension.
    In the generated code, the join condition is an outer join. However, the condition that OWB generates to determine the correct level of the dimension is an inner join:
    SELECT
    FROM
    "TMI_CELLEN_ACT" "TMI_CELLEN_ACT",
    "DIM_TMI_BESTEMMINGEN" "KL_DIM_TMI_BESTEMMINGEN"
    WHERE
    ( "KL_DIM_TMI_BESTEMMINGEN"."BEST_CODE" (+) = "TMI_CELLEN_ACT"."BESTEMMINGSCODE" ) AND
    ( ( "KL_DIM_TMI_BESTEMMINGEN"."BEST_ID" IS NULL ) OR
    ( "KL_DIM_TMI_BESTEMMINGEN"."BEST_ID" = "KL_DIM_TMI_BESTEMMINGEN"."DIMENSION_KEY" ) ) AND
    ( ( "KL_DIM_TMI_BESTEMMINGEN"."EFFECTIVE_DATE" IS NULL ) OR
    ( ( "KL_DIM_TMI_BESTEMMINGEN"."EXPIRATION_DATE" IS NOT NULL ) AND
    ( TO_DATE ( trunc(sysdate) ) >= "KL_DIM_TMI_BESTEMMINGEN"."EFFECTIVE_DATE" ) AND
    ( TO_DATE ( trunc(sysdate) ) <= "KL_DIM_TMI_BESTEMMINGEN"."EXPIRATION_DATE" ) ) OR
    ( ( "KL_DIM_TMI_BESTEMMINGEN"."EXPIRATION_DATE" IS NULL ) AND
    ( TO_DATE ( trunc(sysdate) ) >= "KL_DIM_TMI_BESTEMMINGEN"."EFFECTIVE_DATE" ) ) )
    In my case, this results in an empty data set.
    When using ANSI sql, the 'level-conditions' are generated as a WHERE-clause, which also results in an empty data set. When this code is included in the LEFT OUTER JOIN clause, all my data is there.
    What is going on here?
    Thanks
    Paul

    The "clever" workaround is to use a joiner, which is the way we implement the key lookup. So simply use that.
    To just explain why we limit the key-lookup. The main reason is that this operator is cardinality neutral. That means we always expect it to return one and only one row. If we give you too much flexibility we increase the risk of getting more than one row back which would break the logic for the mapping.
    Hope this makes sense, but just go with the joiner.
    Thanks,
    Jean-Pierre

  • ALV Report In Background.. Generating same out put using ABAP Extracts

    Hi
        We are running ALV reports and generating out put in background using Extracts. We are having a discussion that SAP doesn’t recommend to execute ALV reports using batch and generate report output , as it heavily load for spool ... we are coming across some problem when I analyze Sm37 ... I found an error " ABAP framework unable to initialize " .
    I want an input/suggestion what you guys think about it?
    Thanks in Advanced...
    Bye

    Nope... We’re using some batch id which use to run background job, as I am also in SAP Security, I just verify it has all the security to run the report . As this report is running fine if we ran it other then batch id ... as before it was running fine .
    Thanks
    Message was edited by: Saquib Khan

  • Add on Program to generate AP/AR for STO within a company code

    I want to generate the add on Program to Generate the AP with referance to the Material Document.
    Is it Possible to Create it and Update the G/L Automatically?
    If yes , What are BAPI 'S can we use or Shall we use BDC?
    Please share your ideas and Suggestions.

    Assign plants c, d, e to same company code.
    If you want to create a Stock Transfer Order,
    maintain A as supplying plant. (create vendor master linked to purchase org and company code)
    maintain c, d, e as receiving plants. (create customer masters linked to company code)
    Ignore Plant B (if no changes to stock is happening there).
    Do a 2 step stock transfer, when stock is in transit, after 1st step, you can assume stock is moving thru Plant B.
    Settings For Stock Transport Order Without Delivery:
    Order type UB
    Item category U
    GI: 351
    GR: 101
    Delivery type: Blank
    Settings For Stock Transport Order with Delivery:
    Order type UB
    Item category U
    GI: 641
    GR: 101
    Delivery Type: NL
    If STO not needed, use 303 GI from Plant A and 305 GR in Plant C, D, or E thru MIGO.
    If Plant B should be considered in stock transfer,
    Just do a one or two step transfer from A to B, then from B to C, D or E.

  • Collective PO - Generating Delivery Orders for STO using VL10B?

    Dear Folks,
    I have created a collective PO from various STO. After goods receipt for the PO, I need to generate delivery orders for the STO. Is it possible to create the delivery orders using transaction VL10B/VL10Batch instead of WF30/WF50?
    The issue is because we would like to generate the delivery orders in the background by batch job.
    Best Regards
    Junwen

    Hi,
    With merchandise distribution you can configure the system to automatically create the deliveries when you perform the GR.
    Look at the configuration for the Site Distribution Profile.
    Logistics general->Merchandise Distribution->Site Profiles for Merchandise Distribution
    If you are using different data for the 'Pull' Business Process ensure that the Point of CD/FT/PA Delivery gen fiels is set to 1 - 'Goods receipt'. Else just do above config for the 'Default' settings (Blank in Business Process).
    This will result in creation of Delivery at the time of GR.
    Regards,
    Naveen

  • Text file generator gets out of sync!

    Has anyone any experience of this behaviour in the text file generator in Motion......
    Basically the first entry in the list is only displayed for half the time of the other entries!
    This means that any repeat keyframes that I apply (even if I apply from the second entry in) get out of sync with the text display.
    There must be a workaround for this or maybe I am missing something and this is desired behaviour.
    Can anyone help?

    When you mentioned keyframes, I thought we were on the same page as to where to go next. In the off chance I was mistaken, I'll go over the steps from the beginning.
    When you use the File generator, Motion automatically evenly divides the time of the length of the generator by the number of lines of text and plays them accordingly. When you look in the Text Generator Inspector, the Speed is set for Constant... Motion figures out how many lines of text and inserts *fixed* keyframes.  What you really want to do is set the Speed to Custom:
    Immediately afterwards, you want to Reset the Custom Speed keyframes (Motion defaults from 0% - 100% over the length of the generator.)  Clearing the default keyframes will keep you from having problems later.
    Once you have the  keyrames for the Custom Speed parameter cleared, you can move the playhead to the start of where you want the first line of text to appear and set an In Point for the generator.  You will also want to mark the first keyframe so click on the yellow diamond to set it at 0%.
    Next, play the project and at the point you want the *next* line to appear, move the Custom Speed slider enough until the next line *just appears* (the keyframe will automatically be set.)  If you need more precision, you can widen the inspector column by clicking on the dividing line and dragging it right.
    Continue doing the same until your finished setting the Custom Speed keyframes.
    Then, right click on Custom Speed and Show In Keyframe Editor
    Below shows the keyframes are linear.  They need to be Constant. So, click on any keyframe in the Editor and Command-A to select all. Then right-click on any keyframe, and from the popup menu, select Interpolation > Constant.
    This is what you're going for -- Custom Speed values that are flat until they change -- Each line will appear at precisely the point of the keyframe.
    HTH

  • Generate XML out of internal Table (via XSLT)

    Hi NG,
    is there an easy way to generate an XML document out of an internal ABAP Table? Maybe there is even a chnage to use XSLT as an template to define the structure of the XML file.
    Thanks
    Stefan

    check out following thread you will find more than one answer. I like CL_XML_DOCUMENT solution, that is so simple.
    Re: Convert to XML format
    -Sanjeev

  • Generate SAP Out-of-the-box roles?

    As a general rule of thumb I know we usually take the SAP provided roles and copy them so we can add, change and delete authorizations out of them before we assign the roles.
    We also have Solution Manager and XI that seem to use the SAP roles out of the box that we don't need to manage. At least for now since we don't have a good idea on security for these 2 products.
    Does anyone use the SAP standard roles and generate them and assign them to users? Is it bad to use for XI and SM since they are more of a system level roles instead of user roles like Accountant?

    Hi,
    Is your date field is in Numeric format
    Thanks

  • Generate tables out of CSV

    hi
    i want to generate a table in oracle, from a csv file.
    in the csv file i have column names and all the rows.
    i just want to insert those rows in the table.
    cheers

    >
    i want to generate a table in oracle, from a csv
    file.Not sure what you mean by "generate" a table; but you will have to execute a CREATE TABLE statement to create a table in Oracle.
    in the csv file i have column names and all the
    rows.
    i just want to insert those rows in the table.
    Check out the SQL*Loader utility to load a csv file into a database table.
    RTFM:
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/ldr_concepts.htm#i1005437
    pratz

  • Generate DLL out of Java

    Folks,
    I just wrote some little program that generates a DLL out of a
    set of Java classes. Now I wonder where I can announce this such
    that others may recognize it.
    Any suggestions: [email protected]

    The DLL actually contains alle the wrapper functions and not the
    class files. The VM is started inside the DLL and has to load the
    class files then to provide its functionallity as DLL.

  • PWM generator w/out hardware

    Is there a way to generate a PWM signal in labview with out using external hardware? I wish to create a PWM signal at about 2kHz, where the duty cycle changes in a sinusoidal fashion. The PWM signal will eventually drive a DC motor (and the speed will change in a sinusoid).
    Currently I am using a square wave generator to create the pulse. Is there a better way of doing this?

    Hi there, Trojan,
    Funny you should mention parallel ports and Labview. I am just in the throes of creating a programmer for a DDS synthesizer with the parallel port. I ripped the following code scrap off the NI site a while back. I've attached it, just in case it's not still there.
    I'm not sure why there 2-3 ms should be any problem even with a SERIAL port, but anyway, this VISA port access does work nicely.
    By the way, I'm going to have to charge you extra for this response, since I work for UCLA. Go Bruins!
    chutla
    Eric P. Nichols
    P.O. Box 56235
    North Pole, AK 99705
    Attachments:
    Access_Parallel_Port_with_VISA.llb ‏20 KB

Maybe you are looking for

  • ITunes can't find the music - long post

    Here’s the situation; apologies for length, I want to get all the details down. The music collection: 8Tb (and growing) in lossless format, on an Ethernet network, accessed via the Mac Mini running OS 10.9.2 that’s my entertainment centre. The music

  • Hp 14 d006tx touchsmart laptop

                     August 30, 2014, I bought HP 14-D006TX touchsmart laptop  bundled with a licensed Win8.1 single language operating system and a HP 1515 all-in-one printer at one of your retailer store here in Dagupan City, Pangasinan namely Joycomp

  • Webcam detected in Windows 8.1 App not the desktop...

    Hello, I tried searching everywhere for a solution and have tried the usual reinstall, downloading an earlier version, etc. But I have still not succeeded in getting the desktop client to find my webcam. Again the app that comes with windows 8.1 can

  • Video conversion to FLASH ?

    Hello, I would like to take a small home video I made and have on a DVD, and convert it to FLASH format so I can put it online. It's a little video that I made with a camera and at the end there's a diaporama. It's not very long, about 8 minutes tota

  • How would one convert Word files containing audio to a PC?

    I'm not sure if it's possible, but how could I convert Word files that contain audio from a Mac laptop to a PC laptop? I really would appreciate any help, as I truly need these files for academic reasons. Thank you