Status of line item of order
Hi,
My req is have to change the status of line item of order from in progress to completed .
Please tell me the function module .
i am using the same funtion module but it is working, my problem is that in our system order status is maintaing on the basis of item category Z used in Z order type is having the object type as SALES ITEM and which are automatically deliver relevant. We have noticed that the Z order line item status remains at "In Process" rather that moving to "Completed" status after running billing in R/3 system. At the same time the header status of the order reverts back to completed.
SAP has given the option of modifying the ORDER_SAVE badi or modify the include LCRM_STATUS_ECF09 to change the status
completed whenever there is Z item category appears (which looks for deliver document) .
I applied the logic but when i maintain the status as completed for item category then it will not showing the billing doc number in doc flow .
ip_guid = ls_orderadm_i-guid.
ls_status-ref_guid = ip_guid.
ls_status-ref_kind = 'B'.
ls_status-status = 'I1005'. "'E0007'.
ls_status-user_stat_proc = 'CRMORD_I'.
ls_status-activate = 'X'.
INSERT ls_status INTO TABLE lt_status.
ip_guid = ls_orderadm_i-guid.
ls_status-ref_guid = ip_guid.
ls_status-ref_kind = 'B'.
ls_status-status = 'E0004'. "'E0007'.
ls_status-user_stat_proc = 'CRMORD_I'.
ls_status-activate = 'X'.
INSERT ls_status INTO TABLE lt_status.
ls_status-ref_guid = ip_guid.
ls_status-ref_kind = 'B'.
ls_status-status = 'I1073'. "'E0007'.
ls_status-activate = 'X'.
INSERT ls_status INTO TABLE lt_status.
ls_input_field-ref_guid = ip_guid.
ls_input_field-ref_kind = 'B'.
ls_input_field-objectname = 'STATUS'.
ls_input_field_names-fieldname = 'ACTIVATE'.
INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
INSERT ls_input_field INTO TABLE lt_input_fields.
ls_input_field_names-fieldname = 'STATUS'.
INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
INSERT ls_input_field INTO TABLE lt_input_fields.
INSERT ip_guid INTO TABLE lt_obj_guids.
CALL FUNCTION 'CRM_ORDER_MAINTAIN'
EXPORTING
it_status = lt_status
CHANGING
ct_input_fields = lt_input_fields.
Similar Messages
-
Status of line item of order (CRM)
i am using the 'CRM_ORDER_MAINTAIN' funtion module but it is working for updating the status of line item, my problem is that in our system order status is maintaing on the basis of item category Z used in Z order type is having the object type as SALES ITEM and which are automatically deliver relevant. We have noticed that the Z order line item status remains at "In Process" rather that moving to "Completed" status after running billing in R/3 system. At the same time the header status of the order reverts back to completed.
SAP has given the option of modifying the ORDER_SAVE badi or modify the include LCRM_STATUS_ECF09 to change the status
completed whenever there is Z item category appears (which looks for deliver document) .
I applied the logic but when i maintain the status as completed for item category then it will not showing the billing doc number in doc flow .
ip_guid = ls_orderadm_i-guid.
ls_status-ref_guid = ip_guid.
ls_status-ref_kind = 'B'.
ls_status-status = 'I1005'. "'E0007'.
ls_status-user_stat_proc = 'CRMORD_I'.
ls_status-activate = 'X'.
INSERT ls_status INTO TABLE lt_status.
ip_guid = ls_orderadm_i-guid.
ls_status-ref_guid = ip_guid.
ls_status-ref_kind = 'B'.
ls_status-status = 'E0004'. "'E0007'.
ls_status-user_stat_proc = 'CRMORD_I'.
ls_status-activate = 'X'.
INSERT ls_status INTO TABLE lt_status.
ls_status-ref_guid = ip_guid.
ls_status-ref_kind = 'B'.
ls_status-status = 'I1073'. "'E0007'.
ls_status-activate = 'X'.
INSERT ls_status INTO TABLE lt_status.
ls_input_field-ref_guid = ip_guid.
ls_input_field-ref_kind = 'B'.
ls_input_field-objectname = 'STATUS'.
ls_input_field_names-fieldname = 'ACTIVATE'.
INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
INSERT ls_input_field INTO TABLE lt_input_fields.
ls_input_field_names-fieldname = 'STATUS'.
INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
INSERT ls_input_field INTO TABLE lt_input_fields.
INSERT ip_guid INTO TABLE lt_obj_guids.
CALL FUNCTION 'CRM_ORDER_MAINTAIN'
EXPORTING
it_status = lt_status
CHANGING
ct_input_fields = lt_input_fields.Hi ,
I think you need to change the status in the header also.
Did it work for updating item status?
Ajith -
FM for Actual cost line items for orders.
HI EXPERTS,
I was working on Actual cost line items for orders / Internal orders of an employee.
standard program RKAEP000 is present through TCODE KOB1.
I want some customization of report, so debugged the program and found that its using a FM 'K_LINE_ITEMS_SELECT_AND_LIST' to calculate internal orders.
But the FM has used REUSE_ALV_* and displaying output itself.
the requirement is to customize the output display .
I searched with K_LINE_* and found some other function modules too.
K_LINE_ITEM_CHECK
K_LINE_ITEM_APC_SIGN_GET
K_LINE_ITEM_GET_CONTEXT_MENU
K_LINE_ITEM_GET_TOOLBAR
K_LINE_ITEM_LOGICAL_KEY_GET
K_LINE_ITEM_TECH_SETTINGS_SET
K_LINE_ITEM_VALUE_TYPES_GET
K_LINE_ITEM_VALUE_TYPES_SET
K_LINE_ITEMS_ACT_GRID
K_LINE_ITEMS_SELECT
K_LINE_ITEMS_SELECT_AND_LIST
K_LINE_ITEM_ACT_CALL_WITH_DATA
K_LINE_ITEM_ACT_DATA_GET
K_LINE_ITEM_CM_CALL_WITH_DATA
K_LINE_ITEM_DEV_CALL_WITH_DATA
K_LINE_ITEM_PLN_CALL_WITH_DATA
K_LINE_ITEM_PROCESS_UCOMM_ACT
K_LINE_ITEM_STEERING_GET
Can anybody tell which FM should i use so that result i will get in an internal table?
or suggest any other methods
Thanks in Advance.
LuckyI also had the same requirement and used function module K_LINE_ITEM_ACT_DATA_GET
this function is calling K_LINE_ITEMS_SELECT_AND_LIST function with I_NO_DISPLAY parameter
and returning the result.
Already they are in same function group,
I wrote this for future requirements of people after 4 years of this thread -
Actual cost line items for orders (KOB1)
Hello everyone,
I need to pull a certain field for an order to the
Actual cost line items for orders report (KOB1), but the field is not available when I
go to the change layout. Can someone let me know how I can have this
field listed?
Thanks in advance for your reply.
Daniel NiculaHi Christian,
Ok, so I would need some ABAP support for this right? I was hoping to do it myself.
But, the strange thing is that the field that I would like to bring in my layout is available in 2 clients in the same system and not in all the clients. I have one client in which this field is not available.
How can that be possible?
Bye! -
750 to 1200 line items per order
Hi
Does any body have the experience of creating order with 750-1200 line items per order, in such scenario how the performance of the e-commerce was handled, was any custom development made to achieve.
please let us know
thanks
vigneshStefan, as stated, this was not well thought through solution (but with some work would be possible to achieve).
Regarding memory leaks. We have spent quite a bit of time looking in-depth at the shop code over the years and have so far seen very little evidence of actual memory leaks.
MASSIVE memory consumption, yes, definitely, but no actual leaks
If you have a suitable OS and JVM running that will allow you to crank up your JVM memory settings then you will most likely see that the memory usage will plateau...it might just be at a much higher level than you would have reasonably expected.
To give you an example. One of our customers was running a very large catalog (900 000 items) and the shop used 22 GB of memory when running. One of the main reasons in their case, with such a big catalog, was how the web shop chooses to create web cat items and cache them. Deep in the standard shop code you can find that there are lots and lots of ArrayLists initiated and they are all given a >0 default length, which consumes memory even when empty. In this particular case this became such a big issue that we sent SAP the proof that if they would initiate the ArrayLists with 0 length the memory consumption would drop significantly for each WebCatItem instance.
We estimated at the time after some in-place replacements of the CatalogAttributeValue, class out of the pcatAPI.jar where we set it by default to null instead of size of 10 that we would have saved about 40% of memory consumption. We even prepared the test case and sent it all to SAP, but don't think we ever got it implemented in standard code.
Another suggestion was that SAP would implement a LRU cache for catalog caching for larger catalogs....again would help with memory usage challenges.
With another customer we had 1 Million+ hits per business day (8 h period) and I can't remember us ever having to chase up memory leaks in the standard shop code...they might exist, but perhaps the usage scenarios I've been involved in have just not brought most of them to daylight.
Purely out of interest...if you have found memory leaks in the shop it would be interesting to hear where you found them.
Cheers
Kalle -
Not displaying Actual cost Line Items for Order
Hi Gurus,
Recently we did patching from SPC6 to SPC8. After patching we noticed that could not able to see displaying Actual cost Line Items for Order from work order.
System is not throughing error message when I double cline on line item at Plan/Actual Comparison screen in work order cost tab.
We can able to see the same from KB01 with out any problem. I have attached the details.
Could any one suggest me please. Appreciate your thoughts
Regards,
SriniHi Paul,
I have implemented this note and get it sorted out.
Thank you for support.
Regards,
Srini -
Display Variance line items for Orders
Hello Sapients,
I am trying to execute Transaction code KOB3 (Display Variance line items for Orders) ( /n > Accounting> Controlling > Product Cost Controlling > Cost Object Controlling > Product Cost by Order > Information System > Reports for Product Cost by Order > Line Items > KOB3 )
But for some reason I do not see any thing.
Your Advise is greatly appreciated.
Thanks and Regards
RaviThere is no problem with Authorization.
And i am checking for the correct cost elements and prorcess orders.
Not only KOB3 but also the related reports are not working (viz: GR55-> 7KV9)
thanks and Regards
Ravi -
Retrieving the Change Texts per Line Item (Purchase Order) - Very urgent
Hi,
How do you retrieve the Change Texts per Line Item (Purchase Order).
Table T166T does not list these values per line item.
Please help. This is very urgent & important.
Best Regards,
Johnif you are lookin out for change of item texts ...
then use the function module ... READ_TEXT.
and 2 tables r used ... STXH and TLINE ....
double click on item data ...
goto PO TEXT tab ....
double click on text ...
from menu ...
goto header ... u'll get 4 fields that u need to consider ...
TDID
TDOBJECT
TDHEAD
TDNAME
ALL THESE U'LL FIND IN STXH
ITEM TEXT is stored in TLINE
Edited by: anjali rana on Mar 5, 2008 4:55 AM -
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. -
Table where i see actual cost line item for order (KKBC_PKO)
Dear.
Using transaction KKBC_PKO i can see the actual cost line item for order.
In which table I see these data ?
ThanlsHi,
check COEP (CO actual line items) the objectnumber is OR+the order number.
Best regards, Christian -
Table where i see actual cost line item for order (KRMI)
Dear.
I need to know the table of every single document number of a cost element that I see in the actual cost line item for orders using transaction KRMI.
Thanks
Moderator: Please, search SDNHi
Refer the field Object No (OBJNR) in COEP.. In your case, the OBJNR would be ORXXXXYYYYYYYYYYY, where OR means Order, XXXX = Contr Area and YYYYYYYY = Int Order No with preceeding zeroes
Qty is also recorded in COEP
BR,Ajay M -
Additional Data On Actual Cost Line Item for Orders. Possible?
Is it possible to show on display of Actual Cost Line Item for Orders the cost center for both settled and not yet settled? As for now we can only view the cost centers that are already settled. Please see attached file for a snap picture of the display.
Thank you in advance.Hi,
How this would be possible? If the document is not yet settled, then cost centre is unknown. Of course, it is stored in settlement rule, but no actual posting was done yet.
Regards,
Eli -
How to change line item column order in FV50
Hi,
I need to change the line item column order in GL document entry screen. I tried drag and drop but it didn't work for all the columns. Is there a setting I can change for all the users?
Thanks for the help.It does not work for all the column, but those columns that you can change can be fixed. First change the column to the desired sequence, then click on small icon at the right end of the column. When you take the cursor over that corner icon, it displays "configuration".
There, give a zname and enable set as default. and save. -
How to read overall status of line item in Tab Status of Sales Order
Hi Friends,
I need to read the overall status of a sales order line item in transaction VA02.
For example line item 00010, in its status tab under processing status there is a field overall status which has value Open, Completed etc.
I need to read the text like open, completed etc.
Kindly help.
Thanks,
PradeepHi Pradeep,
Try these tables.
Please have a look at below tables.
AUSP
Characteristic Values
CMFK
Storage Structure for the Error Log Header
CMFP
Storage Structure for Errors Collected
FMSU
FI-FM Totals Records
FPLA
Billing Plan
FPLT
Billing Plan: Dates
INOB
Link between Internal Number and Object
JCDO
Change Documents for Status Object (Table JSTO)
JCDS
Change Documents for System/User Statuses (Table JEST)
JEST
Object Status
JSTO
Status Object Information
KANZ
Assignment of Sales Order Items u2013 Costing Objects
KEKO
Product Costing - Header
KEPH
Product Costing: Cost Components for Cost of Goods Mfd
KNKO
Assignment of a Cost. Est. Number to Config. Object
KOCLU
Cluster for Conditions in Purchasing and Sales
KSSK
Allocation Table: Object to Class
NAST
Message Status
SADR
Address Management: Company Data
VBAK
Sales Documents: Header Data
VBAP
Sales Documents: Item Data
VBEH
Schedule Line History
VBEP
Sales Document: Schedule Line Data
VBEX
SD Document: Export Control: Data at Item Level
VBFCL
Sales Document Flow Cluster
VBLB
Sales Document: Release Order Data
VBSN
Change Status Relating to Scheduling Agreements
VBUK
Sales Document: Header Status and Administrative Data
VBUP
Sales Document: Item Status
VBUV
Sales Document: Incompleteness Log
VEDA
Contract Data
Regards,
Vijay -
System status of line item for a sales order.
Hi,
Is there any way to find the system status(line item) directly by providing sales order number?
Iam following the below procedure,but it takes lot of time:
VBAP-object number
JEST-system status
TJ02T- status text.
Please provide some suggestions or work arounds to find the system status.
I have gone through entire sdn, but couldnt find an answer.
Regards,
Vinod BogaHi
Use t-code V.26
And select processing level as DOCUMENT ITEM
Kapil
Maybe you are looking for
-
In iTunes a bunch of songs show up under the wrong artist no matter what I do
My iTunes library has an odd glitch - there's a bunch of songs that show up under the group "a-ha" despite having nothing to do with a-ha. They don't seem to have anything else in common, either. None of them has an album artist listed and they are a
-
Difference betweeen Technical systems and Business systems
Hi In a SLD we need to configure technical systems and Business systems.. what is the exact difference between Technical Systems and Business Systems.. this question is asked an interview.. for this.. how can we explain.. thanks babu
-
Please Help me in connecting my X-Fi! Plea
Hi all, Santa's going to bring me a shiny new X-Fi Fatality, and I can't wait to get my hands on it! But first I need your help in connecting it to my Creative/Cambridge DTT2500: speakers are now linked to my Audigy via the Y-cable with the mini-jack
-
How to clone a new machine from another with different hardware
How do I clone a new Sun Blade 2500 from a Sun Blade 1000 (with Solaris8)? Is ufsdump/ufsrestore a solution? Are all needed drivers included in the kernel from the Sun Blade 1000? Or, do I first need to install patches/updates on the Sun Blade 1000?
-
Where is my iTunes Library?
For some reason -- an upgrade I suppose -- my iTunes library is now completely empty. Everything, gone. Where is my library file stored? Can I re-import it? thanks Scott