CRMD_ORDER and Item Status
Hello Frds,
I want to find a way to be able to change the Item status in a sales order dynamically.
My users are corrently changing Item status manually but for replication its mandatory to have all line items to One status. So somestatus i can not change abck. Can you please advice me if there is anyway to change the Item stats to intitial status? or to which ever the status we want?
thanks and regards,
Lata.
Hi,
From my understanding your problem is to change the Status to Initial manually. You can achieve this by changing the Status profile that has been assigned to the Transaction Types and Item Categories.
In the Status profile you need to change the Lowest Status and Highest Status possible. In the lowest status possible you need to put the lowest status number. Then you can make the status change from the lowest range to the highest range.
Have a look at this link for status management.
http://help.sap.com/saphelp_crm60/helpdata/en/5b/e4f53911cac83ce10000000a114084/frameset.htm
Hope this will help.
Similar Messages
-
Order and item status in sales order
We had multiple items in the sales order
for one of the item, the quantity was 5, but user cretaed a delivery of 8. but she only post goods issue for 5.
the delivery and order was open
at this stage the archival of delivery took place.
we changed the status in tables vbuk and vbup to complete.
but in the display of status in sales order, it still shows being processed.
What can we do now to set the order status and item status to COMPLETE.
Thank you for your replyHi,
This order status will not be complete unless the delivered quantity is equal to the order quantity. You have 2 options. 1. Change the order quantity to 8 and delliver the rest 3 and the order status will be set to COMPLETE. 2. Otherwise, reverse the PGI in VL09n and delete the delivery and create the delivery again for 5 qty. This will set the order status as COMPLETE.
Regards,
Raghav -
Locator Status and Item Status
Business is using locator status as well as stock status. Under an active locator stock can be inactive.
E.g. Under active locator A, stock X can be inactive
Under active locator B, stock X can be active
But in Oracle we can have only locator status. Is there any workaround to achieve the requirement.
We have suggested that when stock is active or inactive change the locator status to active or inactive respectively. But there is manual intervention to bring the actual locator status.You must have selected Delivery completed option in item detail before you delete line item.
Just check in item detail delivery tab.
Also, what do you see for the following fields of status tab in header?
Ordered
Delivered
Still to deliv. -
Extracting Line Item and Line Item Status
We are on version 3.5 of BW.
I have a requirement to associate each row in the change log of the ODS - Sales Order: Item Status to a row in the change log of the ODS - Sales Order Item Data.
For example:
When there is a status change recorded in a "before" and "after" image rows in the Item Status change log, how do I associate that to the "before" and "after" image rows in the Sales Order Item Data. Likewise of there is a "N"ew record in the Item Status, how can I associate that row to the "N"ew row in the change log for the Sales Order Item Data.
Is this even possible?Thanks for your reply. However can you be a bit more explicit using the terms:
Sales Item Change Log
Sales Item Active Data
Sales Item STATUS Change Log
Sales Item STATUS Active Data
Any other table you may be using.
In what table(s) are these counters and how do they cross reference each other? How are you incrementing a counter in the Sales Item ODS and cross referencing it to a counter in the Sales Item STATUS ODS? Remember what I want to do is reference a row in the STATUS ODS to a row in the Sales Item ODS.
Again, thanks! -
How to find the header and item level status of a CRM contract ?
Hi,
Few questions
A. How to find the header and item level status of a CRM contract ? My req is to select all the contract line items which are in CLOSED status.
B. How to get the BPs associated with a contract ?
Anyone have the list of CRM tables and the relation amongst them. Please mail me in [email protected]CRMD_ORDERADM_H Contains the Header Information for a Business Transaction.
Note:
1. It doesnt store the Business Partner
responsible for the transaction. To
get the Partner No, link it with
CRM_ORDER_INDEX.
2. This table can be used for search
based on the Object Id(Business
Transaction No).
CRMD_CUSTOMER_H Additional Site Details at the Header Level of a Business Transaction
CRMD_LINK Transaction GUID set for all the Business Transactions
CRMD_ORDER_INDEX Contains Header as well as Item details for a Business Transaction.
Note:
1. It doesnt store the Business
Transaction No (Object ID).
To get the Business Transaction No
link the table with
CRMD_ORDERADM_H
2. This table can be used for search
based on the Partner No
CRMD_ORDERADM_I Stores the Item information for a Business Transaction. The scenarios where we have a Contract Header and within contract we have Line Items for the contract, this table can be useful.
E.g. Service Contracts
CRMD_CUSTOMER_I Additional Site Details at the Item Level of a Service Contract
Pl.reward points....... -
System status and user status in Line Item Reports
Dear PS-friends,
I have to extend the CI CI_PROJ with some new fields. These fields should be shown in diverse Line Item Reports (CJI3 u2026).
I know how to get these customer fields into the field catalog for the reports (maintain include table CI_RKPOS, EXIT_SAPLKAEP_001 and ViewCluster V_TKALV).
Now our customer wishes that 2 of the new fields are: system status and user status. The status should be shown in CJI3 as a concatenated field as you see it in CJ20N.
In CN42 there is the column system status as a standard column. But I cannot find the structure CNJ_STAT included in V_TKALV for Line Item Report Object=PD.
Has anybody an idea how it works to show the system status and user status in Line Item Reports.
Thanks in advance!Problem is solved.
I wrote a function module using FM 'STATUS_TEXT_EDIT' and concatenated line and user_line. -
User Status update on Header and Item in Sales Order
Hi,
I need to update the user status in both the header and Item based on some conditions. I checked the user exit's under 'MV45AFZZ' but no use.
Could any one please provide me where I can write the code to upate user status in header and Item.
Thanks
Srihari.
Edited by: SrihariKonduru on Dec 23, 2009 4:21 PMHi,
Thanks for quick reply.
But I think this will be updated the satus using a report program. But in my case if the user creates a sales order or he is in change mode based on the selection of Distribution channels and Dunning key's I need to update the satus.
For this I need a exit to write the code. And also I required sample code snippet to update the status in user exit. If that availble it will be great help to me.
Thanks
Srihari. -
A better way to get current and previous status?
I'm working on a system where status messages are read into a table for items of equipment. My requirement is to find all the messages arriving within a particular time window, together with the status value and the status value for the previous message sent for that equipment item, if any. This previous message can (and probably will) have a date outside the window I'm looking at, or might not exist at all for a brand new equipment item.
The table looks something like this:
create table eq_state
(eq_id NUMBER, -- ID of the equipment
event_date DATE, -- Date/Time of the message
status NUMBER) -- Status passed in the messageThere are indexes on (event_date,eq_id) and on eq_id. It'll get very big, so it's important that indexes are used wherever possible.
Here's what I have so far:
WITH eq_state AS
SELECT 1 eq_id, TO_DATE('01/05/2013 12:01:00','DD/MM/YYYY HH:MI:SS') event_date, 1 status FROM DUAL
UNION ALL
SELECT 2 eq_id, TO_DATE('01/05/2013 01:01:00','DD/MM/YYYY HH:MI:SS') event_date, 2 status FROM DUAL
UNION ALL
SELECT 2 eq_id, TO_DATE('01/05/2013 12:02:00','DD/MM/YYYY HH:MI:SS') event_date, 3 status FROM DUAL
UNION ALL
SELECT 3 eq_id, TO_DATE('01/05/2013 10:00:00','DD/MM/YYYY HH:MI:SS') event_date, 4 status FROM DUAL
UNION ALL
SELECT 3 eq_id, TO_DATE('01/05/2013 12:03:00','DD/MM/YYYY HH:MI:SS') event_date, 5 status FROM DUAL
UNION ALL
SELECT 3 eq_id, TO_DATE('01/05/2013 12:04:00','DD/MM/YYYY HH:MI:SS') event_date, 6 status FROM DUAL
SELECT eq_id,TO_CHAR(event_date,'DD/MM/YYYY HH:MI:SS') event_date,curr_state,prev_state
FROM (SELECT Es.Eq_Id,
Es.Event_Date,
Es.Status AS Curr_State,
Es2.Status AS Prev_State,
RANK() OVER (PARTITION BY es.eq_id,es.event_date ORDER BY es2.event_date DESC) the_rank
FROM Eq_State Es
LEFT OUTER JOIN Eq_State Es2
ON Es2.Eq_Id = Es.Eq_Id
AND Es2.Event_Date < Es.Event_Date
WHERE Es.Event_Date BETWEEN TO_DATE('01/05/2013 12:00:00','DD/MM/YYYY HH:MI:SS')
AND TO_DATE('01/05/2013 12:05:00','DD/MM/YYYY HH:MI:SS')) x
WHERE the_rank = 1
ORDER BY 1,2This gives me the desired results and seems to use sensible indexes (I'll spare you the explain plan):
EQ_ID EVENT_DATE CURR_STATE PREV_STATE
1 01/05/2013 12:01:00 1
2 01/05/2013 12:02:00 3 2
3 01/05/2013 12:03:00 5 4
3 01/05/2013 12:04:00 6 5So what's the problem? Just curiosity really - the technique of finding the RANK() in the inline view, and then selecting rows where it's equal to 1 seems like a bit of a kludge. Is there a more elegant way to do it? Maybe something using LAG() or KEEP DENSE_RANK LAST?
I'm still not really up-to-speed with analytic functions, so I'm hoping to learn something from those of you that are!
ORACLE 11.2.0.1.0 by the wayI would use another way, firstly sorting by any unique criteria and using joins
WITH eq_state AS
SELECT 1 eq_id, TO_DATE('01/05/2013 12:01:00','DD/MM/YYYY HH:MI:SS') event_date, 1 status FROM DUAL
UNION ALL
SELECT 2 eq_id, TO_DATE('01/05/2013 01:01:00','DD/MM/YYYY HH:MI:SS') event_date, 2 status FROM DUAL
UNION ALL
SELECT 2 eq_id, TO_DATE('01/05/2013 12:02:00','DD/MM/YYYY HH:MI:SS') event_date, 3 status FROM DUAL
UNION ALL
SELECT 3 eq_id, TO_DATE('01/05/2013 10:00:00','DD/MM/YYYY HH:MI:SS') event_date, 4 status FROM DUAL
UNION ALL
SELECT 3 eq_id, TO_DATE('01/05/2013 12:03:00','DD/MM/YYYY HH:MI:SS') event_date, 5 status FROM DUAL
UNION ALL
SELECT 3 eq_id, TO_DATE('01/05/2013 12:04:00','DD/MM/YYYY HH:MI:SS') event_date, 6 status FROM DUAL
), sorted as (
select row_number() over (order by a.event_date) as rn, a.* from eq_state a
select * from sorted s1
left join sorted s2 on (s2.rn = s1.rn -1)
order by s1.rn
RN EQ_ID EVENT_DATE STATUS RN EQ_ID EVENT_DATE STATUS
1 2 01.05.2013 01:01:00 2
2 3 01.05.2013 10:00:00 4 1 2 01.05.2013 01:01:00 2
3 1 01.05.2013 12:01:00 1 2 3 01.05.2013 10:00:00 4
4 2 01.05.2013 12:02:00 3 3 1 01.05.2013 12:01:00 1
5 3 01.05.2013 12:03:00 5 4 2 01.05.2013 12:02:00 3
6 3 01.05.2013 12:04:00 6 5 3 01.05.2013 12:03:00 5 -
Item Status can be controlled for open Sales Order
Hi All,
Is there anyway we impose restriction on changing the status of the item if there are any open Sales Order against it? Example: If an item A is in Active Status and has a Sales Order with Awaiting Shipping Status. Before the order is booked if someone changes the item status to Inactive, is there anyway we can prevent it from changing the status if there are any open Orders against it?
Version: 11.5.10.2
This is urgent please.
Thanks,
AshishHi Sandeep,
Thx for the quick update. I have tried to update the status of an item to obsolete when Sales Order Line exist against the item. It is giving the following error. I have tried with Custom Code off. So my assumption is there should not be any personalization. Can you please look into it further.
This is quite urgent, pls.
Error: "This field can not be updated as there are either Open Sales Order Lines or Pending Delivery Transactions"
Thanks,
Ashish -
How to get system status and user status of service order
Hi,
I want to show user status and system status for service order in my report and i am using CRM_ORDER_READ function module to read the status, but it is returning lot of status records, could anyone please suggest how to get the system status and user status for service order.
I did not find any clue for how to get user status, i can see the user status when i open the transaction using CRMD_ORDER.
Regards,
Kamesh BathlaHi,
Go to CRM_JEST table give your service order guid and get the status, pass this status into TJ02. You will get the status of your order.
Regards
Srinu -
Shipping and delivery status from R/3 to CRM
Hi all,
we are creating sales orders in CRM and replicating it to R/3. CRM is the owner of the document.
Now whenever changes are done to sales order in CRM, the changes are replicated to R/3.
Let's say the shipping status is updated in R/3. Now the requirement is the changes need to be replicated
back to CRM.
I can use the scenario X + Y or X alone. But with X or X + y scenario Once I make changes in R/3 then the
document owner changes to R/3. this means any further changes in CRM will not be replicated back to R/3.
I require all changes from CRM to be replicated to R/3, but from R/3 I require the shipping and delivery status to be replicated back to CRM. How could this be achieved.
It would be great if you could share the experiences.
Thanks
Jothi.Hi all,
I have a similar requirement. Can you please tell me how to go with it?
The requirement is to send the user status from CRM (where the request is generated) to R3 (where the material is processed).
The user status of the return order in CRM should be sent real-time to R3. Any updates to the user status in CRM should result in a corresponding change in the user status in R3. Any updates to the user status in R3 should trigger a corresponding change to the user status in CRM. All user statuses must be available in BI/BW for reporting and analytical requirements.
<b>From R3 to CRM</b> Standard R3-CRM middleware exchanges information between the two systems any time a transaction is created or changed. At this point the order information is exchanged between the two systems depending on whether the item or the header level data is changed in R3. The development should be able to download the user status at the header & the line item level when the middleware brings down R3 sales transaction data to CRM. For the sake of simplicity the status profile in R3 and CRM will be defined exactly the same therefore we do not need a mapping table between the two systems. This information should also be exchanged in case the line item is deleted / cancelled / rejected.
<b>The same from CRM to R/3.</b>
<b>Processing restrictions :</b>
This should not be transaction, item category or status profile specific so that as and when a new transaction type, item category or a status profile is added it should still be allowed to transfer between the two systems.
Should be developed as an enhancement to the standard middleware data stream between R3 and CRM.
Regards,
Raju -
Packing status and delivery status
What are the fields for packing status and delivery status?
Hi,
Please check tables VBUK (header status) and VBUP (item status).
VBUK-LFSTK ((Delivery status)
VBUK-PKSTK (Overall packing status of all items)
VBUP-LFSTA (Delivery status)
VBUP-PKSTA (Packing status of item)
Regards,
Ferry Lianto -
Sales order cannot be rejected -problem log status item status is incorrect
Hi,
I need to reject this particular sales order, but when i try to reject it says to check the problem log which states that the item status is incorrect. It says subsequent documents exists for some lines even though no documenst are attached.
There were a delivery attached to this order earlier but that has been archived. I ran repors SDVBUK00 etc but nothin seem to sort this issue..
I just need to reject the whole sales order. does anyone know any reports or somethin to rectify this issue.
Thanks
KeshiniDear Keshini,
Could you please update with the process of Delivery Document Archieved?
I mean, had you reversed the delivery (T. Code: VL09) and then deleted the items from reversed Delivery Doc (T. Code: VL02N), before deleteing the Delivery Doc?
Was there any subsequent document for Delivery Doc.?
Best Regards,
Amit
Note: Also, check with Copy-Control settings for Order-to-Delivery (T. Code: VTLA)
1. Field: Update Document Flow is marked ticked at
Item (Dialog Structure) --> Item Category --> Control data
2. Field: Pos./neg. quantity with entry "+" -
Goods Movement and Billing status at header level
Hello,
Im new to this topic and have some very basic questions
Will WBSTK field be updated with goods movement status for a given sales order number in VBUK table ?
Similarly, will FKSTK/FKSTK or BUCHK will be updated with billing status ?
I know that for a given delivery document number, I can track the status at the item level.
But my aim is to know the overall goods movement and billing status at the order header level.
Any clues will be of great help.
Thanking you in advance.
Regards,
PreethiHi Preethi,
A sales order does not determine a billing status for delivery related billing, field VBUK-FKSTK is only determined for delivey.
Just because of this, you will not find billing status field in VA03 -> goto header;
you could only find billing status field for delivery in VL03N -> status overview.
Best regards,
Crystal Lin -
How to Inactive Item Status at Org Level
How to Inactive Item Status at Org Level and what are the implications of doing so.
What are the prerequisits before inactivating an item status.
The Procedure I am following is
Changing the Item Attribute control to Org Level for Item Status
Log on to Organization Items and Selecting the Item Status as Inactive.
Can any one please let me know what are the pre requisits before Inactivating an Items and The procedure I am following is correct.
Thanks
Srinivasa GarikipatiHi;
Please check serial attribute and org attribute problems with item master and see its helpful
Also you can check:
http://oz1-n.blogspot.com/2009/06/interview-questions-for-oracle-11i-apps.html part
1. Once an item is assigned to an organization, is it possible to remove this association at a later time?
2. How do I inactivate an item?
Regard
Helios
Maybe you are looking for
-
No sound output to TV using Apple dock - video is fine
I'm baffled. I have a new 80GB iPod Classic, a brand new Apple dock, and Apple A/V Component cable. When I watch a video or photo slideshow, everything works great. However, when I want to listen to my iPod's music through my TV's speakers, using the
-
Illustrator drops a filled path when saving as pdf or exporting as an image
Hi everyone, I am running AI CS5 on an i5 iMac with 8GB memory. I am having an issue where Illustrator is leaving out a filled path upon exporting or saving the AI file as a pdf or bitmap image. The workaround is to open the AI file in Photoshop, a
-
Hello, The PDF created using Adobe Presenter opens well on PC. However, the same PDF is not getting opened on iPad. This PDF has presentation with multimedia. I reviewed the System Requirements and noticed that the end-user needs Adobe Flash Player
-
What is better to run AutoCAD inventor? XP or Windows 7? How much RAM?
I am wondering what is better to use XP or 7 for my 2.2 ghz 2 gb ram 120 gb hd 2007 MBP. I think I am going to use Virtual Box instead of Fusion or Parallels. Can my mac handle 7 and Inventor or Autocad at the same time or should I go with XP 32 bit?
-
Hello. I can't fully pair my iPhone 5 (with iOS 8.1) and MacBook Air (OS X 10.10 Yosemite, Mid 2013) via Bluetooth for full functionality of new feature called "Handoff". For me: FaceTime + FaceTime Audio + SMS is working for me also together with Ai