Modify Automaticaly order position on IS-MILL solutions.
Hi. First, excuse me for my poor english. I'm not use it normally.
We have MILL package installed on our systems because we need to make productions orders with various positions.
But we need to automate the process that create, modify and/or delete positions on a order.
We try to do this with CALL TRANSACTIONS to CO02 transaction, but the logic flow control of this, is too much complex and almost always a message appear or sometimes a screen appear (normally settlement rules) or simply, the changes are not made.
We need a bapi, function module, class, etc that help us to make this, create, change and/or delete positions.
We probe with class CL_MILL_IT_ORDER and CL_MILL_IT_ORDERPOS but the changes are not made, and the BAPI _PRODORD* not work with MILL orders.
Has anyone do something like this or can tell me how can i do this?
Thanks.
Use batch input. It is complex but it seems to be the only way. I used it to create the upload production order with mutliple order items in creation mode. Never use it in change mode though. The BAPI won't help since it is not provided the data for order item or components.
For the class, I never used these two classes and there is no documentation about it so I can't comment much. It seems to be linked with standard program of Mill to calculate the settlement rule by weight (settlement rule PP5).
Rgrds,
Similar Messages
-
Can we modify sales order line item before its booked through API?
can we modify sales order line item before its booked through process_order API?
here we have a situation where related item should be substituted for actual order item when user selects the related item , So looking for a way to modify the ordered item on sales order line .
Thanks,Hi
There is an API to update the Related Item on the line level in the Sales Order.
PROCESS_ORDER API can be used for this purpose. It is part of OE_ORDER_PUB.
Below are the fields on line table type that will be assigned to create an order line with related item and original ordered item.
ORIGINAL_ORDERED_ITEM : Original Item
ORDERED_ITEM : Related Item
ITEM_RELATIONSHIP_TYPE : Type of Relationship.
Please go ahead and try to create it like this. I am pretty sure that it will get the order created with related items.
Note: Please make sure the profile option
OM: Enable Related Items
should be enabled.
Please mark the response as helpful or correct if it provides you the solution.
Thanks
Mirza Tanzeel -
Transaction IW32 - EXIT - Order Position
Hi!,
I´m having a trouble with IW32 transaccion, I have to validate the order positions by position number, if the position number has permition to be modified, nothig happend but if it hasn´t permition i need to display an error message informing that u can´t modify the position, and then change the modified field by the old one.
I´m using the BADI: IW01_ORDER_BADI
METHOD: CHANGE_COSTRELEVNCY
In that method I can validate by position and I have in the Params The OLD and the NEW structure containing the position. My problem is that i cant set the vlaue in the screen, I need to replace the modified item in the screen by the old one and show the error message.
ok thats all, i hope u can understand the post, i´m an argentinian practicing english.
Bye Bye an thanx!!!Try setting the parameter CV_SANKA of the method to 'X'.
Below is the methods documentation
You can use this method to automatically set or revoke the costing relevance of a component in a maintenance or service order.
<u>To do this, put an X in or remove it from the changing parameter CV_SANKA.</u>
-Kiran
Please mark useful answers -
More than one service Performer per sales order position
Hallo ByD community
We are using service type "Service - time and material" in our sales orders and we are using the integrated time recording in the self-service (time sheet) to track actual times for an sales order. For that you have to assign a service performer in the sales order position, so that the person is able to enter acutal times for this sales order Now it can happen that not only one person, but a team (or two or more people) has to record times for this sales order position.
is that possible and if not what would you suggest.
F.e.. in project management you can activate time recording for a project task for several people.
Thank you :-)
BRHi lisa ,
It is not possible to enter more than one service performer for a service in sales order .
But you can perform the service with two people and have two service confirmations.
The time entered in service confirmation will be reflected in invoice only(if time and material).
Also you cannot enter the time sheet with respect to sales order , it is only valid for project task and
and time types.
Regards,
Harish -
Modify Sales order Item additional tab B
I need to modify Sales order item additional tab B ...by removing the exisitng fields and should add some new fields ....which is ok. But does it have any impact becoz the same screen fields coulbe used in any of the other transaction .......i just wanted to know if we remove the fields from sale orde item additional tab B and some new details will have some impact
Hi,
Before making any modifications check "Where-used". If it is in some other program other than the VA01/02/03, then better consult your lead before modifying.
If you do not find, go ahead and make the changes confidently.
Regards,
Subramanian -
Need to modify Sales order Item additional tab B
Hello all,
I need to modify Sales order item additional tab B ...by removing the exisitng fields and should add some new fields ....does it have any impact on this screen could be used in any of the other transaction .......i just wanted if we remove the fields and some new details will have some impact
Regards,
KKAdditional data B is used to add your own fields also known as custom fields in sales order.
Custom fields can be added to tables VBAK & VBAP (depending on header or item). Similarly you can remove fields if you don't require it anymore.
In short, your requirement can be met but you have to take help of ABAP consultant since it requires maintenance of user exits and modification of screens. -
Modify purchase order to include company logo
Hi,
How to Modify purchase order to include company logoModfying is nothing but copying the existing form to new name.
For example MEDRUCK is standard one .
Copy this to new one as follows.
1.In SE71 Utilities -> Copy from Client
2. Mandatory fields
Form Name:MEDRUCk
Source Client:Depends upon ur client
TArget form:ZMEDRUCK
Check both the check boxes there
3 .Click Save button
4.New form will be created
5.Now do ur changes.
Niow u have to add the program and the modified form in the NACE to an output type.
Next using the new out put type, in the transaction mee2n give a po number.
Next in the tool bar u have Goto -> Messages
In that screen u have to give the new out put type and medium and partner.
Once this is done u can save and go back check the print preview.
Follow the above steps and let me know if u face any problem,
Regards
Ravi -
User exit to modify sales order pricing condition
Hi Experts,
I need ot modify Sales Order Header Condition (ZFRH), Condition Value (KWERT) for Transaction VA01 & VA02
I agree there are many user exits which will modify XKOMV-KWERT structure and can populate what ever value we insert.
But the value we insert is inserting into line item condition and the total of all line items is populating in Header .
I need to modify only Header condition without populating Line items
Thanks ,
Basheer .Hi:
Program : MV45AFZZ
search for USEREXIT_NUMBER_RANGE.
BR,
Manthana -
Special Stock E with a deleted Sales Order Position
Dear Experts,
Does anyone know how to unlink or move an special stock lot for a Sales Order Position that was deleted? I have a situation where a have some stock produced in a MTO scenario and the Sales Order position does not longer exist and the phisical stock can not be used.
Please advice...
Regards
Victorhow was it possible to delete a sales order that had sales order stock?
is it physically deleted or does it just have a deletion indicator?
What error message (number of error message please) do you get when you try the transfer posting?
Have you tried to count the special stock to zero and count the material as unrestricted stock with a physical inventory? -
Dear support,
I will explain my business scenario.
My client wants to convert the planned order in to partial production
Order then he wants to combine with another production order through the Order Combination concept(IS MILL)
For ex
Sales order no 123 with the line item 10 has the qty of 100 kg.
Sales order no 456 with the line item 10 has the qty of 200 kg.
After MRP run, the planned orders are generated with 100 and 200 kg.
But my client wants to combine partial production qty as 50 kg from
Sales order no 123 and partial production qty as 100 kg from sales Order no.
This can be done only by entering the Order no in the MILL_OC
Now I got 2 production orders with 50 and 100 kg, which was in the CRTD status.
When I enter 2 production orders in the above transaction, am getting the error has u201CNO ORDERS SELECTEDu201D
Note:
1. I can able to achieve the same, if I enter the Planned order no in MILL_OC
2. We are in ECC DIMP 604(Hence we can't able to apply the sap note 1070147
Pls help
With Regards
Sridhar.R
Edited by: Sridhar Rangasamy on Apr 2, 2010 1:10 PMDear,
Order combination via the order combination you convert an item for a sales order into a production or process order.
In the combination, when you use a selection profile to create the combined order, the system uses the order type from the selection profile: Production -> Shop Floor Control -> Master Data -> Order -> Administer selection profile for the combination.
For the order combination, selection profile from the reference order if you do not use a selection profile.
When you create a combination, the system provides a flag "Select all" (F9) and reference order.
Please check your order type dependent parameter and selection profile.
Please refer this blog for details,
/people/rupesh.brahmankar3/blog/2009/08/03/combining-production-and-process-orders-with-batch-production
Regards,
R.Brahmankar -
Where/How to find the condition-types to an given order-position
Hi,
need to knwo the table, where the
kondition-types to an order --> order-position
are stored!?
Because I want to analyse, which order (order-positions)
have a specific kondition-type!
Thanks for help!Hi,
the condition types are stored in table konv. To get the link between an order and the corresponding condition types, first read the order header (table vbak). The field vbak-knumv is your link to table konv.
Regards,
Thomas Langen -
Delete a sales order position using BAPI
Hi experts.
Is it possible to delete a position of the sales order using BAPI_SALESORDER_CHANGE??? In afirmative case, how can I do it?
I made debugging and don't understand what the system is performing... because I see that it seems SAP is using another standard functions like RV_XVBUP_DELETE and other RV_* functions to do it.
I would appreciate your help.
Thanks.
Javierhi Javier,
test this in SE37
set order_header_inx flag to U as you wish to update the sales order
set order_item_inx to flag to D for the relevant sales order position as you want to delete the line item
kind regards
Paul Quinn -
Problem about Sales Order Position Status
Hi everyone,
I have defined a custom status profile with some custom status for my sales order positions.
What I really need to know is how to check, from any user-exit while saving the sales order, If the status in my schema has been changed by the user, in order to execute some extra functionality.
I would be very grateful if someone could tell me which structures should I analyze.
Thanks in advance and best regards.
Ben.If you set a breakpoint in sales order process, check the value of the following internal table
(SAPLBSVA)jsto_buf[].
Note:- This internal table will not get populated if user never navigates to the status screen.
Another option is interrogating field RV45A-ASTTX. This field will store all the status that the order has. -
Reject of sales order position, but the confirmed quantity doesnu00B4t change
Hi gurus,
when I reject a sales order position, the confirmed quantity doesn´t change in the schedule line. Internally, after the position is rejected, the available quantity of the material increases in the position quantity, but the schedule lines of the position doesn´t change.
RegardsHI,
Check the sales order entry in Tcode MD04 before and after putting reason for rejection u can definately get the inpact
Regards,
kishore. -
Hi,
I was wondering if there was a BAPI for modifying internal orders. Specifically appropriations as done in KO02. I'm access this from the .Net connector though that may not make any difference. Thanks in advance.Hi Aaron,
Try these
<b>BAPI_INTERNALORDER_CREATE</b> Create Internal Order From Transferred Data
BAPI_INTERNALORDER_GETDETAIL Display master data, status, and allowed business trans.for internal
BAPI_INTERNALORDER_GETLIST Display list of internal orders according to various criteria
Regards
Aneesh.
Maybe you are looking for
-
MacBook Pro (15-inch, Late 2008) OS 10.10.1 iWork '08 Numbers 1.0.1 Error message: "The application "Numbers" is not open anymore." I've tried to delete iWork & reload it, but still get the same message and can't open numbers. I've run disc utility
-
Can't copy iPhoto from my backup disk
I had to restore a lot of apps from my external backup drive yesterday. Most of them went OK, but, among others, iPhoto and iWeb wouldn't copy over to my iMac from the external drive. And, as luck would have it, I can't find my original iLife disks I
-
Why can't I paste an email address
that I've copied using my mouse from another email to the To, CC or BCC fields? I've found that it works if I use the mouse to copy it but I have to paste it using the keyboard (control v).
-
Failed to download FCPX Trial Version.
I was trying to download FCPX Trial Version from Apple Downloads and failed. After pressing: "Download" - a message appeared: "Failed" + warning: " "The following disk images couldn't be opened Image: FinalCut Trial 7/0/3 reason: not recognized". My
-
I have a 10.6 laptop which I backed up using Time Machine to a destination on an Xserve. I just got a new Air (10.7) and want to restore as much of the apps, settings, preferences, data, etc. as appropriate from that backup to the new machine. I've