Problem with sales order update from MIGO ( using BADI)
I have written a BADI while doing MIGO, through which I am updating Sales order Order Quanity.
I am able to update the Quantity successfully in sales order, but I am getting following update termination message which is mentioned below.
"Sales Order 376446 has failed an update to the billing date associated to Transaction MIGO
Contact your STC Key user for assistance
PO Number:"
Any clue? Please suggest.
Regards,
Krishna Prasad MVN
I have written a BADI while doing MIGO, through which I am updating Sales order Order Quanity.
I am able to update the Quantity successfully in sales order, but I am getting following update termination message which is mentioned below.
"Sales Order 376446 has failed an update to the billing date associated to Transaction MIGO
Contact your STC Key user for assistance
PO Number:"
Any clue? Please suggest.
Regards,
Krishna Prasad MVN
Similar Messages
-
Problem with Sales Order update(VA02)
Hi,
I have created a sales order. I am changing the same order. I am adding few more items to this order and saving it. When I am saving this order, it says that the order has been saved. and when I am trying to view the same order again using VA02, I am getting a 'SAP office express info' popup saying 'Express document "Update was terminated" received from author "Paddu"'. and the description says 'Update was terminated'.
Error Info... V2 101: Error during update of Table VBAP
Can someone tell me why I am getting this error. and what is this error related to.
and when I again view the order in VA02, the changes I did were not saved. Con someone please tell me the reason for this. Thanks in advance.
Best Regards,
Paddu.Hi Gert,
Thanks for your reply. Sorry for not providing the details.
I just found the update error details in SM13. Please find the details below.
Function Module : RV_SALES_DOCUMENT_UPDATE
Status : Update was terminated
Report : LV45UF0V
Row : 175
Error details Class: V2 Number: 101
V2 101: Error during update of Table VBAP
Could you please let me know if you find any reason for this error as it is very urgent. Once again I am very much thankful to your time. Tell me if you find any reason.
Thannks & Regards,
Paddu. -
Problem with sales order line items
hey All,
I wrote a simple test program this morning Using DI API that creates and updates orders, and I found some weird behaviour:
1. Once an order is created, if a line item is deleted off the order in B1 - the updates work fine.
2. If an item is added to the end of the order, the updates work fine.
3. If an item is added in the middle of the existing line items, the next update does weird things - it swaps prices and item keys and screws up the order total.
4. If an item code is changed to an existing item (such as changing the AddModel the actual item code), the update does weird thing, same as #3.
Has anyone experienced issues such as this? Or has anyone successfully completed an application like this that works properly?Ok can anyone from SAP comment on this please? I have some more details if you want to duplicate this.
My simple program just creates a sales order from DI API. Then you complete step 2, 3, 4 as listed below using a Business One Client.
I then go back to my program and do some simple updates to the sales order through DI API using the SetCurrentLine method and looping over the Lines object count. Once I call the update method and go back into B1 to look at the order the DI API has updated the wrong items.
Anyone have any ideas or run into a similiar problem? We are desperate here for a fix.
Steps to duplicate
1. Create B1 sales order using DI API with 4 line items for example
2. In B1, delete a line item in the middle of the order
3. Change the first any item Code to a different item
4. Save the order in B1.
6. Run a sales order update from DI API.
7. Recall the order in B1 - the totals will be all jacked up and the prices will no longer match the items -
Problem with sales order and Service order
Dear Guru's
We have a real problem with sales orders and service orders and how we treat these. For a project that uses a WBS, it's not a problem to manipulate SAP to give us a list of shortages (orders with no or limited supply) for each order, but for some reason our after sales orders and our service orders do not work this way.
Thanks and Regards,
Deethya.CLOSED
-
Reduce Sales Order element from MRP using MIGO (Movement Types)
Hi Folks,
I was wondering if its possible to remove the Sales Order element from MRP through a movement type using transaction MIGO.
Basically we don't want to use a delivery document to do this.
Thanks in advance for your help.
Regards,
Gilberto Lito remove the Sales Order element from MRP through a movement type
Sorry I am not sure whether I understood your requirement correctly. You need to reduce the inventory by doing MIGO instead throgh PGI which means, the movement type will also differ. Better if you can brief about your requirement, a suitable suggestion can be given.
Incidentally, this is not the right forum to post. You can post in the following forum
[Forum: ERP - Sales and Distribution (SD) General |SAP ERP Sales and Distribution (SAP SD);
thanks
G. Lakshmipathi -
Transfer Posting problem with "sales order stock type" status
Hello, i have this problem, i spend 2 days looking in the forum, but
nothing, the question is:
The SD users sell an item, and the item get the status of "sales order
stock type" in the MMBE, but at the same time, the MM user made a
trasfer posting in two steps, he take out material with transaction
MIGO, mvt 351, to another plant, but the materail was already
compromised with SD; now he cant sell the items, because he dont
realize that the material was in sales order stock type, and he already
transfer it to another plant. how can i block this? if a material in
MMBE is with "sales order stock type" status, he CANT transfer it with
351 mvt type, what config i have to make? thanks a lot!!!!
now the quantity of the unrestict use
stock is lower than the sales order, we dont want to have this issue,
thanks again
Edited by: Alex Arti on Aug 6, 2008 7:14 PM
Edited by: Alex Arti on Aug 6, 2008 7:16 PMHi!
Have you recently upgraded to EHP4? In this case, please, check the note 1441195. This note should solve the issue that you are reporting.
I hope this helps,
Esther. -
Merge PR (same sales order) and Create PO using BADI
Hi,
How to merge PR (of same sales order) and create PO using Tcode ME59n.
Is this possible using BADI?
pls reply.
A Rahim.Hello Deepak
This kind of issue is probably related to your rescheduling settings. The PO is probably excluded from the rescheduling settings on customizing or it is outside the rescheduling horizon.
Please take a look on the following WIKI that explains the rescheduling and the related settings in detail:
What is rescheduling and how does it work - ERP Manufacturing (PP) - SCN Wiki
BR
Caetano -
I am trying to update the sales order text using "BAPI_SALESORDER_CHANGE" But i am getting an error as " Sold-to party E455 not maintained for sales area E901 C1"
I passed the sales order no, and the text to be upated and the Update flag is set to "U".
When i try giving the same values in se37 it updates the sales order text successfully but when i use the same BAPI in the report i am getting the above error. Can anyone pls help me out.hi
the message is very clear that the sold to party ur refering is not from the same sales area. if u have the customer already then extend the same to the said sales area, by common division and distribution channel
<b>reward points</b>
Regards -
Problem in sales order replication from CRM to R/3
Hi experts
As per the best practices I have done number range setting and other settings for sales order transction in both CRM and R/3 system.Though few errors the sales order doc is saved in CRM but it is not replicating to R/3 system.Can anybody help me how to solve this problem.
Thanks
VikarmHi Paul Kondaveeti
Many thanks for your solution,I am able to create sales order with out errors in CRM,But after saving the document the following errors are displaying
"Header Data-An error has occured in the system RTD_040(R/3 system) while copying the document.
"Item 10-An error has occured in the system RTD_040 while copying the document
I think the above errors issue from R/3,i find the error diagnosis report which says the following
Message no. CRM_ORDER_MISC 020
Diagnosis
Errors have occured while transferring the document into another system. Remove the error messages from the enclosed log. Also Please check the STANDARD COST ERROR - CONTACT xxxx MARKETING.
Transmission log
SALES_HEADER_IN processed successfully (Notification S V4 233)
Sales document 0009000051 is not changed (Notification E V4 219)
Can you please analyse and help me out how to sort out this.
Thanks & Regards
Vikram -
Hi Guys
we created a Salesorder with 10 items in which the material for last item of 118 qty was got abosolute before getting deliveres and a new item was created throught back order on the next day and allocated 1 qty from 118 qty
the remaining Items and one qty conformed was deliverd and got shipped.
here my problem is
the item which i talking got stucked at that level with out making availability check for the remaining 117 qty thought there is stock for that material
and also it is disabling the feilds in the VA02 Tcode to change the status .
the one qty conformed was deliverd and shipped to cust with the othere items
below are the two lines of item in my sales order
120 8201532 118 EA START-DEV ZOBS 0 D 10/17/2006 F002
130 8201786 118 EA START-DEV ZTAN 120 D 10/17/2006 F002
can any tell me please why and where this problem occured
Thanks & Regards
BabuHi,
Check up the material type of the Sales item and the availabillity checking group allocated in the material master.
Reward points if satisfied.
Thanks
Augustine Ponraj -
Problem with sales order consumption
Hi
I hope someone can help? I have a problem with consumption of sales orders in APO. When a sales order comes across from R/3 it doesn't consume the forecast until a later sales order comes across, then the previous one consumes forecast. So all sales orders consume forecast apart from the latest one on each material.
Many thanks
MichaelHi Please confirm the following are right in your strategy configuration in R/3:
Strategy: 40 Planning with final assembly
Reqmts type for indep.reqmts VSF Planning with final assembly
Reqmts class: 101
Consumption: 1 Consume planning with assembly
Planning Ind. 1 Net requirements planning
Reqmt type of customer reqmt KSV Sales order with consumption
Requirements class 050 Warehouse consumpt.
Allocation indicat. 1 Consume planning with assembly
No MRP Requirement planned -
Problem with Sales Order CIF IM-job running longer
We have CIF integratiom Model generation(RIMODGEN) and activation(RIMODAC2) jobs
running everyday in sequence.
One of the jobs is for Sales Order Generation
and activation. The activation job used to take 30-40 seconds earlier(since last
1 year) but for the last month the job has been taking a lot of time to
complete. And that too intermittently. On some days the job completes in 30-40
seconds but on some it takes more than 3000 seconds(and still doesnt complete-
eventually we mark it successful manually to let successor jobs to start).
When we analysed the log for this job transfer in SLG1 we found out that
during activation of this Integration Model, not only Sales Orders pertaining to
new materials(that would have been added within the day between last IM
generation job and current IM generation job) were getting transferred. But
Sales orders pertaining to Materials(which have been active since a number of
days) were also getting transferred. Ideally, any changes/new Sales orders
pertaining to these older materials(which were already in an active integration
model) should have been transferred real time and should not have waited to be
transferred during the IM activation job.
We have also noticed that for
some Sales Olders(for which the materials were already active for long) and
there has been NO change in the Sales Orders are also getting transferred
throguh our IM activation job.
The mesage that we see in the log for
these Sales Order is shown below:
Source system:XXXXXX user: RSP100
transaction CFM2 T_SLS 0001119 function module: /SAPAPO/CIF_XXXXX (As far as I
understand CFM2 T_SLS* prefix is for Sales Order transfer happen during IM
activation job)
"Customer Requirement N BM 0001223200 00010 0001: Method
changed from N to G"
"Customer Requirement 0001223200: Requirement adopted
in APO"Is the full name of the directory where you have your source code Documents and Settings as in Win2k or WinXP. In that case, move the source code to a different directory(you might like to create a separate directory). Note that the directory name should not have spaces in it. Try and see what you get.
-
Problem with Sales order Credit Limit
Hi,
Ex: Customer - A
Credit Limit - 50000
While creating the sales order, if the customer exceeds the credit limit, Block the customer for creating the sales order.
How can i do this
Solution Pls
Rgds
sunficoHi,
Good morning and greetings,
You maintain the credit limits in FD32 and for establishing auto credit check functionalities use OVA8 and you can also specify leverage for +/- deviations...For releasing the blocked orders use VKM2.
Please reward points if found useful
Thanking you
With kindest regards
Ramesh Padmanabhan -
Problem with Sales Order Creation
Hi,
In my sales order creation program if item qty is zero, it should not include that item in the order. It is not working properly with this example it is creating same order for customer 1001 and 1004. It is checking for qty = 0 condition and executing 'continue' statememt , then it is not checking 'At end of kunnr' and creating only one order for all the remaining 4 items from 1001 and 1004 other than 0 qty's.
kunnr matnr qty order#
1001 51038 723 102255
1001 51054 0
1001 51055 0
1004 51038 207 102255
1004 51054 236 102255
1004 51055 219 102255
it should create like this.
kunnr matnr qty order#
1001 51038 723 102255
1001 51054 0
1001 51055 0
1004 51038 207 102256
1004 51054 236 102256
1004 51055 219 102256
Please help me fix this.
Thanks,
veni.Hi,
Here is the code.
WHEN 'ORDERS'.
DESCRIBE TABLE gt_zprice LINES lv_cnt.
DO lv_cnt TIMES.
lv_index = sy-index + 4.
READ LINE lv_index FIELD VALUE chbox.
IF chbox = 'X'.
READ TABLE gt_zprice INTO gs_zprice1 INDEX sy-index.
IF sy-subrc EQ 0.
gs_zprice1-index = sy-index.
APPEND gs_zprice1 TO gt2_zprice.
CLEAR gs_zprice1.
ENDIF.
ENDIF.
CLEAR chbox.
ENDDO.
gt4_zprice[] = gt2_zprice[].
SORT gt4_zprice BY kunnr vtweg.
LOOP AT gt4_zprice INTO gs_zprice1.
IF gs_zprice1-crmemo IS INITIAL.
AT NEW kunnr.
MOVE 'Y' TO lv_flg.
ENDAT.
IF lv_flg EQ 'Y'.
PERFORM headerdata.
PERFORM texts.
CLEAR lv_flg.
ENDIF.
IF gs_zprice1-eohqty IS INITIAL.
CONTINUE.
ENDIF.
PERFORM itemdata.
APPEND gs_zprice1 TO gt3_zprice.
CLEAR gs_zprice1.
AT END OF kunnr.
PERFORM call_function.
PERFORM update_pricetable.
PERFORM errorcheckandcommit.
REFRESH gt2_zprice.
CLEAR chbox.
REFRESH partner.
REFRESH item.
REFRESH itemx.
REFRESH lt_schedules_in.
REFRESH lt_schedules_inx.
REFRESH conditions1.
REFRESH order_text.
lv_itemno = 10.
ENDAT.
ELSE.
REFRESH gt2_zprice.
CLEAR chbox.
ENDIF.
ENDLOOP.
WRITE: /01(179) sy-uline.
PERFORM headings.
WRITE: /01(179) sy-uline.
PERFORM displaydata.
ENDCASE.
Thanks,
Veni. -
Problem with sales order stock.
Hi all,
I have stuck in one problem, please help.
We created one sales order A and after production stock is moved to that sales order.But then we created sales order B and moved stock of A to sales order B(By 413 E?). system created materail document for stock movement but stock was not transfered. we can see that stock is against sales order A only. But material document shows that stock is moved to B. then we deleted Sales order B.
Now the stck is against sales order A. when we try to do shipment systen gives error ' VALUATED STOCK BECOMES NEGATIVE.' Message No. M7 314. We have to.ship this material.
When I see the value of this stock it is showing zero.
Please advice what to do.
Thanks.
Edited by: s j on May 10, 2010 3:25 PMHi!
Have you recently upgraded to EHP4? In this case, please, check the note 1441195. This note should solve the issue that you are reporting.
I hope this helps,
Esther.
Maybe you are looking for
-
Illustrator CS6 EXTREMELY slow since Mavericks update
After upgrading to Mavericks, my whole CS6 suite is extremely slow. It's taking several minutes just to open a file, and equally as long to save. Has anyone else had similar issues? I've looked on the forums and see where other users have issues with
-
How to resolve this issue in FI?
This is the error msg I get "Rules for posting key 40 and acct 476900 set incorrectly for "XREF1" field", Please tell me how can I resolve this issue. Thank You.
-
My Laptop was recently stolen so I need to transfer all my itunes contacts photos etc from an iphone/ipad onto a new mac book any ideas ??? Thanks
-
Can I choose to create a report, instead of it being default?
Hello everyone, I would like to give the operator a choice at the beginning of my main sequence to save results and create a report, or to not save results and not create a report. The users want to be able to run tests to debug a UUT, and don't care
-
Move tool, right click should show exact layer
On mac when you right click with the move tool, it brings up the list of all the layers, plus it starts your mouse over the layer you right clicked on. But in Windows, when I right click, it just starts the mouse on the top left of the list of layers