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,
Janet
The 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
Similar Messages
-
System status NTUP (Dates are not updated)
Hi Guys,
WBS Element has the system status NTUP (Dates are not updated) the option to untick this is greyed out and it is preventing the posting of a journal.
Could you please let me know how to remove this system status.
Regards,
Abdul RehmanHi Amit,
Thanks for your reply,
WBS is released and there is no user status as well but besides NTUP another system status is there i.e ACPT(Order accepted) is this is causing any problem for genral postings?
Could you please also let me know how status NTUP got activated when i am checking in the change log it is not showing any name.
WBS is very much an account assignment element.
Regards,
Abdul Rehman. -
FM which get component and order status & return prod. orders
Hi all
does any one know a FM which get component and order status & return prod. orders?
thankssee the transcation COOIS , i think it will be the details required by you
in the selection at component level block
enter the material no(component) , if required plant and storage location and then execute
hope it will solve ur purpose
so u can suggest for this TCode still u need a custom program u can submit these details from your z program
and get the output
table i am not sure see all these tables AUFK,AFKO,AFPO
cheers
s.janagar
Edited by: janagar sundaramoorthy Nadar on Jul 13, 2009 12:18 PM -
Load status in PSA "Request not updated to any data target using delta"
Hi,
I need to delete the Unwanted request from PSA with status u201CRequest not updated to any data target using deltau201D
There are lot of requests are there in PSA but some of them loaded with status
u201CRequest updated in Data targetu201D u2013 I donu2019t want delete this requests.
Others u201CRequest not updated to any data target using deltau201D -- need to delete
We are deleting manually every week end.
Is there any program or tables which can delete automatically unwanted u201C Request not updated to any data target using deltau201D requests from PSA.
Thanks for your help in Advance,
Raj.Hi Rajesh,
You may create a simple process chain, where you could include the variant "Delete PSA Request".At the bottom of this variant maintenace screen you would find options exactly matching your requirements.It's a very simple option and should not take you more than 5 minutes.
Best Regards,
Bansi. -
Status of Sales Order not changing
Dear Gurus,
Our client's document generation process is that they make a Sales Order for say 100pcs to their Dealer and then the Dealer wants the client to send them 20pcs on a perticular day. To inform the Plant to dispatch 20pcs to the Dealer on that day, client makes another Sales Order (referencing the first Sales Order) for 20pcs on the day of requirement, which the Plant accordingly dispatches after VL01n and VF01.
Now the issue is since we are referencing OR doc type with another OR doc type, system is not changing the status of the first OR even after complete reference, but the second OR is changing to 'Completed' after full referencing to an OBD.
I checked all the combinations but it is not changing. I tried many combination in VTAA for OR to OR and also in VOV7 for diff combinations of Completion Rule.
What else can I do? Kindly help me out here, for which I will ever be greatful.
Thanks and regards
Venkat - Hydwrt: your requirement, have tested & found source doc OR- status is not updating.
But it seems its std behaviour of SAP
eg:
As we know,-Sales Order status will be update based on std customization @ Copy Control / Source doc item category level.
Where as in Std OR - once we create the delivery wrt:OR, then based on copy control maintained as said by the other mates, Order status will get updated accordingly.
Here, OR is created ( updated in delivery due list, status is open).
Now you created another OR wrt: first OR, then there is conflict, in order status updation, because here source document is same in both the cases ( creating subsequent document of Source doc & second OR).
But as per system, first OR status is getting udpated once delivery is created, until then it is in "OPEN" status only, though you create one more OR wrt:first OR.
NOTE: if it is your client requirement you have to go for new documen type ( in std: its given as Contract / Quotation etc..,)
Small observation is, in VTAA Copy control from OR-OR,
status will not get update & the document flow is left blank. Which means, this flow can be used to just create a copy of the actual document w/o updating the status, assumes it can be used to send an order confirmation for a single material , where in actual document contains multi materials.( its just an eg: may not be for single material, could be for any reason) -
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. -
Inbox Search - status for service request not updated
Hi,
In inbox search, the status change for a service request does not reflect until the user log offs or opens the service request in edit mode. PFB the steps followed. (Two users are monitoring the service request but is being processed only by one)
Web UI window 1(User 1): I open the inbox search result page. Service requests are displayed with the status field
Web UI window 2(User 2): In a separate window, the service request is approved by changing the status of the service request to Approved.
Web UI window 1(User 1): In the inbox result screen, i click on search for the same search criteria, but still the old status of the service request(updated in window 2) is displayed.
Observation:
1. If I open the service request, the service request still has the old status. If i click on edit, the new status is displayed. If i click on Back button (without clicking on edit), the new status is refelected for the service request in the inbox result page now.
2. If I log off and again open the inbox result, the new status of the service request is reflected.
3. The status of the service request is updated in the database immediately user 2 changes the status.
There is no enhancement done for the inbox search. The behavior is for standard inbox result.
Please provide any pointers to resolve this issue.
Regards,
Radhika
Edited by: Radhika Chuttani on Jan 5, 2011 7:13 AMRadhika,
This is standard behavior in the SAP inbox. The reason is that SAP buffers search results in the Inbox in order to improve performance. So even though you hit "search" again, SAP does not update the search results because this search has already been executed in this session. Clicking "End" or logging off refreshes the buffer.
SAP released a note to update the "Responsible Employee" in the Inbox without requiring the user to log off. You can see their explanation and the solution here:
https://service.sap.com/sap/support/notes/1465966
If you want to enable inbox refresh every time a search is executed, you will probably have to do custom coding. My guess is that you may be able to leverage the CRM_IC_INBOX_BADI. Let me know if this much info is enough or if you want further details on how to technically achieve this.
Rahul -
How to stop the Confirmation of Prod. Order if GI to Prod Order not done?
Dear all
I am new to PP. Please bear with me with this silly question.
My user always forgets to perform GI to Order using MVT 261 and straightaway go ahead with Confirmation of Production Order (CO11).
It does give rise to some problem that some of the raw materials have been marked as Final Issue in Components Overview of Prod. Order but in real life, those raw materials are still sitting in the warehouse.
Please advise what can I do in system configure so that If GI to Order (MVT 261) has not been done, user is not allow to perform Confirmation of Prod ORder?
THanks in advance!Hey,
GO TO
BS02
1) Create Status Prof with name XYZ,
D.click on Status Prof, Select Object Type as PP/PM
Go Back, now
You will find a user status table
Create status in status tab with two options,
Status Short text int st
Say 1) XY Confirmation not allowed. tick box
2) YZ Confirmation allowed.
Double click on XY Click on Create , You will find sum options with status like allowed, forbidden etc..
Now go to confim Order tab
1) Goods Movement Set radio button on both 'Forbidden' and 'no activity' Button.
Now go back to user status Again, Double click on YZ button,
Again click on Create Button , You will find same options with status like allowed, forbidden etc.. this time you give set for
two options
1) Confirm Order Set Radio Button on both 'Allowed' and 'Set'
2) Goods Movement Set Radio Button on both 'Allowed' and 'Set'
Save the Request.
Go to Order type Parameter assign the Status Profile XYZ to Your Order Type.
This will work out,
Solve Your Problem.
As a Result,
In initial stage system will check the Confirmation status before GI, if Conf is not done system will give error.
If confirmation is done the system changes its status , allows the GI by Checking the Status .
Thank Regards,
J.K.Pavan Kumar.
SAP PP-PI. -
Need a Badi to look the good issue status for prod order before good receipt in MIGO
Hi ,
Need a Badi to look the good issue status for compoents for prod order before good receipt in MIGO.
Example : There are 10 comps need to be issued to production order to make any assy but 6 comps were issued
and remaining 4 comps are not yet issued.,in this situation if I try to do goods receipt for prod order through MIGO.,system should populate the warning
message saying still goods issue are pending for prod order.
Please advise .
Thanks
PrasadHi Prasad,
Before trying with a BAdI, have you tried to control this behaviour thru the Order confirmation parameters (OPK4)?
Note that you can have a termination in case of having problems in the goods movements..
Take a look of this and the SAP help:
Termination of Confirmation if Incorrect Goods Movements
Controls if the confirmation is terminated in the event of incorrect goods
movements.
Use
This enables you to terminate the confirmation in the event of incorrect
items, for example, to prevent postprocessing records.
Dependencies
The indicator is only evaluated if either no process control key or one
process control key has been stored that enbles the goods movements to be posted
in dialog AND for which the "provide error handling for goods movements"
indicator is active. If there are incorrect goods movements, the system behaves
as follows:
A log is issued that gives information on the incorrect goods movements
If these incorrect goods movements are determined by inventory management,
then the option of correcting these errors is offered in the error handling
If the correction is not successful, the confirmation is terminated
Kind Regards,
Mariano -
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 -
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 -
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 -
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
DavyThis 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, -
Hi
I configured the UWL iView. Everything but for the <b>Status</b> of the work item seem to work correctly.
Once any work item is approved or rejected, the UWL will NOT update the status.
I checked the UWL properties to fix this, but I'm having no luck.
Can anyone help me with this issue
Thanks in advance
regards
PriyaHi Priya,
First thing is u can make such changes or set thr status of UWL using API too
But in such case u need the par ..
The property of UWL ststus can me changed using
Class StatusEnum
static StatusEnum COMPLETED
This indicates whether or not the task is completed.
static StatusEnum EXECUTED
This indicates whether or not the task is executed.
static StatusEnum INPROGRESS
This indicates whether item is in progress.
static StatusEnum NEW
This indicates whether the task is new.
static StatusEnum READ
This indicates whether or not the item is read.
U can find the detailed API --<a href="https://help.sap.com/javadocs/NW04S/current/uw/index.html">UWL API</a>
Thanks,
Swathi
<i>Pls offer points if helped in any way</i> -
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
Maybe you are looking for
-
CIC0 -- BSP in R/3 -- Download File -- SSO not working
Hi SDN Gurus, I have a peculiar situation and am hoping for some guidance. We are running several BSP's internally via CIC0 in CRM. These BSP's are actually developed in the R/3 backed system. One of the BSP's downloads a file from the SAP system. Wh
-
Hello gurus, we have a SAP GTS-client connected to our ERP quality assurance (QA) system for testing purposes. Now, we are planning to do a client copy from our ERP production system to our ERP QA-system. After that, there will be a inconsistency bet
-
Looking for iPhone TTY Adapter Cable
I use the Ultratec Superprint TTY for communicating with other TTY devices, or call a Relay System operator to communicate with hearing people. The TTY device has couplers to accept a land line telephone. The iPhone 5 has a TTY switch to connect the
-
Synchonize Form on Popup to Selected Record of Table
I'm trying to recreate what I've done on OAS Portals in Weblogic/ADF. I have JDeveloper 11.1.1.2.0. What I need to do seems to be a little different than the tutorials: I need something like the Master/Detail tutorial, but instead of the detail being
-
I can't get in my iPod and it won't reset unless i put in my pass code which i don't know what should i do ?