Delivery Creation for an STO - Help needed!!
I have a requirement to update an STO ( quantities etc) , subsequently create a Delivery for the changed STO .... Now , the processing is, of an Inbound IDoc by a Custom Function Module .... Initially I was creating the delivery with a BDC on VL10B ... it was working fine whenever we processed an IDoc template in WE19 or reprocess an IDoc using BD73... Now, whenever an actual IDoc is received from the external system , the VL10B transaction fails ( GUI exception is raised).... According to OSS note 310022 , VL10* transactions do not have GUI support .. the note also mentions that the solution to the problem is to call the background program RVV50R10C ....
I used a SUBMIT within my function module to RVV50R10C supplying the necessary selection parametes ... but the problem still persists .... In ST22 .. the dump for the rfc user is appearing as:
"The termination occurred in the ABAP program "CL_GUI_CUSTOM_CONTAINER=======CP"
in "CONSTRUCTOR".
The main program was "RVV50R10C ". "
Please help !!! Top priority problem!!!
Try using the function module BAPI_DELIVERYPROCESSING_EXEC instead:
Ex:
form bapi_create_deliveries tables gtab_data structure zre029_crea_del
using gw_ebeln
gw_tcode.
data: ptab_request type bapideliciousrequest occurs 0 with header line,
ptab_items type table of bapideliciouscreateditems,
ptab_return type table of bapiret2,
pwa_request type bapideliciousrequest.
data: pw_error_occured,
pwa_return type bapiret2,
pwa_data type zre029_crea_del.
* gw_frgzu TYPE ekko-frgzu.
constants: begin of pw_msgty,
error like syst-msgty value 'E',
abend like syst-msgty value 'A',
warning like syst-msgty value 'W',
info like syst-msgty value 'I',
success like syst-msgty value 'S',
end of pw_msgty.
clear gtab_data.
loop at gtab_data into gwa_data.
ptab_request-document_type = 'B'.
ptab_request-delivery_date = sy-datum.
ptab_request-document_numb = gw_ebeln.
ptab_request-document_item = gwa_data-ebelp.
ptab_request-quantity_sales_uom = gwa_data-menge.
ptab_request-sales_unit = gwa_data-meins.
ptab_request-document_type_delivery = 'NL'.
append ptab_request.
endloop.
call function 'BAPI_DELIVERYPROCESSING_EXEC'
tables
request = ptab_request
createditems = ptab_items
return = ptab_return.
* check protocol
loop at ptab_return into pwa_return.
if pwa_return-type = pw_msgty-error or
pwa_return-type = pw_msgty-abend.
message id pwa_return-id type pwa_return-type
number pwa_return-number.
pw_error_occured = 'X'.
message e001(vl) with 'Unable to create deliveries, errors with BAPI!!!'.
exit.
endif.
endloop.
if pw_error_occured is initial.
call function 'BAPI_TRANSACTION_COMMIT'
exporting
wait = 'X'.
endif.
Leonardo De Araujo
Similar Messages
-
Prevent delivery creation for less/small qty
Is it possible to control delivery creation process to prevent delivery creation for "to small" volumes/values? At company code /plant level. I checked the min delivery qty in material master but this gives only warining message.
We want have control at plant/company code level. Please help us with best solution
Thanks in advanceHi,
As you have already checked the min. delivery quantity at the material master and it throws you a warning message.
Now goto the T.Code "0VLP(Zero VLP)".
Select your delivery item category.
Details.
Goto Quantity tab.
Check minimum quantity field.
Maintain the value "B" here.
Save.
If you do this,error message will be displayed.
Regards,
Krishna. -
Help,just entered registration code for quicktime pro,help needed
Help,just entered registration code for quicktime pro,help needed,cant seem to see the quicktime pro screen i saw on internet with all the edit and extra things at the top,i dont understand this,any help,Dave
I hope this helps http://support.apple.com/kb/ht2240 good tips on your prob here..good luck
-
Stop delivery creation for perticular Storage Location
Dear Experts
As per scenario we have two storage location 1) packing stock and 2) Ware House stock. All delivery are create from Ware house st.loaction.as per requiremnt we want to stop Delivery creation for Packing St.location.
Is ther any customization through which System should not Create Outbound delivery form Packing St.loaction,while doing this rest of things sholud not affect for that S.Loaction
Regards
Pash@SDGo to SPRO-> Logistics Execution ->shipping ->picking->determine pikcing location ->assign picking location.
Here you can remove the packing stock storage location assignment to plant/shipping point/storage conditions combination and then test.
If this does not work, then check the path SPRO-> Logistics Execution ->shipping ->picking->define picking requirements. Here check any requirements is currently used. If so copy this routine and create a new routine to exclude the storage location (packing stock) from picking process.
Regards, -
FIFO in delivery creation for STO
Dear Gurus,
Please consider the example on the issue we are facing.
An STO 123456 had created, with 3 line items having same material (XYZ)
STO : 123456
Line 1 : XYZ Quantity : 36 Delivery date : 29.02.2008
Line 2 : XYZ Quantity :30 Delivery date : 10.03.2008
Line 3 : XYZ Quantity : 36 Delivery date : 31.03.2008
and the available stock is 66 then we are creating delivery with reference to
STO through VL10D (T. Code) system is considering line items 20 and 30 as
the system should consider line items 10 and 20.
We want the system should create deliveries for line items basis on the FIFO.
Kindly help in resolving this issue as this an urgent.
Many thanks for your cooperation.Dear Krishna kumar,
Thanks alot for your reply.
My question is, while creating delivery for an STO with same material number, with several items and different delivery dates(eg: 01.03.2008, 05.03.2008, 10.03.2008) then system is picking wrong items( item with delivery dates 05.03.2008, 10.03.2008) for delivery. For clear understanding please go through the problem description once again.
Please let me know in case you need clarifications.
I really thank for your quick reply.
Warm Regards,
Sridhar -
Daily Automatic delivery creation for Finished Products
Dear All,
As per my client requirement, they need automatic delivery creation when ever the finished products posted(Reached) in to the Finished Products Storage location with out time specification.
Scenario is like this.
1.Scheduling agreement will be created for one month or one year for the specific customer with specific products.
2.After producing the material, from the production line finished products will taken in to the Finished product Storage location with some acknowledgement.
3.When ever the acknowledgement happen(stock get added) automatic delivery need to be created for that acknowledged quantity with reference the scheduling agreement.
4.There is no time specification When ever the finished products stock acknowledgement happen automatic delivery need to be created.
5.There is no quantity specification also what is the quantity at finished products Storage location acknowledged for that quantity automatic delivery need to be created .
6.If there is no production-->There is finished products -->No delivery should trigger.
This will be applicable to specific customer and specific material only.
Please give your valuable inputs as early as possible.
Regards,
Murali.Dear Rohit,
1) Who creates the acknowledgement..
-->Finished Products Storage location people will run this entry when they recieve the finished product from the production line.
2) How frequently is this acknowledgement created..
-->When ever receives the finished products from the production line,
3) Is this acknowledgement a print out or a documetn type.
-->It is not a print or document type, it is just an Transfer posting entry to add the Finished products qty to the existing stock at that particular storage location.
4) If it is document type does it appear in document flow.
-->No it will not come in the document flow.
I hope it will clear for you,
Regards,
Murali. -
User Creation in EP 7 - Help Needed.
Hi Guys,
We have installed an EP 7, I would like create users in EP 7 Database. My Data Source configuration file dataSourceConfiguration_abap.xml. I have installed a WAS 6.40 JAVA + ABAP
This means I have to create the user in ABAP, I would like to know how I can create a User in EP 7 Only and not in ABAP System, I have seen other posts where they mention that you have to create the User in ABAP First, is there a way where I can create users in EP 7 so that they remain in the EP System only.
Please do let me know.
Thanks,
John.
Message was edited by: John BrayHi John,
See my last answer in this thread: Changing DataSource Configuration using ConfigTool - Help Needed.
The xml I have referred to probably doesn't exist on EP7 any more?! Anyhow, the change from your to another xml isn't supported in general. Check out the corresponding notes.
Hope it helps
Detlev -
Outound delivery creation for STO.
Hi All,
I have configured all setting regarding STO and created STO. Outound delivery is not getting created using Tcode VL10* . Can u pls tell me how to create outound delivery.
JaganHi Jagan
first you check shipping data in item details in STO. If all the details captured like Delivery type (NL for Intra company and NLCC - Inter company) and Shiiping point and Customer number and Sales area.
If anything is missed out, you need to check the configuration of set up stock transport order. also check whether material is extended to Sales View.
If everything is ok, try VL10B for STO. Still if you are not able to create Delivery, please check the log.
if any problem, let us know.
regards
Srinivas -
GTS Stop delivery creation for blocked sales orders
We implemented Note 579357 to stop the creation of deliveries when sales orders are blocked and everything works correctly except for rush orders (order type SO).
After the note was applied, deliveries are not automatically created for rush orders even though the orders have gone thru screening in GTS and have been released. Any solution to this problem???Dear GTS experts,
I'm facing exactly the same problem with rush orders that Sammy Chan describes in his original post.
I checked all replies but I have still no idea to solve this issue. The problem is that when creating the delivery during a rush order creation at the time the system reaches the copy condition with the implemented coding there is no order number available to check against in GTS.
As the whole thread is marked as answered I hope someone can help me.
Best regards,
Ulrich -
Error during inbound delivery creation for some times not always
Hi,
I'm getting the following error when i'm trying to create an inbound delivery for PO.
Diagnosis
The system attempted to find the reference movement type for
the Warehouse Management system. A corresponding entry is
missing in table 156S with the argument 101/X/X/ / /X/.
The argument consists of:
o IM movement type
o Indicator: Value update
o Indicator: Quantity update
o Special stock
o Movement indicator
o Access indicator
o Indicator: Consumption
Can someone help me to resolve it? as it is not happening always
Appreciates everyone time and help.
Thanks and regards,
SivaHi,
Thanks for the response and yes i did maintained IM/WM mvt types for 101 in both places.
If the movement type is maintained well why SAP says it is not?
SPRO > LE > WM > Interfaces > IM > Define Movement Types - "Assign WM Movement Type References to IM Movement Types'
Related tabel is V_156S_WM
If you check your configuration you will see that there are many entries with 101, and there are several other parameters...
First you should check what you are doing in IM, what parameters that mvt has (qty, value update, special stock, etc) > after that you should check whether it is maintained well in WM customizing - see steps in my previous email.
Regards,
Csaba -
Dynamic View Object Creation... Help Needed Urgent !!!!
Hi,
I have a requirement in which i create ReadOnly VOs at runtime. This VO is not associated with any EO. Besides no Java file is generated for it.
I am able to generate the .xml file for the Vo and have also added the <containee> </containee> part in the server.xml. Then I also add this VO to the project as an Item in the <ownerMap> of the containing Project file(.jpr).
At run time the .xml file is generated and all the above mentioned changes are made to the files but the
Actually this VO is created in association with a poplist, which shall be using it subsequently.
However when I render the page with this poplist it gives the following error:
"oracle.apps.fnd.framework.OAException: oracle.jbo.NoDefException: JBO-25002: Definition oracle.apps.fnd.templates.server.PP_TST of type View Definition not found"
But when I simply open the same VO (which was created at runtime)at design time and just Press Ok and then render the Page - it works.
Is there some thing else that must be done to make the VO work properly in the first go?
Thanks in advanceDo you actually need to parse the XML file yourself for some application-specific reason?
If you just generate the file to be exactly like the ones the BC4J design time creates, then you'll be ok.
At runtime, to improve performance, BC4J leverages a DTD caching feature of the Oracle XML Parser to read the JBO DTD a single time, cache it on the parser instance, then go ahead an parse the JBO XML files.
If you're curious to see how this technique is coded, google for the "BC4J Toy Store Demo" (not the ADF Toy Store Demo, it's the older BC4J Toy Store Demo version), and download the zip file. Look in there to find the:
.\bc4jtoystore\Utilities\src\toystore\util\DynaActionFormGen.java
class. This illustrates the technique of loading and caching the DTD. It's a little utility that loads a VO XML File and programmatically transforms it using XSLT. -
FM / BAPI Inbound delivery creation for a Purchase Order without material
Dear All,
I have a requirement to create a Inbound Delivery for a Purchase order without material number. The Purchase Order has only Material text and no material number. Please let me know a BAPI or FM to create inbound delivery in this case where there is no material defined on PO. I require BAPI / FM since I have to make a web-service for the same.
Thanks in advance!
AbhishekHi I did a coding in one of the userexit. If ekpo-matnr is empty then fill
KOMDLGN-UMVKZ = 1
KOMDLGN-UMVKN = 1
KOMDLGN-MEINS = EKPO-MEINS
This parameters i.e. Qty conversion are necessary and since MATNR does not exists it has to be filled. -
Issue for self consumption - Help needed
Hi,
We need to urgently issue a finished material (produced by us) for building wall construction.
MY excise dept says that i need to pay duty as well as i can claim Cenvat Credit as input material.
So how to map this process in SAP.
Regards
all answers will be suitably rewarded.If the matter is only creating Excise Liability, It can be done through Excise JV, through T.Code: <b>J1IH</b>. You can use the Tab <b>Additional Duty</b> or <b>Other Adjustment</b>. Document Number is Text Field & ant text can be maintained in It. Fill all other relevant details. In next screen, you will be able to maintain the relevant Excise Duty with or without material. Ofcourse, no Invoice can be generated for the same.
Regards,
Rajesh Banka
Reward suitable points.
How to give points: Mark your thread as a question while creating it. In the answers you get, you can assign the points by clicking on the stars to the left. You also get a point yourself for rewarding (one per thread). -
Table Names for CIN transactions -Help needed
Hi,
"Please teach us the table names which are updated with below transaction. Since it will be necessary for add-on development.
1. J1IH
2. J1IIN
3. J1IJ
4. J1IS
5. J1IEX
6. J1IG
Please help me..
Thanks
KBWith help of ABAPer, try using trace (ST05) and find the tables used in these t-codes.
-
Delivery Creation Issue - Intercompany STO
Dear All,
I had configured the Intercompany stock transfer scenario. When I am trying to create a delivery, I am getting the below message.
"When the system checked whether saving delivery was
permitted, it determined that the requirements stored in
Define Incompletion Procedures for this document do not
allow this subsequent function."
I had removed the incompletion log assignment from the Delivery type NLCC & Item category NLC.
But still I am getting the error.
What may be the issue?
Rgds,
Senni.BHi,
Check whether Checcking Rule is assigned to the Purchase order type, Delivery type in ONGN and also check on the settings for the Checking Rule in OMGN
Maybe you are looking for
-
Erro CX_ST_MATCH_ELEMENT no PI após implementação do SP06
Pessoal, Após a implementação do SP06 do GRC (a versão anterior era a SP03), não estamos conseguindo mais ter as aprovações das notas. O processo para no GRC durante a assinatura da nota, mais especificamente após a execução da SENDER INTERFACE SIGNN
-
??????? / unessary question marks in e-mail
Good morning: When I forward e-mails to a PC the people mget several ??? in the copy of the e-mail. Any explanation?
-
My ipod touch would not connect to itunes. I was told to do a factory reset. After i had done this it said the ipod could not be restored and is now in recovery mode and unuseable. Anyone any suggestions?
-
Hi, Background - We are trying to configure EP with SRM SUS. When we try to create a JCo connection, We are getting this error - com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM TYPE=B MSH
-
Have serious problem with my flash player
Hello, i will start with my computer detail and program detail: Os: Windows 7 64bit Internet Explorer: ver. 8.0.7600.16385 Firefox: ver. 3.6.6 (Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6) Chrome: ver. 8.0