Consuming Confirmed STR based on STO

Hi Experts,
Due to some difficulties, I am deviating from the SAP standard.
I am doing SNP planning based on Heuristics tool.
In my scenario, a Stock Transfer Order is created based on the completion of a production order. STO is created in reference to Production Order. During the day, whenever a production order is completed, at the same time STO is also created. Please note that STO is created based on production order and not based on confirmed STR.
So, automatic consumption of confirmed STR based on Stock Transfer Order doesn't help here or work here. So, is there any possibility to achieve this automatic consumption? STO created without any reference to confirmed STR in ERP.
Like whenever a STO is created, the confirmed STR's should be consumed using FIFO logic (STO consumes the first confirmed STR and then the next). And if, STO is larger than the quantity of confirmed STR, then the first confirmed STR to be consumed and then the next (until the STO quantity is completely consumed by the existing confirmed STRs).
If it is not possible to do via standard, I am planning to achieve this using the enhancement of CIF inbound logic of APO (Custom development ). But if I do this, the pegging relationship between the Production Order and confirmed STR, should it be retained? Or will the pegging relation to the confirmed STR is automatically lost if production order is completed?
Thanks,
Suresh

Hi,
Error message VL609 is designed to prevent PGI before picking was
complete. If not, posting cannot be carried out unless you
change delivery quantity. Partial postings are not possible!
Function 'copy picked quantity as delivery quantity' could be used.
To sum up, It is not be possible to goods issue a delivery that is not
fully picked and for that reason error message VL 609 is issued.

Similar Messages

  • Supply variation - how to unconfim the confirmed STRs ?

    Hi,
    I have the following scenario-
    One Production Plant supplying to a Hub. The Hub supplies to various DCc.
    I run CTM / Heuristic, which create the Planned STRs btw DCs and HUB; and btw HUB and the Production plant.
    Next I run Deployment Heuristic, with Fairshare rule A.
    Pull Depl Hz = 3 wks
    Push Depl Hz = 3 wks
    I run depl heuristic from the hub to various DCs.
    On the HUB,
    ATR = Stock and STOs coming from the Production plant for the next 3 weeks.
    ATI = Sales orders.
    Now looking at the 3wks Planned STRs, I have confirmed them based on the 3weeks STOs.
    The same result . confirmed STRs are sent to ECC.
    Now , after 1 wk, I realise there is a huge variation in supply.
    i.e. the daily STOs of 300 qty, will not come , but only 30 per day...
    Now, with this changed scenario on the supply side, how do I unconfirm the confirmed STRs.
    regards
    Niranjan

    Hi Looking at your scenario, u have confirmed the STRs on the basis of STO, now there is fluctuation in the supply side
    ( STO),
    There are two situations
    One that your confirmed STRs can t become into STO (TLB Output) if you run the TLB on the basis of stock, so shipment can be controlled.
    Other option to rectify the same is to delete the confimed STRs and run the fresh Deployment considering the fersh STO ( supply side).

  • Consuming a rest based srevices in abap

    I am trying to consume a rest based servises in abap using the cl_rest_http_client class.
    i was just trying to call a simple get method but it resulted in a responce "HTTP client - communication error".
    when i use the same url from the restClient (Firefox extension it works)
    I have checked some blogs which talk about consuming rest srevices. most of them have a pre requisite to importing the security certificate of the service provider using the "strust" transaction.
    Since i dont have authorization for that transaction, i was wondering if it is possible to call a rest service without importing the certificate.
    Kidly suggest ways in which i can overcome this
    Thanks and regards,
    Saurav

    It is not possible to make an HTTPS request without importing the certificate.
    It works fine with HTTP request but for HTTPS we need to import the certificate and pass the SSL id.

  • Problem in consuming XML/SOAP based BizTalk webservice in Oracle Forms 10g

    I have a web service that i need to consume in Oracle Forms. The web service is SOAP based service and was generated using Microsoft Biztalk Server. The service accepts a complex xml message as its request and returns a similar xml message as response.
    I want to consume this service from within my Oracle Forms Application (Forms version 10.1.2.0.2).
    I followed the guidelines from http://www.oracle.com/technology/products/forms/htdocs/10gr2/howto/webservicefromforms/ws_10_1_3_from_forms.html and added a few java classes were generated from WSDL link for me but this is where I lost it.
    From the generated code, i see that i might have to create a vector which consists of the complete hierarchy of xml schema that is expected by the service. But i need some advice in how to do so.
    Has anybody worked on similar services before? Please share your experience or any helpful resources.
    Thanks.

    I have a web service that i need to consume in Oracle Forms. The web service is SOAP based service and was generated using Microsoft Biztalk Server. The service accepts a complex xml message as its request and returns a similar xml message as response.
    I want to consume this service from within my Oracle Forms Application (Forms version 10.1.2.0.2).
    I followed the guidelines from http://www.oracle.com/technology/products/forms/htdocs/10gr2/howto/webservicefromforms/ws_10_1_3_from_forms.html and added a few java classes were generated from WSDL link for me but this is where I lost it.
    From the generated code, i see that i might have to create a vector which consists of the complete hierarchy of xml schema that is expected by the service. But i need some advice in how to do so.
    Has anybody worked on similar services before? Please share your experience or any helpful resources.
    Thanks.

  • Material confirmation in ECC based on service confirmation in CRM

    The scenario is Service order & confirmation is in SAP CRM & the billing is in ECC
    The Issue is about material ( spare parts) issue in ECC based on the service confirmation in CRM. In ECC the spare parts are batch managed.
    So to do an automatic goods issue in ECC, we need to enable a BAPI for batch determination.
    Now we are contemplating of doing the goods issue in ECC manually.
    Request you to see if the below scenario works or a better solution is possible
    Can we assign a normal sales order type instead of a debit memo so that delivery of spare parts & then billing can take place.
    The menu path I am talking about is  ( ECC- SPRO- Integration with other mySAP components-CRM-Settings for service processing-billing integration-map transaction types & item categories)

    Hi Madhu G
    I have defined the confirmation profile in Opk0. I know that I can assign a different profile with reference to user.
    I dont want confirmation profile based on Storage location
    I want the confirmation screen to be different for different materials -plant combination. Does anyone have any idea how this can be achieved?
    regards
    PK

  • Confirmation profile selection based on material

    Hi All
    Is it possible to have a confirmation profile based on the material which is being produced in the Production order? If yes then please give me your suggestions on how to achieve this.
    regards
    PK

    Hi Madhu G
    I have defined the confirmation profile in Opk0. I know that I can assign a different profile with reference to user.
    I dont want confirmation profile based on Storage location
    I want the confirmation screen to be different for different materials -plant combination. Does anyone have any idea how this can be achieved?
    regards
    PK

  • Consume a third party REST Based Webservice from PeopleSoft

    We are in tools 8.49.33
    Using 'Consume Web Service' component we can only consume a WSDL based webservice I guess. But we have a requirement to consume to a third party webservice, for which we just have to invoke a URL with query string via HTTP GET and receive an XML response. Has anyone done this before?

    Three things to check:
    #1: Check your errorLog.html file in the PSIGW web app of your PeopleSoft server
    #2: Does your app server have to go through a proxy to connect to the internet? If so, did you configure integrationGateway.properties to use a proxy server? You can test this by trying to use ConnectorRequestURL for a plain old HTTP web site. If you get the same error, then it is likely a proxy issue.
    #3: If #2 passed, then it might have to do with certificates and you will need to review PeopleBooks for importing certificates for integration broker. I haven't had to do this before, but am pointing it out in case.

  • Get the confirmation number  of a shopping cart based on its po number

    Hi All,
    I have a requirement where i need to find the confirmation number based on the  shopping cart number .
    I have fetched the po number from BBP_PDBEI table .
    How do i further proceed to get the confirmation number of the shopping cart ?
    Your help is  be highly appreciated .

    Hi,
    There are no of ways:
    Based on PO ;
    If your PO is in SRM (and replicated into R/3), and the GR is created directly in R/3, then there is no reference of this R/3 GR in SRM. The only way to get it it to read the backend PO history.
    To do this, you can try to call the BBP_PD_PO_GETDETAIL is SRM, with I_READ_BE_DATA = 'X'.
    You will get your R/3 reference (R/3 material doc number) in export tables E_HEADER_REL and E_ITMLIM_REL, and actual item values in E_ACTVAL.
    Also you can query the tables BBP_PDHGP and BBP_PDIGP to get the refernce doc no for PO and then use FM BBP_PD_CONF_GETDETAIL to get the details fo a particular confirmation.ALso you can search confirmations by "Reference Document", use BBP_PD_CONF_GETLIST, with parameter I_REF_DOC_NO, and then use BBP_PD_CONF_GETDETAIL for the found confirmations.
    Based on SC:
    You can use the FM 's BBP_PD_CONF_GETLIST to get the list of confirmations for SC's and "BBP_PD_CONF_GETDETAIL" to get details for a specific Confirmation.
    Also you can directly query on table BBP_PDHGP.
    HTH.
    BR,
    Disha.
    Do reward points for helpful answers.

  • Instant STR TO STO creation during RBATP

    Hello Experts,
    I would like to get your opinion on how to instantly convert an STR (PreqRel) to STO in APO.
    Here is the scenario:
    Created an SO in with product P1 at its primary location L1
    I have a rule set up in APO wherein if L1 doesnt have stock go to L2 and transfer the stock via STR (this is what is happening right now)
    So in the Source location ie L1 in rrp3, there is a SO and Purchase requisition.
    In RRP3 view of L2 its STR.
    Here are my questions.
    I see that in RRP3 view of L1 the Purchase req is always PP firmed. Can we create an PR without this PP firm column checked?
    We are running deployment heuristics and then TLB (handled by other team), what does it mean for these systems when STR is PP firmed.
    Is there a possibility of creating an STO directly rather than STR. If yes then what is the config setting? I know that STR can be converted through RRP7 in apo. But I dont want the system to create STR at all.
    Thanks in advance for your suggestions.
    Regards

    Hi ,
    For creation of non PP-Firmed Orders you should check conversion routines in APO .
    PP-Firmed receipts means "system cannot change the receipt quantities, or delete the order, during planning with the production planning heuristics, even if the requirements quantity has changed. However, you can change the receipt quantity or delete the order manually".
    STR Step can not be eliminated . Its essential for planning phase to create STR which later should get converted to STO in execution phase .
    Hope this helps !!
    Regards,
    Love Singh

  • How to Create one TLB Order manually with multiple deployed STR's

    Hello,
    We are currently facing an issue when trying to make a TLB manually by right clicking on the deployed STR's.
    APO generates multiple orders for each item.
    Business requirement is to generate one TLB Order.   
    For example there are 10 Confirmed STR's and the  planner wants to choose the deployed STR's manually from the list of 10 products.   When we right cliick and select each product (for either partial or full ) it moves to the TLB order, but generates multiple orders.
    Is there a way to restrict the requested lines to be in one Order?  So that when the order is CIFed to ECC, there's only one STO generated with multiple lines.
    Regards,
    Bhavesh

    Hi Bhavesh,
                   By manual TLB process only you can create stock transfer order with SINGLE line item. because your deployed STRs always will have single line item and you are selection one by one and converting manually. in STD process you can not club items manually...
    Yes it can be very much possible by automatic TLB run. it will take all the deployed orders and converting as TLB order by considering TLB profile where min , max limits maintained. also there is concept if you maintain loading group in product master based on that materials will be grouped together.....
    Clubbing items into one order is done by TLB heuristics.. but when you do manually you are deciding how to do it?....
    You can do one thing... after creation of TLB order with single item..you can edit and include some more items manually. Accordingly you need to delete deployed STRs.......
    If you want to automate this then you need to look out for BADI... not sure possible or not
    Regards
    Thennarasu.M

  • SOURCING10: Passing parameters to a Query Based webservice using JAVA

    Hi Experts,
    I have been working on consuming a Query based webservice published in Souricng10 in a simple JAVA class. The query has a filter parameter which is not mandatory. I am able to consume the webservice using the GET method and display the content of the webservice. But when i try to POST a value to the filter parameter of the query i am getting the following error:
    java.io.IOException : Server returned HTTP response code: 415 for URL: http://sapcild9.web.bc:55000/sourcing/ngservices/rest/query/Z_TEST_WS_QUERY/execute/
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    Following is the code which i have used:
       URL url = new URL("http://sapcild9.web.bc:55000/sourcing/ngservices/rest/query/Z_TEST_WS_QUERY/execute/");
       HttpURLConnection connection = (HttpURLConnection)url.openConnection();
       connection.setRequestProperty("Authorization", "Basic " + authStringEnc);
       connection.setRequestProperty("Content-Type","application/x-www-form-urlencoded; charset=UTF-8");
       connection.setRequestProperty("Content-Length", "" +Integer.toString(urlParameters.getBytes().length));
       connection.setRequestProperty("Content-Language", "en-US");
       connection.setUseCaches (false);
       connection.setDoInput(true);
       connection.setDoOutput(true);
       connection.setAllowUserInteraction(true);
       connection.setInstanceFollowRedirects(false);
       connection.setRequestMethod("POST");
       connection.connect();
       //Send request
       OutputStream out = connection.getOutputStream();
       OutputStreamWriter wr= new OutputStreamWriter(out, "UTF-8");
       wr.write("EXTERNAL_ID");
       wr.write("=");
       wr.write(URLEncoder.encode("temp","UTF-8"));
       wr.close();
       out.close();
       is = connection.getInputStream();
       isr =new InputStreamReader(is);
       BufferedReader bufferReader = new BufferedReader(isr);
       String str; StringBuffer stringBuffer = new StringBuffer();
       while ((str = bufferReader.readLine()) != null) {
       stringBuffer.append(str);
       stringBuffer.append("\n");
       System.out.println(stringBuffer.toString());
       connection.disconnect();
       is.close();
    Please Advise how to proceed on this isssue?
    Thanks in advance.
    Srikanth Emani

    Hi Gael,
    your URL is made up of :
    [ProcedureName]?[parameter1]=[value1]&[parameter2]=[value2]
    creating URLs like this can have problems especially with spaces and punctuation.
    the answer is a FORM
    the following will create a hidden form :
    FORM ACTION="[ProcedureName]" METHOD="POST" name="F1"
    INPUT type="HIDDEN" name="[parameter1]" value="[value1]"
    INPUT type="HIDDEN" name="[parameter2]" value="[value2]"
    /FORM
    you can set the values in the form using:
    document.F1.[parameter1].value="abc123%%&&$$!";
    document.F1.submit();
    will submit the form and the PL/SQL procedure should receive the text as it was contained in the form.
    the only characters that can now cause problems are :
    " as it delimits the field.
    ' as it may cause problems in PL/SQL.
    \ as it is a special character.
    Regards Michael

  • Time Based ATD for Deployment

    Hi Gurus,
    We are having a customer requirement where we want to consider only Stock for TLB which is daily and for giving long term visibility should do deployment for 2 weeks considering Stock+Expected Production.
    So we are thinking of Deployment Run Weekly...considering Stock+Expected Production...which will consider that and create Confirmed STR...
    And Intend to run TLB daily only on STOCK..........as i understand TLB will club confirmed STR's ....will not look at Stock while STR's ..........
    Or Other option Run Deployment / TLB daily...where wanted to have Deployment daily ....where ATR should have time phased ...like for 1 day only Stock and from 2nd day onwards Production Order + Planned Order.....Wanted to have a Time phased ATR kind of Concept

    Hi Priya,
    Your second option looks very realistic for implementation.
    Because when you run deployment/TLB, the load building
    will be at a very optimal level based on that day's constraints
    and priorities.  Hence running daily looks more predominent
    Regards
    R. Senthil Mareeswaran.

  • Overwrite Confirmation Control Key line (in PO line Confrimation Tab)

    For STO's the business has asked that the stock requirements for receiving site be updated based on PGI of shipment from the supply site (to ensure a more accurate availability date at the receiving site).
    Our STO's currently uses Confirmation Control 0004 (Inbound Delivery).   In the scenario described above we've been simulating adding a manual line to the confirmation tab (with no inbound delivery) once the PGI for the Outbound was selected to update Stock Requirements with a new date (instead of original Delivery date on STO).  It does update Stock Requirements with "ShipNt" and has the newly entered date from PGI.  
    However, when the product comes in and we actually create the Inbound Delivery that also adds an automated line to the Confirmation tab in the STO (so there are now 2 lines in confirmation).  This creates 2 different entries (both "ShipNt") in the Stock Requirements list of the receiving site (doubling the qty - instead of 35 PCE stock availability is now saying 70 PCE is available).   Once the PGR of the inbound is posted the Stock requirements list removes both lines and only posts the 35 PCE.
    My question is;  is there any way to delete a confirmation line in the STO and replace it with the Inbound line?  Or is there a way to have the ShipNt create in stock requirements (based on PGI dates) and then when the actual Inbound is created overwrite that ShipNt with the date from the Inbound?    Thanks for your input!

    Hi,
    Check Tcode OMGZ.
    Check delivery type assigned to confirmation category.
    Rgds
    Utsav

  • Copying delivery time from 1st  (unconfirmed) schedule line to confirmed SL

    Hi Friends
    Long time since I visited our forum.
    During order creation or change,  by selecting all items and using 'Edit- fast change of- Delivery date' menu option one can set a delivery date and time for all the items. This info moves to schedule line 1 (for the requested delivery date) Shipping tab to Arrival time field. However if an item (s) is not confirmed for the requested date, then a second schedule line is created for the confirmed date based on user's choice in the ATP dialog window. Now the issue is that delivery time is not copied to the new SLs. And it will be cumbersome to enter it by going into the SL-Sales tab for multiple items via  their confirmed SLs.  Is there a config way ( I doubt it) to get the delivery time (only time) copied to the confirmed SLs from the first SL. Or user exit is the only route?  if so is it FORM USEREXIT_MOVE_FIELD_TO_VBEP    in MV45AFZZ? Does this info stay once it comes via this user exit or do we need to do anything extra during Sales document save or prepare? Oh, by the way, we are set up for complete delivery and fixed date/qty checked.
    Let me know ASAP. Thanks.

    Hi
    If I understand you, the problem is that EZEIT is initial, ie; VBEP-EZEIT = 0 (ie: it has the value on dynpro'00:00:00' depending of the format of your country). The problem for this userexit is that it's called in the end of subroutine VBEP_FUELLEN in the include FV45EFEP_VBEP_FUELLEN. If you read the ABAP coding you have the call to a subroutine before:
    * Anlieferzeit ermitteln
          perform vbep-ezeit_ermitteln.
    If you read it in include FV45EF0V_VBEP-EZEIT_ERMITTELN, you can read this coding:
      if vbep-ezeit = 0.
        if vbep-edatu ne *vbep-edatu or vbep-prgrs ne *vbep-prgrs or
           ( svbep-tabix = 0 and ( vbep-wmeng ne 0 or vbep-bmeng ne 0 ) ).
          perform anliefertermin_pruefen using vbep-prgrs
                                               vbep-edatu
                                               vbep-ezeit
                                               vbep-cmeng
                                               vbep-bmeng
                                               da_dialog
                                               da_edatu
                                               da_ezeit
                                               sy-subrc.
          if sy-subrc = 2.
            vbep-ezeit = da_ezeit.
          endif.
        endif.
      endif.
    * Sekunden sind bei Lieferplänen für Zulieferer nicht relevant
      check not vbak-abdis is initial and
            not vbep-ezeit+4(2) is initial.
      clear vbep-ezeit+4(2).
    I think that you are looking for this, am I right? Surely, you knew it before to post this subject.
    Alghough the purpose of userexit is populate fields from an append (fields ZZ) but it's possible to change others. I suggest to think about this, because I think that it's the same and you can know the checks to avoid inconsistencies. If you need something else, please let us know.
    This is only a suggestion. I hope this helps you
    Regards
    Eduardo
    Edited by: E_Hinojosa on Apr 1, 2011 10:38 AM
    Edited by: E_Hinojosa on Apr 1, 2011 10:38 AM

  • Consuming external webservice in an automated activity

    hi,
    i am consuming a bapi based webservice in an automated activity. i have checked this in wsnavigator using WSDL, it is working fine. when i consume this in my process dc , it asks me to create aService group. i have created one and now deployed dc to server. it doesn't work and in log error it shows that thsi service group is not assigned to any physical system.
    now i tried to create a business scenario communication, for this i created provider systems (it was created and pinged sucessfully, showed all the web services lying in its service registry). when i was creating business scenario, under first step credentials of service group and provider systems are provided. unser second step when i tried to add the services it didn't showed the services which it showed me while i pinged.
    please tell me how to sucessfully consume an external web service (bapi based).This is lying on SR but when i tried to access it through single service administration, it was not there. please guide me how can i sucessfully consume this webservice (using service group or logical destination).
    Thanks In Advance.

    Hi Rohit,
    try with Application Communication Configuration instead of Business Scenario (should be easier for single service). Make sure you have entered the correct credentials for the backend system (both for metadata retrieval and for runtime invocation).
    Instead of Service Registry you can also try with WSIL when creating the provider system. The WSIL URL for the ABAP system should look like this: http://host:port/sap/bc/srt/wsil.
    Please also check the SOA config guide by Alexander Zubev:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/40dabb46-dd66-2b10-1a9a-81aa620098b3
    Hope this helps,
    Christian
    Edited by: Christian Loos on Dec 29, 2009 10:28 AM

Maybe you are looking for

  • Warning while launching Eclipse 4.5 with Java 8

    We are migrating our project from Eclipse 3.x to 4.5 MARS. Also java 6 to java 8. when i start my eclipse, the console log shows the following warnings. !ENTRY org.eclipse.ui 2 0 2015-07-17 11:46:57.425 !MESSAGE Warnings while parsing the key binding

  • Find my friends no longer accurate

    I have been using find my friends for almost a year and it's been great.  However, over the last few days the accuracy has suddenly significantly decreased.  The location dot jumps around to various places and the program can't refine the location pr

  • Final Cut Pro x Keeps Freezing. Help

    I am trying to edit one of my short films, and every time I press play (or press space bar) it freezes, and I end up having to force quit the aplication. Every now and then it will play, but eventualy it will freeze up again. I have already tried res

  • Why is my front camera not working?

    My front camera won't work on my iPod touch 5. Could any one help me with this problem?it won't work for anything so I can't do face time ether. If anyone could give me suggestings , that wold be great!

  • Have trouble printing e-mails from my HP laptop - with VISA

    very often when I go to print an e-mail message, either it wouldn't print at all or it doesn't print the second page. Please advise. Jerome Minkow