Custom Update of the Logistics Execution status on the FO header

Hi,
in our project, we are using an app to update the statuses of the Freight Units. On the Fo, we are updating departure, arrival, load and unload.
In standard, the logistical execution status has the last event on the header. Thats useful when you look at the standard freight order lists.
In some cases, the Logistical execution status is not updated liek we would expect it, thus we would like to update it in our own way. But, where is the field? Could not find it in the BOPF Framework on the TOR object ROOT. Has anyone done this before? Is there an Action for this?

Hi Petra,
you did not find the field, because there is none
The logistical execution status is determined on the fly. This is done in method GET_LOGISTICAL_CURRENT_STOP of class /SCMTMS/CL_TOR_HELPER_STATUS. There you could implement own logic in e.g. post enhancement.
Best regards, Daniel

Similar Messages

  • ,i want to update the item system status of the CONTRACT (va42) to TECO

    Hi,
    here my requirement is that ,i want to update the item system status of the CONTRACT (va42) to TECO
    Which function module i have to use for this.
    I have checked the bapi BAPI_CUSTOMERCONTRACT_CHANGE .
    But i cant find any field related to system status update.
    can any one advice me how i can i solve this
    thanks in advance.

    I got one function module for this.

  • Can we able to see the Work Items status in the BPM Workspace

    HI,
    Can we able to see the work item status in the BPM workspace.
    For exampls, I have create the request as requester then it will go for approval.
    After sometime i login into the workspace can i able to see my request status(it mean where it is like approval1, approval 2)?
    Pls let me know, its possible in the BPM workspace.
    Regards,
    Anandh P

    Hello Anandh,
    You can utilse the filter option of the BPM workspace.
    When you filter the instances you can view the status of all the instances even if they are currently not assigned to the particular user.
    All you need to do is click on the show filter link.
    Select the process from the Filter by: combo box.
    Check the status boxes and click on apply filter.
    You will be able to view the instance even if it is not assigned to you.(Though you will not be able to work on it.)
    If you wish to give custom messages like "pending with HR" or "Pending with Admin" then you need to add a column by creating a project variable and mapping it to the custom view. Then these messages can also be shown on the instances.
    Hope ths helps.
    Regards,
    Jaydev Doshi

  • Error in crawl log "Error while crawling LOB contents. ( Error caused by exception: Microsoft.BusinessData.Infrastructure.BdcException The shim execution failed unexpectedly - The method or operation is not implemented..; SearchID "

    Hi 
    I get the following error in my crawl logs
    "Error while crawling LOB contents. ( Error caused by exception: Microsoft.BusinessData.Infrastructure.BdcException The shim execution failed unexpectedly - The method or operation is not implemented..; SearchID "
    Because of this i suspect, the search results are not including those aspx pages marked as "Hide physical urls from search".
    This error is not available in the another environment where the aspx pages are coming in the results.
    Thanks
    Joe

    Hi Joe,
    Greetings!
    Reset the index and re-crawl. That usually clears it
    If you are using NTLM authentication, then make sure that you specified the PassThrough authentication for crawling
    Probably you need to debug the BDC code that underlies the external content types.
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/41a86c43-151d-47cd-af73-967a4c940611/lotus-notes-connector-error-while-crawling-lob-contents?forum=sharepointsearch
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • Display the power supply status in the IPS 4270

    How to display the status of the power supply on the IPS 4270
    since the IPS has two power supplies and one has failed, so i want to check what is causing this failure (i am looking for a message from the CLI describing that the IPS power were failed).

    At this time, there is no method to display the status of the power supply from the CLI or IDM GUI of the IPS-4270.  There is an open enhancement request to have this capability added in a future release of the IPS software.
    Scott

  • TS4009 set up my new iPhone 5S 6 hours ago - when go to Music it says "Loading iTunes Match-" now status bar - how long does it take?  how can I see the progress or status of the Load?  I don't know if it is actually doing anything

    How can I find the status of loading iTunes match?  I set up my iPhone 5S over 6 hours ago and still no music.  No status bar - I don't know if anything is even downloading

    Welcome to the Apple Community.
    It shouldn't take anywhere near that, I'd try again, make sure you have a good connection.

  • Need to update the sales order status

    Hi Friends,
    I have one query.
    we are doing archiving of sales documents.during the preprocessing we have identified that there are some non-archivable documents due to status check.
    Example:As per Sales order schedule line category "CT" is relevant for delivery. Now we had a talk with business and removed the "item relevant for delivery indiacaotor" from schedule line category.
    This config changes will apply for newly created sales orders.
    Now the requirement is to update the status of old sales orders with this new config change to make these non archivable data to be ARCHIVED.
    can any one help me out by providing relevant SAP note or by sending me the program name which will update the old order status with the new config changes.
    Thanks & regards,
    Shaik Hussain

    Hi Liam,
    In the Program MV45AFZZ in the FORM userexit_save_document
    you use the following fn module to change the user status
    'STATUS_CHANGE_EXTERN'
    Example
    IF t180-trtyp = 'H'.  "Only creation time
      READ TABLE xvbap WITH KEY matnr = c_matnr.
      IF sy-subrc = 0.  "If above material exist then change status
        LOOP AT xvbap WHERE cuobj NE space
                       AND  matnr =  c_matnr.
          l_objnr = xvbap-objnr.
          CALL FUNCTION 'STATUS_CHANGE_EXTERN'
            EXPORTING
              objnr               = l_objnr
              user_status         = 'E0013'  "Send ej IDOC
              set_chgkz           = 'X'
            EXCEPTIONS
              object_not_found    = 1
              status_inconsistent = 2
              status_not_allowed  = 3
              OTHERS              = 4.
        ENDLOOP.
      ENDIF.
      sy-subrc = 0.  "Restore the previous condition
    ENDIF.
    Reward if helpful *********

  • Execution status confusion

    There has been some confusion on our production floor concerning the execution status not matching the UUT result so I did a little experiment with the full featured UI and the Demo computer mother board test.  The results replicate the issue and is shown in the attached picture.
    What I did was to run the example sequence three times consecitivly (i.e. within the UUT loop) and set the first and third SN to pass and had the second run fail.  When the execution completes the exection status seems to indicate that the Run 3 failed which confilicts with the UUT status.  I am thinking this may be a bug.
    Any comments?
    Attachments:
    Execution failure.png ‏57 KB

    One of the work around or containment  :
    1) Dont display the confusing execution status.
    2) Create a status window ( custom panel) to display the status compatible with the end users.
    Details:
    1)Over ride process clean back in your test sequence.
    Add this in a statement step :
    RunState.Thread.PostUIMessageEx(UIMsg_CloseWindows​, 0, "", RunState.Execution, False)
    2)Over ride Post UUT in your sequence
    The Post UUT has the relevant status details in parameters
    parameters.result.status ( Passed or Failed)
    parameters.UUT.serialnumber
    Use this to update a custom status panel developed in Labview or CVI...
    Hope this helps.

  • Mapping Execution Status

    Hi,
    When we I want to see the mapping execution status, I used to look into the WB_RT_AUDIT and get the mapping name, map run id, start time, end time and status. Here the status field gives the information as COMPLETE/SUCCESS. This is relating to 9.0.4. Recently, when I upgrade to OWB 10g the same view for the status it gives as 1 and even for error also it shows as 1, how to exactly know the mapping execution status is successful or not. Pls mention the table name and column name to know the status
    Kishan

    Ola Koshan,
    When you look at the audit table WB_RT_AUDIT and check the column RTA_STATUS you'll get a number. When you decode the number you will see wether the mapping is completed, running or ended in an error.
    This can be done like this:
    DECODE (rta_status, 0, 'Running', 1, 'Completed', 2, 'Error','Else')
    Please keep in mind that if you kill a mapping, the status will still be 'running'. This is because the process will not be able to update oracle's repository (because you killed it).
    There is quite a lot you can extract from the Audit tables. I do not quite know what you mean with mentioning the table and column name to know the status... As far is I understood you are looking for the mapping status... Right?
    Regards
    Moscowic

  • Re : The Overall status of the process chain

    Once the process chain is executed  to know the over all status of the chain process whether it is completed with errors or not where exactly in the data base the status of the process chain is store. Can any one send the database tables used in process chain

    Hi
    RSPC_BUFFER Shared Buffer for Processes (Esp. Customer
    RSPC_MONITOR Monitor individual process chains
    RSPCABAPASYNC Logging for ABAP Processes(Synchronously a
    RSPCCATEGORY Process Type Categories
    RSPCCATEGORYT Texts for Category
    RSPCCHAIN Process chain
    RSPCCHAINATTR Attributes for a Process Chain
    RSPCCHAINEVENTS Multiple Events with Process Chains
    RSPCCHAINT Texts for Chain
    RSPCCOMMANDLOG System Command Execution Logs (Process Cha
    RSPCENQUEUE Dummy Table for Runtime Locks of a Process
    RSPCEXOR Excluding Or: Log Table
    RSPCINFO Special Values for Communication between P
    RSPCINFOT Special Values for Communication between P
    RSPCINSTANCE Generic Instance Storage
    RSPCINSTANCET Texts for Generic Instance-Storage
    RSPCLOGCHAIN Cross-Table Log ID / Chain ID
    RSPCLOGCROSS Cross-Table Log ID Old / Log ID New
    RSPCLOGS Application Logs for the Process Chains (G
    RSPCPROCESSLOG Logs for the Chain Runs
    RSPCRUNVARIABLES Variables for Process Chains for Runtime
    RSPCTRIGGER Variants for the Trigger Processes
    RSPCTRIGGERT Texts for the Trigger Variants
    RSPCTYPESDEP Dependencies for Processes
    RSPCTYPESPROC Attributes of BW processes (RSSM)
    RSPCVARIANT Generic Variant-Storage
    RSPCVARIANTATTR Attributes of a Process Variant
    RSPCVARIANTT Texts for Generic Variant Storage
    RSPCLOGCHAIN
    Hope this may be helpful to you
    Many thanks
    Kiran

  • Need to know how to find the last execution time for a function module

    HI all
    I need to know
    1) How to find out the last execution time of the function module ?
      say for eg. I have executed a func. module at 1:39pm. How to retrieve this time  (1:39pm)
    2) I have created 3 billing document in tcode VF01 i.e 3 billing doucment no. would be created in SAP TABLE "VBRP" b/w 12am to 12:30 am.
    How to capture the latest SAP database update b/w time intervals?
    3) Suppose I am downloading TXT file using "GUI_DOWNLOAD" and say in 20th record some error has happened. I can capture the error using the exception.
    Is it possible to run the program once again from 21st records ? All this will be running in background...
    Kindly clarify....
    Points will be rewarded
    Thanks in advance

    1.Use tcode STAT input as Tcode of Fm and execute .
    2. See the billing documents are created in table VBRk header and there will always be Creation date and time.
    VBRk-Erdat "date ., u can check the time field also
    So now if u talk the date and time we can filter then display the records in intervals.
    3. with an error exeption how is my txt download finished .
    once exception is raised there will not be a download .
    regards,
    vijay

  • Is this roughly how the labVIEW Execution Systems work?

    I've not taken a class in OS design, so I don't know the strategies used to implement multitasking, preemptive or cooperative. The description below is a rough guess.
    LabVIEW compiles Vis to execute within its own multitasking execution environment. This execution environment is composed of 6 execution systems. Each execution system has 5 priority queues (say priorities 0->4). Vis are compiled to one or more tasks which are posted for execution in these queues.
    An execution system may either have multiple threads assigned to execute tasks from each priority queue, or may have a single thread executing all tasks from all priority queues. The thread priorities associated with a multithreaded execution system are assigned according to the queue that they service. There are therefore 5 available thread priority levels, one for each of the 5 priority level queues.
    In addition to the execution queues, there are additional queues that are associated with tasks suspended in various wait states. (I don't know whether there are also threads associated with these queues. It seems there is.)
    According to app. note 114, the default execution environment provides 1 execution system with 1 thread having a priority level of 1, and 5 execution systems with 10 prioritized threads, 2 threads per priority queue. NI has titled the single threaded execution system "user interface" and also given names to the other 5. Here they will be called either "user interface" or "other".
    The "user interface" system is responsible for all GUI actions. It monitors the keyboard and mouse, as well as drawing the controls. It is also used to execute non-thread-safe tasks; tasks whose shared objects are not thread mutex protected.
    Vis are composed of a front panel and diagram. The front panel provides an interface between the vi diagram, the user, and the calling vi. The diagram provides programmatic data flow between various nodes and is compiled into one or more machine coded tasks. In addition to it own tasks, a diagram may also call other vis. A vi that calls another vi does not actually programmatically branch to that vi. Rather, in most cases the call to another vi posts the tasks associated with the subvi to the back of one of the labVIEW execution system�s queues.
    If a vi is non-reentrant, its tasks cannot run simultaneously on multiple threads. This implies a mutex like construction around the vi call to insure only one execution system is executing the vi. It doesn�t really matter where or how this happens, but somehow labVIEW has to protect an asynchronous vi from simultaneous execution, somehow that has to be performed without blocking an execution queue, and somehow a mutex suspended vi has to be returned to the execution queue when the mutex is freed. I assume this to be a strictly labVIEW mutex and does not involve the OS. If a vi is reentrant, it can be posted/ran multiple times simultaneously. If a vi is a subroutine, its task (I think there is always only one) will be posted to the front of the caller's queue rather than at the back of the queue (It actually probably never gets posted but is simply mutex tested at the call.) A reentrant-subroutine vi may be directly linked to its caller since it has no restrictions. (Whether in fact labVIEW does this, I don�t know. In any event, it would seem in general vis that can be identified as reentrant should be specified as such to avoid the overhead of mutexing. This would include vis that wrap reentrant dll calls.)
    The execution queue to which a vi's tasks are posted depends upon the vi execution settings and the caller's execution priority. If the caller's execution priority is less than or equal the callee's execution settings, then the callee's tasks are posted to the back of the callee's specified execution queue. If the caller's execution priority is greater than the callee's specifications, then the callee's tasks are posted to the back of the caller's queue. Under most conditions, the vi execution setting is set to "same as caller" in which case the callee�s tasks are always posted to the back of the caller's execution queue. This applies to cases where two vis are set to run either in the other execution systems or two vis are set to run in the user interface execution system. (It�s not clear what happens when one vi is in the �user interface� system and the other is not. If the rule is followed by thread priority, any background tasks in the �other� systems will be moved to the user interface system. Normal task in the �other� systems called by a vi in the �user interface� system will execute in their own systems and vice versa. And �user interface� vis will execute in the caller�s �other� system if the caller has a priority greater than normal.)
    Additionally, certain nodes must execute in the "user interface" execution system because their operations are not thread-safe. While the above generally specifies where a task will begin and end execution, a non-thread safe node can move a task to the �user interface� system. The task will continue to execute there until some unspecified event moves it back to its original execution system. Note, other task associated to the vi will be unaffected and will continue to execute in the original system.
    Normally, tasks associated with a diagram run in one of the �other� execution systems. The tasks associated with drawing the front panel and monitoring user input always execute in the user interface execution system. Changes made by a diagram to it own front panel are buffered (the diagram has its own copy of the data, the front panel has its own copy of the data, and there seems to be some kind of exchange buffer that is mutexed), and the front panel update is posted as a task to the user interface execution system. Front panel objects also have the advanced option of being updated sequentially; presumably this means the diagram task that modifies the front panel will be moved to the user interface execution system as well. What this does to the data exchanged configuration between the front panel and diagram is unclear as presumably both the front panel and diagram are executing in the same thread and the mutex and buffer would seem to be redundant. While the above is true for a control value it is not clear whether this is also true for the control properties. Since a referenced property node can only occur on the local diagram, it is not clear it forces the local diagram to execute in the user interface system or whether they too are buffered and mutexed with the front panel.
    If I were to hazard a guess, I would say that only the control values are buffered and mutexed. The control properties belong exclusively to the front panel and any changes made to them require execution in the �user interface� system. If diagram merely reads them, it probably doesn�t suffer a context switch.
    Other vis can also modify the data structure defining the control appearance and values remotely using un-reference property nodes. These nodes are required to run in the user interface system because the operation is not thread-safe and apparently the diagram-front-panel mutex is specifically between the user interface execution system and the local diagram thread. Relative to the local diagram, remote changes by other vis would appear to be user entries.
    It is not clear how front panels work with reentrant vis. Apparently every instance gets its own copy of the front panel values. If all front panel data structures were unique to an instance, and if I could get a vi reference to an instance of a reentrant vi, I could open multiple front panels, each displaying its own unique data. It might be handy, sort of like opening multiple Word documents, but I don�t think that it�s available.
    A note: It is said that the front panel data is not loaded unless the front panel is opened. Obviously the attributes required to draw an object are not required, nor the buffer that interfaces with the user. This rule doesn�t apply though that if property references are made to front panel objects, and/or local variables are used. In those cases at least part of the front panel data has to be present. Furthermore, since all data is available via a control reference, if used, the control�s entire data structure must be present.
    I use the vi server but haven�t really explored it yet, nor vi reference nodes, but obviously they too make modifications to unique data structures and hence are not thread-safe. And in general, any node that accesses a shared object is required to run in the user interface thread to protect the data associated with the object. LabVIEW, does not generally create OS level thread mutexes to protect objects probably because it becomes to cumbersome... Only a guess...
    Considering the extra overhead of dealing with preemptive threading, I�m wondering if my well-tuned single threaded application in LV4.1 won�t out perform my well-tuned multithreaded application in LV6.0, given a single processor environment�
    Please modify those parts that require it.
    Thanks�
    Kind Regards,
    Eric

    Ben,
    There are two types of memory which would be of concern. There is temporary and persistent. Generally, if a reentrant vi has persistent memory requirements, then it is being used specifically to retain those values at every instance. More generally, reentrant code requires no persistent memory. It is passed all the information it needs to perform its function, and nothing is retained. For this type of reentrant vi, memory concern to which you refer could become important if the vis are using several MBytes of temporary storage for intermediate results. In that case, as you could have several copies executing at once, your temporary storage requirements have multiplied by the number of simultaneous copies executing. Your max memory use is going to rise, and as labview allocates memory rather independently and freely, the memory use of making them reentrant might be a bit of a surprise.
    On the other hand, the whole idea of preemtive threading is to give those tasks which require execution in a timely fashion the ability to do so regardless of what other tasks might be doing. We are, after all, suffering the computational overhead of multithreading to accomplish this. If memory requirements are going to defeat the original objective, then we really are traversing a circle.
    Anyway, as Greg has advised, threads are supposed to be used judiciously. It isn't as though your going to have all 51 threads up at the same time. In general I think, overall coding stategy should be to minimize the number of threads while protecting those tasks that absolutely require timely execution.
    In that sense, it would have been nice if NI had retained two single threaded systems, one for the GUI and one for the GUI interface diagrams. I've noticed that control drawing is somewhat slower under LV6.0 than LV4.1. I cannot, for example, make a spreadsheet scroll smoothly anymore, even using buffered graphics. This makes me wonder how many of my open front panel diagrams are actually running on the GUI thread.
    And, I wonder if threads go to sleep when not in use, for example, on a wait, or wait multiple node. My high priority thread doesn't do a lot of work, but the work that it does is critical. I don't know what it's doing the rest of the time. From some of Greg's comments, my impression is it in some kind of idle mode: waking up and sleeping, waking up and sleeping,..., waking up, doing something and sleeping... etc. I suppose I should try to test this.
    Anyway that's all an aside...
    With regard to memory, your right, there are no free lunches... Thanks for reminding me. If I try this, I might be dismayed by the additional memory use, but I won't be shocked.
    Kind Regards,
    Eric

  • Can I register operation breakes in Logistics execution module of SAP

    Good Morning,
    We are making a SAP implementation in our company, there is a logistics operation covering on this implementation and so far we have not found how to record this breakes in the logistics operation in logistics execution module, we need to record a reason for the break, the beginning date-time and the end date-time and have a text field for further information.
    As an operation break i mean any topic that stops the logistic operation of the company it could be rain, damage of equipment, accident or any other.
    We've been searching and we've found something in the maintenance module and the production module but we need it in the logistics execution one.
    Thanks a lot for any answer that can help us.
    Luis.

    Hi
    In the definition of routes and stages (tcode 0VTC) you can set the transit duration in days for each route.
    I hope this helps you
    Regards
    Eduardo

  • Set user Defined Status in the Shopping Cart

    Hello,
    I am facing problem while Setting user defined Status in the shopping cart. Below are the steps which I have followed.
    1. I have created Status profile via Transaction 'BS02' and also created the Status 'On Hold' with Status number 'Exxxxx'.
    2. Entry of this external status is also created in the table TJ30.
    3. Also I tried assigning this Status profile in Transaction type for "BUS2121".
    After making the above configuration for the new User defined status I have used below function module in my program.
    I am using FM "CRM_STATUS_CHANGE_EXTERN" to set the User defined status in the shopping cart.
      CALL FUNCTION 'CRM_STATUS_CHANGE_EXTERN'
        EXPORTING
          objnr                    = ls_header-guid
          user_status          = lv_stat
        IMPORTING
          stonr                    = lv_stonr
    After this FM I am also using "COMMIT WORK AND WAIT ".
    But still my Status is not updated in the Shopping Cart.
    Expert please suggest if some one has work in this scenario.
    Best Regards,
    Chirag Shah

    Hi Chirag,
    try to initialize Status schema before update.
    CALL FUNCTION 'CRM_STATUS_OBJECT_CREATE'
         EXPORTING
           objnr                        = ls_header-guid
           obtyp                        = 'SCH'
           stsma                        = 'ZHOLD'
         EXCEPTIONS
           obtyp_invalid                = 1
           status_object_already_exists = 2
           stsma_invalid                = 3
           stsma_obtyp_invalid          = 4
           error_ocurred                = 5
           OTHERS                       = 6.
    Regards
    K

  • Reg: Status of the SC

    Hi SRM Gurus,
    Can any body give the inputs for Status of the SC.
    Currently using N-step Item level approval process
    when SC changed & Approved by the first Approver the WI send to SC creator but status of the SC is showing in Approval preview "To be approved by" second approver.
    My requirement is custom SC status  as "SC WI with Shopper for Acceptace or Change"  in Approval Preview.
    Is there any Oss Notes on SC status and Monitor SC.
    Thanks in advance
    Edited by: CK on Mar 4, 2009 3:00 PM

    Hello,
    you had to change some texts in BBP_ICON_TEXT
    In transaction se80:
    - workbench -> edit object -> More ...
    - click on Message Class
    - Put in BBP_ICON_TEXTS
    - Click on Tab "Messages"
    here you see the texts which are used by the system. You can modify them as you want.
    Regards,
    Daniel

Maybe you are looking for