Collection in order
hi all,
i have a one-to-many cmr from Anket entity bean to Bolum entity bean.
public class BolumType implements java.io.Serializable{
public Integer anketID, bolumID;
public BolumType(Integer anketID, Integer bolumID){
this.anketID = anketID;
this.bolumID = bolumID;
public abstract class Bolum implements EntityBean{
public abstract BolumType getBolumID(); // primary key
public abstract void setBolumID(BolumType id);
public abstract String getBolumName();
public abstract void setBolumName(String name);
public abstract class Anket implements EntityBean{
public abstract Collection getBolums();
public abstract void setBolums(Collection bolums);
public ArrayList getBolumList(){
ArrayList list = new ArrayList();
Iterator b = getBolums().iterator();
while(b.hasNext())
list.add((LocalBolum)b.next());
return list;
}calling the getBolumList() method from the local interface of the Anket bean brings the collection of bolums in disorder.. i want to retrieve the collection of bolums in order of bolumID defined in BolumType class.. i suppose i have to use an ejbSelect method..
public abstract class Anket implements EntityBean{
public abstract Collection ejbSelectBolumsInOrder();
public ArrayList getBolumList() throws FinderException{
ArrayList list = new ArrayList();
Iterator b = ejbSelectBolumsInOrder().iterator();
while(b.hasNext())
list.add((LocalBolum)b.next());
return list;
}(i'm not sure whether above implementation is correct)
but if so, how can i reach bolumID defined in BolumType class with EJB-QL? or what should i do?
thanks in advance..
In your ejb-jar.xml you should have the SQL code for the queries that are being executed against the DB for each EJB. There you can modify the SQL code to execute with the Order by option, which would return an ordered resultset.
Regards,
Dimitar
Similar Messages
-
Collective Planned orders Scheduling for lower level orders with reference to the Superior order
Hi All,
Collective planned order scheduling.
I have been trying to reschedule the superior planned order and i was expecting the lower level planned orders to reschedule based on the superior planned order.
My problem is
when i try to reschedule the superior planned order the system is not rescheduling the lower level planned orders.
For example if i change the basic finish date of superior planned order as 30/09/2014 and reschedule the planned order it is only scheduling the header planned order and the lower level planned order is not scheduling.
Could some one tell me why this is not happenning at planned order level.
As the rescheduling of collective order will work at production order level but for some reason it is not happening at planned order level(as there is no option available to do so).
Please give your thoughts on this asap.
Mahee.Hello Mahee
Please observe that your system is working as designed. Planned orders are scheduled independently, even when they are part of a network/collective order. Note 152319 explains the planned order scheduling in detail and it provides the following information:
* No scheduling of overall networks is executed although a directly manufactured component is assigned.
Note that no scheduling of the overall network is executed for planned orders. For the components requirements dates are determined. In order to cover them, planned orders are created in the next MRP run. Since the requirements are not managed using the exact time, the results of the planned order scheduling and of a scheduling of the overall network of the converted collective order can differ.
BR
Caetano -
Delay in automatic OBD creation after GRN in collective purchase order
Gurus,
1. For certain articles only, there is a delay in automatic outbound delivery creation once GRN is done for a collective purchase order. The stores raise individual POs to the DC and the DC raises a collective PO to the factory/ manufacturing unit in this case. The delay is in the creation of the OBDs to these individual stores. Please let me know what settings determine this and also maybe the name of the program that creates these deliveries.
2. Also for certain articles, when we run the t-code WF10 to create the collective purchase order, we get the "No documents found" message. Please assist.
Thanks!
SuhasHi,
When you say GRN is posted, I assume you've confirmed it's actually posted?
How big a delay? Is it just outputting the delivery, or is it calculating the distribution and creating it?
We found we had poor performance on Idoc processing (R/3 4.7) and this was due to merchandise distribution specific code, where by the memory wasn't being cleared during processing of large volumes of data. An OSS note exists for this issue and was relatively easy to apply. I'll try to find the number tomorrow.
On the issue you have on no documents found. Check the STO delivery creation date on shipping data, if the procurement period you have selected in WF10 doesn't include this date, it will be excluded.
We had this issues a lot with poor data setup. We now operate this in batch variant as FROM Today's date - 1 month TO today's date + 2 months.
Without more info it's difficult to advise, WF10 can be a tricky beast to use reliably.
Check out any other OSS notes, as we did apply a few to get working correctly.
Are you configured to use parallel processing in WF10? If so is server group configured correctly? Again another lesson learnt we had.
Hope some of that was of help.
Dave -
How to make collective purchase order from planorder generated from MRP
Hi Experts,
I have 2 queries are
1) Is there any option to create collective Purchase order or Purchase requisition from Plan order generated from MRP ?
for e.g one packaging material is use in different finish goods products when we run MRP on all finish goods its generates Plan order of FG and BOM. In packaging material it dependent of 3 to 4 FG and its generate 3 or 4 different Plan order.
It is possible to create collective PR or PO ?
2) Is there any possibility to convert Plan order onto Purchase order by vendor , material and delivery date ?
I have use ME59N and MD15 but its not useful for me.
Thanks
Farrukh khanDear farrukh,
when MRP run You should set mrp control parameter
Create Purchase requisitions :- 1
then after mrp run Purchase requisitions created.
and
we can change collective Purchase requisitions in to one Purchase order.
go to selection variant in ME21N,
then select Purchase requisitions and put all Purchase requisitions.
and adopt and create Purchase order.
but condition is it will create only same material and same vendor.
Jainashu -
How to release a collective production order in CO05N with MSPT?
The issue was: I want to release a collective order by co05n, e.g. the structure of this collective production order 10000 like this:
10000----20000
30000---40000
---50000
if order 50000 with material shortage, keep the customizing OPJK release order=3, how to release this collective
order. If it is not possible in standard, can the parallel order 40000 be released??
Thank you, all.
Edited by: Stephen Wang on Apr 15, 2010 3:12 PMDear,
In Transaction CO05N, you execute a collective release. For one of the orders, the availability check determines missing part although it has been set in Customizing of the availability check (OPJK) that a release can be executed for missing part per user decision. Therefore, a dialog box is processed on which options a.) 'Release order', b.) 'Missing parts list' and c.) 'Cancel' are displayed.
If you first branch to the missing parts list and then press 'Cancel' on the dialog box there it self
Else you can do this with these options,
1)Use T Code COHVOMRELEASE here select order as you want and release accordingly.
2) Use Transaction SE38 to create the variants for program PPIO_ENTRY and schedule it through SM36 or use standard variant as SAP&RELEASE if want in background.
3) use BAPI BAPI_PRODORD_RELEASE
Please try and come back.
Regards,
R.Brahmankar -
Collective production order---GR/GI problem
Dear guru
My scenerio is collective production order. I have created PUMP header material and 2 component in that component i have maintained 52 special procurment key . and automatically 3 production order are created .
Now I want to create a stock of header material (PUMP) .
Actually I tried through MB31 and I do GR of header material and stock is also created to this material .
but my question is wht about chlid component ? that child component production order is still in MD04 .
so how it will consume . or have i made some mistake or tell me rt. scenerio.of (GR/GI)?Dear,
GR is done for Main order only and document also post for main order. This is standard SAP funcitionality.
Confirmation is carried out same as normal Production order,
If u do the confirmation for suborder in the collective structure - the automatic goodsmovements taken place between the production orders in collective structure.
Since suborder materail is directly produced , when confirm the "suborder", the produced qty will issued automatically to "superior order".
There is no seperate goods issue is needed for superior order in collective order structure.
After confirming the suborder, u can confirm the superior order, and make GR for finished product.
For above process "Collective order with goods movements" check box should be activated for Order type at OPJH
Hope clear to you.
Regards,
R.Brahmankar -
Hi Folks,
I have a sales order in place where the delivery date for the article is say 31.12.2008.
In the Article Master
Pl deliv time =1 days
GR processing time = 1 days
While creating Collective Purchase order,
Procurement period is entered as 30.12.2008 to 31.12.2008
Schedule line interval 1 day
When I exceuted, system throws the following message;
No documents was selected,application log generated.
Application log shows "Incorrect scheduling call, start date was not transferred correctly".
Pls help me to solve the above issue.
ThanksDear Kumar,
For CPO:
Check Article Master RP parameters and selection of Articles at CPO
For Merchandise Distribution:
(a) We can use the merchandise distribution functions to control the flow of merchandise from the vendor to the recipient (store or Customer)
(b) If the recipient of the articles is known at the time of procurement. You use either an allocation table (push method) or a collective purchase order (pull method) to plan distribution.
(c) The merchandise is procured externally and flows through the distribution center. It can either be put away in the distribution center or moved through the distribution center using cross-docking or flow-through.
(d) In the push method, merchandise distribution is planned using an allocation table. The procurement documents (vendor orders) and issue documents (warehouse orders or deliveries) are then generated as follow-on documents for the allocation table.
Flow through: The complete delivery for a single recipient is picked from all received Articles. Afterwards the next recipient is processed
Cross-Docking: The received units are already pre-packed for a specific recipient. They are just moved through the distribution area.
You have to carry out following tasks for Merchandise Distribution configuration:
(a) RP Types
(b) Planning Calendar (if required)
(c) Site Profile for Merchandise Distribution
(d) Adjustment profile per processing method
(e) Distribution profile on Article in DC
Article Master Data level
(a) RP Parameters (mandatory)
(b) Forecast Parameters (if required)
(c) Distribution Profile (mandatory)
Bye and all the best,
Muralidhara -
Collective purchase order linke with auto replenishment process
Hi!
This is with reference to linking collective putchase order with auto replenishment process.
For eg: an article defined with replenishment parameter(the reorder point and target stock). while running collective purchase order using transaction wf10...will system consider the reorder point and target stock and raise the PO.Hi Jyotsna,
The collective purchase order should be used in DC level. That means, based on Stores STO, system automatically converts STO requirements into CPO.
If you want consider Reorder point and target stock, then this is putaway process. That means, DC will maintain and replenish stock based on your inventory norms fixed by you.
Hope this information will be useful.
Bye,
Muralidhara -
Create collective Transfer order from collective outbound del?
Hello All
I created a group of deliveries and I got two outbound documents, now I want to create a collective Transfer order it gives me an error does not exist in T311 however the individual outbound delivery whiten the group could be picked
Can any one help me to solve this
Regards
Jacopo Francoishi
Transfer order will create based on delivery document . U got two delivery document number.
So goto LT03
enter delivery document number
execute save.
again goto LT03
enter another delivery document number execute, save it
regards
krishna -
Hi, I just installed CS6 master collection from order history and when I try to enter Serial Number it tells me that: Serial number you provided is valid, but qualifying product can not be found on this computer. Then it gives me options under drop down menu but Master Collection CS6 is the only one not appearing in a drop down menu.
Your CS6 must have been purchased as an upgrade. What it is asking you to select/provide is the name/serial number of the previous version you purchased that qualifies you to install and activate the CS6 upgrade version... this would be likely be one of CS3 thru CS5.5.
Error "This serial number is not for a qualifying product" | CS6, CS5.5, CS5
http://helpx.adobe.com/creative-suite/kb/error-serial-number-qualifying-product.html -
How to create collective Transfer order for a collective outbound delivery?
Hello All
I created a group of deliveries and I got two outbound documents, now I want to create a collective Transfer order it gives me an error does not exist in T311 however the individual outbound delivery whiten the group could be picked
Can any one help me to solve this
Regards
Jacopo Francoishi
Transfer order will create based on delivery document . U got two delivery document number.
So goto LT03
enter delivery document number
execute save.
again goto LT03
enter another delivery document number execute, save it
regards
krishna -
Collective sales order processing
I attended an interview recently where a question is asked -->how to process 4 sales order i.e collective sales order processing.What is the tcode for it?
Can anyone explain it.
Thanks.Hi,
Tcode VL04/VL10C
here you can give the selection criteria as sales order numbers,shipping points etc.
Remember that plant,shipping point and ship to parties must be same to successfully combine the orders into single delivery.
After selection criteria execute.
Reward points if useful
Regards,
Amrish Purohit -
Different collective purchase order for same site/vendor combination
Gurus,
We are trying to create a collective purchase order (WF10) from the distribution center (site) to the manufacturing site (vendor).
When we generate the work list, for certain articles, separate CPO numbers are being generated. How can we ensure that all the articles are available in just one CPO instead of multiple CPOs? What settings do I need to look at? Please assist.
Thanks,
SuhasAll,
This has been resolved. In the purchasing info record, the Region (EINA-REGIO)was maintained differently for a few articles.
Thanks,
Suhas -
Error as S: /SAPAPO/RRP: 003 0010005690 while release Collective prdn order
Hi Experts,
When I try to release the collective production order in R/3 with CO05N transaction am getting error as mentioned below,
S: /SAPAPO/RRP: 003 000010005690
Message no. /SAPAPO/RRP003
Please guide me the steps what action I should take in APO part and what has gone wrong.
Request you to give me the earliest reply.
My collective production order is as below,
10005690 for child material and 10005691 for header material.
Cheers,
Kumar.SHi Kumar,
T-code- /N/SAPAPO/OM17 has to run when there is less or no load in the system.
Once you enter in to the OM17 screen lock the queues inbound and outbound. If posible lock the users.
Then select consistency check. there you will find multiple options to run consistency. Select them and execute in the background. It will take 3 to 4 hours based on your system data. Once it is completed then go to the same screen and select evaluate last background jod button. You will get all the inconsistencies there then select correct the inconsistencies.
After this then run /N/SAPAPO/CCR. Give the logical system of R/3 and the plants.
Select the planned orders and Manufacturing orders and execute.
You will get all the inconsistencies overe there. For there correct the inconsistencies.
Hope this will help you.
Regards,
Kishore Reddy. -
Rounding value on collective production order
Hi Guys,
I want to use rounding value on collective production order, Rounding values do work on production order but not if the material has setup for collective. I do not want to discoonect the material from collective and i do want to use rounding value. Any body has an idea how to achieve that?? Any help be great!I have to say that the collective order join the MRP with the way of direct production which is completely different way of net requirement calculation. It just get the quantity from the superior order and can not be influenced by the rounding value/profile.
The output from the sub level order will be consumed by the superior order directly without manual handling. So that the redundant quantity caused by roudning would cause inconsistency.
The BADI WORKORDER_UPDATE is being called while creating and chaning the order, so you may check the possibility in it to change the order or component quantity.
On MRP side, I can see there are BADIs MD_PLDORD_CHANGE & MD_PURREQ_CHANGE to allow the customer change the planned order and PR in MRP, however, you should better not change the quantity as no further BOM explosion occurs for the changed quantity, so there is no perfect solution for your question. Please go to SE18 to read the documentation of the BADIs and their methods to see if you can use them. -
Planning using a collective purchase order (pull)
Dear all,
Could anyone please give me a little bit of details for this 'pull' process? How do we create a Warehouse Order? How do we create a Collective PO with reference to the Warehouse Order? And how do we distribute the merchandise at GR with reference to the Collective PO?
Thanks in advance for your help and support.
Kindly regards,
HeruHello Martin,
You can always copy an existing PO into a new blank PO and change its row contents. Open the 'Parent' PO --> Data -->Duplicate -> A new document opens with the same row contents. Edit the rows accordingly -->Give the new BP name and save.
Now you have the 'Child PO'.
Or
Are you looking for Split PO option?
You can create a Parent PO and split it later according to your requirements into Child POs.
To access the tab, choose Administration --> System Initialization --> Document Settings --> Per Document --> Select PO --> check the box "SPLIT PO".
You can split POs based on the warehouses.
Hope the information is useful to you.
Thanks
Krishna Kishor Kammaje
Maybe you are looking for
-
Error while Upgrading from EJB 2.0 to EJB 3.0
Hi, Can any one guide me what are the steps to upgrade EJB? I have only upgraded weblogic server to 10.3 i am deploying the 8.1 application in 10.3 server i am getting the below error. What i need to do to upgrade EJB as well. Please help in providin
-
Friends, I'm facing below issue while accessing a crystal report. I heard it might be an access issue. But i'm able to access a report within a same folder. com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException : The system ca
-
HTML/CSS animation clipped on iPad
Hi list... When inserting html into an inDesign document intended to be published as an iPad app, I'm running into issues with seeing the entire html. The bounding box that holds the html collapses down to the size of the "This is arbitrary html" me
-
Battery Taking Unusually Long to Charge
I purchased the new Macbook in early December and the battery worked fine. After about a month the computer started taking an unusually long time to get 100% battery (days). When plugged in, the charger does not light up, but it has a very dim green
-
Any way to PERMANENTLY zoom Firefox a certain amount, rather than having to re-zoom-in again every time for every new webpage? == This happened == Every time Firefox opened