Specific order not updated in MI
Hi,
I have a PM order for which no update (in description, operation or anything else...) that we do in R/3 PM can reach middleware. It's linked notification updates reach MI with no problem. All other orders update work just fine as well. Only this given order is not updated in MI.
I thought that it was F.M. MAM30_001_CHANGE that would be called to update it in middleware, but it is not used. What F.M. is used to update order in middeware?
Is there anybody that could give me a hint about my issue?
Thanks
Davy
This may be due to schedule line category in the sales order ->item level.
In t.code VA03, enter the sales order number. Then highlight line item and click on schedule lines for items button on the bottom. Find the schedule line category derived for the item under schedule line category column.
Then go to t.code VOV6. Select the schedule line that you found in the sales order and click on details button. Under transaction flow, you will find Req/Assembly field, which may NOT be checked in your case. If this field is not checked, then the requirement will not be passed to MRP.
If this is checked and still you dont see the details in MD04, then run report SDRQCR21 in SA38 and check again.
Regards,
Similar Messages
-
BAPI_GOODSMVT_CREATE for production order,not update database
hi guru,
i am using BAPI_GOODSMVT_CREATE for production order.When i m testing this BAPI
at se37 it creates one mat doc no and i m not getting any return messages.Now i m
writing code for it at se38. but it does not update the database even though i used
bapi_transaction_commit. here sy-subrc = 0.bt when i m checking MSEG table showing
that mat doc no does not exists.
please help me out asap.
thanks and regurds,
manasiCHECK THIS CODE
REPORT ZBAPI_GOODSMVT_CREATE.
*DECLARING INTERNAL TABLE TO HOLD FILE DATA.
DATA: BEGIN OF itab OCCURS 0,
text(200),
END OF itab.
*DECLARING INTERNAL TABLE TO PASS FILE DATA.
TYPES: BEGIN OF tw_goodsmvt,
pstng_date TYPE budat,
doc_date TYPE bldat,
material TYPE matnr,
plant TYPE werks_d,
stge_loc TYPE lgort_d,
move_type TYPE bwart,
* entry_qnt TYPE erfmg,
costcenter TYPE kostl,
END OF tw_goodsmvt,
tt_goodsmvt TYPE STANDARD TABLE OF tw_goodsmvt.
DATA: lt_goodsmvt TYPE tt_goodsmvt,
lw_goodsmvt TYPE tw_goodsmvt.
*declaring internal table of bapi structure.
DATA:s_goodsmvt_header LIKE bapi2017_gm_head_01,
lt_goodsmvt_item TYPE STANDARD TABLE OF bapi2017_gm_item_create WITH HEADER LINE,
lt_return TYPE STANDARD TABLE OF bapiret2 WITH HEADER LINE.
DATA:str_filename TYPE string,
gm_code TYPE gm_code,
v_head_count TYPE i VALUE 0,
v_prev_count TYPE i VALUE 1,
v_qnt TYPE string,
v_dummy.
*selection screen
SELECTION-SCREEN BEGIN OF BLOCK bk with frame title text_001.
PARAMETERS:p_docdat TYPE bldat,
p_pstdat TYPE budat,
fname LIKE rlgrap-filename.
SELECTION-SCREEN END OF BLOCK bk.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR fname.
*to provide F4 functionality.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
program_name = syst-cprog
IMPORTING
file_name = fname.
* start of selection
START-OF-SELECTION.
str_filename = fname.
gm_code = '06'.
* to upload data
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = str_filename
filetype = 'ASC'
has_field_separator = 'X'
read_by_line = 'X'
TABLES
data_tab = itab.
*SPLITING DATA TO INTERNAL TABLES.
LOOP AT itab.
IF itab+0(1) EQ 'H'.
v_head_count = v_head_count + 1.
IF v_head_count GT v_prev_count.
PERFORM bapi_upload.
ENDIF.
SPLIT itab-text AT ',' INTO v_dummy
lw_goodsmvt-pstng_date
lw_goodsmvt-doc_date.
s_goodsmvt_header-doc_date = lw_goodsmvt-doc_date.
s_goodsmvt_header-pstng_date = lw_goodsmvt-pstng_date.
v_prev_count = v_head_count.
ELSEIF itab+0(1) EQ 'L'.
SPLIT itab-text AT ',' INTO v_dummy
lw_goodsmvt-material
lw_goodsmvt-plant
lw_goodsmvt-stge_loc
lw_goodsmvt-move_type
v_qnt
lw_goodsmvt-costcenter.
* PASSING DATA TO INTERNAL TABLE TYPE BAPI STRUCTURE.
lt_goodsmvt_item-material = lw_goodsmvt-material.
lt_goodsmvt_item-plant = lw_goodsmvt-plant.
lt_goodsmvt_item-stge_loc = lw_goodsmvt-stge_loc.
lt_goodsmvt_item-move_type = lw_goodsmvt-move_type.
lt_goodsmvt_item-entry_qnt = v_qnt.
lt_goodsmvt_item-costcenter = lw_goodsmvt-costcenter.
APPEND lt_goodsmvt_item.
ENDIF.
v_prev_count = v_head_count.
ENDLOOP.
PERFORM bapi_upload.
*& Form bapi_upload
form bapi_upload .
CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
EXPORTING
goodsmvt_header = s_goodsmvt_header
goodsmvt_code = gm_code
* TESTRUN = ' '
* IMPORTING
* GOODSMVT_HEADRET =
* MATERIALDOCUMENT =
* MATDOCUMENTYEAR =
tables
goodsmvt_item = lt_goodsmvt_item
* GOODSMVT_SERIALNUMBER =
return = lt_return.
PERFORM commit_work TABLES lt_return.
CLEAR : lw_goodsmvt, s_goodsmvt_header.
REFRESH: lt_goodsmvt[], lt_goodsmvt_item[].
endform. " bapi_upload
*& Form commit_work
* text
* -->P_LT_RETURN text
form commit_work tables p_lt_return structure bapiret2.
IF NOT lt_return[] IS INITIAL.
*error handling
loop at lt_return.
CALL FUNCTION 'FORMAT_MESSAGE'
EXPORTING
ID = lt_return-id
LANG = sy-langu
NO = lt_return-NUMBER
V1 = lt_return-message_v1
V2 = lt_return-message_v2
V3 = lt_return-message_v3
V4 = lt_return-message_v4
IMPORTING
MSG = lt_return-MESSAGE
EXCEPTIONS
NOT_FOUND = 1
OTHERS = 2.
WRITE: lt_return-id, lt_return-message, lt_return-message_v1, lt_return-message_v2,
lt_return-message_v3, lt_return-message_v4.
CLEAR lt_return.
ENDLOOP.
ELSE.
* commit work
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
* EXPORTING
* WAIT =
IMPORTING
RETURN = lt_return.
WRITE: lt_return-id, lt_return-message, lt_return-message_v1, lt_return-message_v2,
lt_return-message_v3, lt_return-message_v4.
CLEAR lt_return.
endif.
endform. " commit_work -
Scheduled finish date for process orders not updating in BW
We are having problems with the scheduled finish date (GLTRS) for process orders. When the process order is already released, changes done in R/3 on the scheduled finish date will not result to a delta hence data in BW is not updated. Table AFKO, where data is coming from, is always updated with the changes though. 2LIS_04_P_MATNR is used in extracting the data.
Has anyone experienced the same problem? We are looking for possible ways on how to have a delta whenever there are changes on the process order even after it is already released.
Any help would be greatly appreciated...Hi Donna,
If I've understood your problem correctly, you can increase the load frequency as Sriee has pointed out.
If you want latest data frequently and if you are on BI 7.0 then you can look at Real Time Data Acquisition(RDA)
Regards,
Tom. -
Price in orders not updated by DTW
Hi experts,
I'm trying to update price in order lines with DTW 88.0.11
The DTW returns no error but the price is not updated.
During the DTW, I saw in the tab 'Target Data' of the step 5, the row 'price' with the new value.
Is there a good reason for the data not been updated?
Regards,
FrancisHi Jim,
Thanks for your answer.
I've thought to use your solution if no better one.
But I would have to calculate this price after VAT. It's possible but no simple...
Best Regards,
Francis -
GR for Production Order, not updating Stock
Hi All,
Issue:
I am posting a GR for a production order, but the stock qty is not getting updated. I checked in MB51, i find the document being posted, but in MMBE the stock is not updated. In the system, there is 2 settlement profiles, one which allows settlement on material & the other only on G/L or Cost Center. I find this issue only when i create orders which have settlement receivers as G/L or Cost Center, also in MB51 i find that the sloc field is blank, even though it is maintained in the order & the same is seen when i receive via MB31.
Await your inputs as to where i need to check to resolve this issue.
Regards,
VivekHi Prasobh,
I believe your pointing in the right direction. My suspicion is on similar lines.
A brief backdrop:
Order is created, whose settlement is to be done on a G/L acct, the settlement profile does not allow settlement onto material & hence in the GR tab, the GR non-valuated indicator is ticked. I manually ticked the GR indicator to post GR via MB31.
In MB51 i find the material document, but what is interesting is, the storage location field is blank, even though the order contains this value, which was later seen during MB31 posting as well.
But a similar order has been created in the legacy system with the same parameters as above & i find the stock to be updated.
So i suspect, it is something to do with the account determination, which is not allowing the quantity updation to take place, because of the GR non-valuated tick in the order header.
Hope i was able to put across the issue to you in a clear way.
Regards,
Vivek -
Configuration data on sales order not update with idoc ORDERS05
Hi All,
I'm trying to post Inbound ORDERS05 to create a sales order with configuration data. In particular i'm using the messsage type ORDERS, process code J3AA (identification J_4A_IDOC_INPUT_ORDERS).
On the IDOC tree, segments E1CUREF,E1CUCFG,E1CUINS,E1CUVAL are correctly valorized.
It is creating the order but not updating the configuration data, can someone please let me know if there are other fields/Segments that need to be populated in order to get the config updated in the sales order ?
Thanks
PiergiorgioHi ,
I am facing similar issue ( Configuring data in orders idoc )
Please give your inputs if your successfully
Thanks,
Raghu.. -
Production orders not updated in Live Cache
Hi All,
We are currently facing a strange issue. Planned orders created in APO are converted into Production orders in R/3. When they are CIFfed to APO, those prodcution orders are captured in Product view but are not updated in either /SAPAPO/OM16 or Production list (/SAPAPO/PPL1). In these two transactions the production orders are not visible but their respective planned orders are showing up.
When delta report is executed for Production orders with "Consider Requirements/Receipts" as sub-object, these orders are captured with Error code 501 (Requirement/Receipt for the order exists only in R/3). When pushed to APO, these orders are updated in the Live Cache.
Can anyone share your thoughts on what could be the root cause for this issue.
Appreciate your thoughts
Thanks,
SaiThanks Vikas and Senthil,
Its not the issue with all the Production orders. The issue is with only few orders and we are in the process of tracing out the pattern.
Our Primary concern is that the orders captured in the delta report are visible in Product view even without taking any action in CCR but are missing in OM16. Its only after taking the action those orders are visible in OM16. I believe the data in the product view is read from Live Cache and the Live Cache contents are displayed in OM16. So, whatever orders visible in Product view have to be displayed in OM16 which is not happening.
Please let me know if I am missing anything.
Thanks,
Sai -
Status of Prod Order not updated as delta - 2LIS_04_P_COMP
Hi all,
We are currently using 2LIS_04_P_COMP to update the data to BI. We have enhanced the DS to include the status of the prod order from table JEST. However it seems that this is not getting updated to BI server whenever prod order change its status. There is a delta queue when I see in tcode LBWQ and then I run the collective update in LBWE and then it will disappear from the queue which is correct. But when I see in RSA7, there is nothing and also I run the infopackage in BI server, it cannot get any data. Anybody has this issue before?
Many thanks in advance.
Regards,
JanetThe delta will only be captured if the Production Order actually changes. When a change is made to the status of an object in JEST, or JCDS, it doesn't register as a change on the object. Therefore, changes in Production Order status won't invoke a change on the source tables for Production Orders and therefore not get captured on the 2LIS_04_P_COMP or 0PRODORDER_ATTR DataSiources.
If you need to capture the changes in status for Production Orders, you will have to create a generic DataSource that is sourced by the JEST table and join it with the Production Order in BW.
Edited by: Dennis Scoville on Sep 17, 2009 8:16 PM -
Playlist order not updating!
I have been using my iPod Shuffle for several months to listen to podcasts, among other things. I know how to drag files in the playlist so I know what will play first.
For some reason now, the playlist shown in iTunes (6.01) is NOT reflected on my iPod. This is driving me NUTS! I have tried restoring my iPod several times. After all files are copied back to the iPod, they play in some other order than the order shown in iTunes.
I know how it's SUPPOSED to work. As I said, I have been using it to listen to podcasts for several months.
Could there be a corrupt file on my system? I have had a system freeze. I have run scandisk and updated iTunes. Should I rebuild my library? What would be the easiest way to do that?
Thanks,
TimHi Tim,
Take a look at this thread which covers this issue and explains how to set the play order:
http://discussions.info.apple.com/webx?128@@.68bcfa2b
Also, jmurray is right, podcasts always play first.
Hope that helps,
Sara. -
Sales Order not updated in MD04
Dear Gurus
Sales order is not getting updated in MD 04 for few Materials and those materials are not relevant for MRP.
Kindly help me in this regard
Thnx
MKThis may be due to schedule line category in the sales order ->item level.
In t.code VA03, enter the sales order number. Then highlight line item and click on schedule lines for items button on the bottom. Find the schedule line category derived for the item under schedule line category column.
Then go to t.code VOV6. Select the schedule line that you found in the sales order and click on details button. Under transaction flow, you will find Req/Assembly field, which may NOT be checked in your case. If this field is not checked, then the requirement will not be passed to MRP.
If this is checked and still you dont see the details in MD04, then run report SDRQCR21 in SA38 and check again.
Regards, -
Sched Line On Sales Order Not Updated with Network Date
My client is using Assembly to Order (ETO) where the sales order creates the network and project. The client wants all project date changes reflected on the sales order since many prior custom programs have been developed to read sales order dates. When the delivery date (network finish date) is moved out on the network (especially once any network activities are released) from the original requested delivery date on the sales order the scheduled line item is always updated correctly and the sales order dates match those on the project. However, if the date is moved to any earlier date, the sales order scheduled date remains unchanged. We are not using availability control since this is Engineer to Order. Is there any configuration we are missing which is causing the sales order dates to not move inward but only outward to match the network?
Thanks for any direction you can provide.
JBThank you for the quick response Amaresh,
Just for clarification- the custom programs are only used to read dates from SD line items and feed them out to a portal for customers to see anticipated delivery dates. They have no impact on date scheduling. That said...we want to understand if this is normal SAP behavior that the date on the sales order is NOT moved earlier but is moved later when a network is involved or if we are missing some configuration settings. I think this may be what you are saying but want to be sure we are on the same page.
Thanks again. I really appreciate any assistance we may get as we are at a loss.
Very Best Regards,
JB -
Sort Key 0014 (Purchase Order) not updated in Assignment Field
Hi SDN experts,
I assigned Sory Key 0014 to one of my vendors, after which I tried to post a PO, GR and eventually the IR.
However, upon checking the FBL1N report, system does not populate it with the Purchase Order Number.
Any step I missed out?
Also, the Purchasing Document number is empty. Shouldn't this be populated by the invoice document? (MIRO)
RegardsHi
In FBL1N, PO will not be displayed in the Assignment field just by giving Sort Key as Assignment Field. You need to implement BTE 1650 in FIBF and write your code to populate it. The logic why sort key of PO will not populate it , because from Version 4 onwards, R/3 aqllows, single Invoice Verification against Multiple PO. Even in the BTE Implementation, you will be able to populate only the First PO Line Item No only, if you do a single invoice verification against multiple PO of the Vendor.
Regards
Sanil Bhandari -
VERSION FIELD FROM SALES ORDER NOT APPEARING IN COOIS REPORT
DEAR ALL,
I am working on make to order scenario. Version field from sales order not updated when im taking MRP Run for specific Sales order in COOIS Report. But when iam creating production order with T. COde CO08 field getting updated. Its very important to get vrsion field as we have maintain old sales order No. in same. How this problem will get resolved?
Regards
AtulAtul,
"MRP run" does not normally create production orders, MRP creates Planned orders. Planned orders do not contain Sales order version. I have never used this field before, but I would not be surprised if the behavior you are describing is 'standard'. When you create a production order using CO08, you are creating a 'production order with reference to a Sales order' (which contains Sales Version). When you create a production order using, say, CO40 or CO41, or using a program such as PPBICO40 in Batch, you are creating a 'production order with reference to a Planned order', (which does not contain version).
If it is imperative that you have the Sales Order version number in all production orders, you could see if Planning Strategy 82 (Assemble to order) production orders contain the data you seek. Otherwise, I am afraid you will have to have your ABAPers write some custom code to update this field in the production order.
Another way to get sales order data into the production order, that does NOT require custom code, is by using Item Texts in the Sales order. Any text placed in the Sales Order Item Text Field Production Memo (Text ID 0006) can be configured to be duplicated automatically in the Production order in an MTO environment. Production Memo then displays as another Tab in CO02.
Regards,
DB49 -
Error: Can't Add a New Sales Order: -10 Exchange rate not updated,
Hi,
I'm trying to add several Sales Orders contained in a XML document, whose root element corresponds to the Sales Person created that XML. Anyway, after I fill a Sales Order Document Object with the info in the XML and try to add it the following error appears: "Exchange rate not updated [RDR1.U_Desc4][line: 2] , 'USD'" Which is strange because this company handles most of its transactions in MXP Currency. I will post the piece of Code that fills the object hoping it helps:
For Each xndSalesOrder In xmlSalesOrder.Item("SalesMan").ChildNodes
oSalesOrder = Me.Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders)
oSalesOrder.DocType = SAPbobsCOM.BoDocumentTypes.dDocument_Items
With xndSalesOrder.Item("HEADER")
oSalesOrder.CardCode = .Item("Deudor").InnerText
oSalesOrder.DocDate = DateTime.Parse(.Item("FechaCont").InnerText, Nothing)
oSalesOrder.DocDueDate = DateTime.Parse(.Item("FechaEnt").InnerText, Nothing)
oSalesOrder.Comments = .Item("Observaciones").InnerText
oSalesOrder.DocRate = 11
oSalesOrder.DocCurrency = "MXP"
'oSalesOrder.ContactPersonCode = .Item("Contacto").InnerText
'User Fields
oSalesOrder.UserFields.Fields.Item("U_RefOV").Value = _
xndSalesOrder.Attributes.Item(0).InnerText
oSalesOrder.UserFields.Fields.Item("U_Referencia2").Value = .Item("Referencia").InnerText
oSalesOrder.UserFields.Fields.Item("U_FechaReferencia").Value = _
DateTime.Parse(.Item("FechaReferencia").InnerText, Nothing)
End With
With xndSalesOrder.Item("LINEAS")
For Each xndLinea In .ChildNodes
If intContLineas >= 1 Then oSalesOrder.Lines.Add()
End If
oSalesOrder.Lines.ItemCode = xndLinea.Item("Articulo").InnerText
oSalesOrder.Lines.Quantity = CDbl(xndLinea.Item("Cantidad").InnerText)
oSalesOrder.Lines.Price = CDbl(xndLinea.Item("Precio").InnerText)
oSalesOrder.Lines.TaxCode = xndLinea.Item("Impuesto").InnerText
oSalesOrder.Lines.DiscountPercent = CDbl(xndLinea.Item("DescuentoTotal").InnerText)
oSalesOrder.Lines.SalesPersonCode = xmlSalesOrder.Item("SalesMan").Attributes.Item(0).InnerText
oSalesOrder.Lines.Currency = "MXP"
'User Fields
oSalesOrder.Lines.UserFields.Fields.Item("U_Promocion").Value = _
xndLinea.Item("AplicaProm").InnerText 'Valores posibles: Si, No
oSalesOrder.Lines.UserFields.Fields.Item("U_Desc1").Value = _
CInt(xndLinea.Item("Descuento1").InnerText)
oSalesOrder.Lines.UserFields.Fields.Item("U_Desc2").Value = _
CInt(xndLinea.Item("Descuento2").InnerText)
oSalesOrder.Lines.UserFields.Fields.Item("U_Desc3").Value = _
CInt(xndLinea.Item("Descuento3").InnerText)
'If xndLinea.Item("AplicaProm").InnerText = "Si" Then
oSalesOrder.Lines.UserFields.Fields.Item("U_Desc4").Value = _
CInt(xndLinea.Item("Descuento4").InnerText) 'This is the UDF that's giving me problems!!!
'End If
intContLineas += 1
Next
If oSalesOrder.Add() <> 0 Then
Me.Company.GetLastError(intErrorAdd, sErrMsgAdd)
If (0 <> intErrorAdd) Then
FillLog("Sales Order Error: " & CStr(intErrorAdd) & "," & sErrMsgAdd)
End If
xmlLogSalesOrder.Item
End If
End With
Next
If you look at the code I've even tried the solution of hardcoding the DocRate and the Currency as seen in a similar post about the DTW.
Sorry if code is in Spanglish, its quite late around here. I hope you can help me because it's kind of an urgent matter and I can't seem to find a solution for it.
Other useful data: SAP BO 2005 Patch 4.
Thanks in advance...
Alfredo GargariHi Alfredo,
Have you tried to add the same salesorder by hand, I think you wil first get a form with exchange rates.
I think you should add a check to your program to check for an update currency rate (the sbobob function GetCurrencyRate does this for you).
GetCurrencyRate MethodDescription
Returns a Recordset object that contains the currency rate for a specified date and currency code.
See Currency Bobs sample.
Syntax
Public Function GetCurrencyRate( _
ByVal Currency As String, _
ByVal Date As Date _
) As Recordset
Parameters
Currency
Specifies the currency code.
Date
Specifies the date for the currency exchange rate.
Return Type
A Recordset object that contains one field named CurrencyRate that holds the rate value.
SAP Business One returns 0 if the system cannot find the exchange rate.
Regards,
Ad -
Work order should not update the fields in PR
Hi Gurus
My requirements is that workorder should not updates the purchasing data fields in PR do not go to the shoping cart. How can make it possible.
Thanks in AdvanceHi,
I am not sure of your requirement clearly but check up the below user exits :-
COZF0001 Change purchase req. for externally processed operation
COZF0002 Change purchase req. for externally procured component
or BADI :- IWO1_PREQ_BADI BAdI for Manipulation of P.Reqs from Orders + Networks ,SE18
regrds
pushpa
Maybe you are looking for
-
Assign chart of account to a new company code
Dear all, I have created a new company code in system(copy an existing company code data). When I am going to a new chart of account to the new company code, system display an error message as follows: Reset company code data before changing the char
-
How i can delte Apple ID from my iphone
i have a iphone 4s AND i forgot my Apple I'd AND password how i can delte Apple ID AND password from my iphone please help me
-
We're planning on making some significant enhancements to an applicaiton that is currently hosted on WL6.1. The user permissions/roles/etc are currently handled within the application, using cutom database tables. One of the key pieces of functionali
-
A footnote on the OTN download page says this is only shipped out-of-the-box and not available online. I have a box full of CD's from Oracle, marked PeopleStoft 8.48 Media Pack. It includes CD's for BEA WebLogic Server and Oracle App Server. Am I loo
-
Minulla on LV 2012 projekti, jossa on laitteina vanha 2000-sarjan Fieldpoint ja cRio. Molemmissa RT-targeteissa pyörii verkkomuuttujaserveri, jonka muuttujia luen yhteisellä sovelluksella. Jostain syystä nyt projektissa tämä vanha Fieldpoint näkyy ke