Transportation Planning Status (vbuk-trsta) User Exit
Hi All,
I wish to change the transportation planning status (vbuk-trsta) of a delivery in a user exit. Which user exit should I use to do this?
Just a point to note. The delivery is created automatically from the sales order creation. I dont think this should matter though as the user exit should kick in.
Many thanks,
Colm
Hi,
Try exit V50PSTAT.
Enhancements
VMDE0004 Shipping Interface: Message SDPACK (Packing, Inbound)
VMDE0003 Shipping Interface: Message SDPICK (Picking, Inbound)
VMDE0002 Shipping Interface: Message PICKSD (Picking, Outbound)
VMDE0001 Shipping Interface: Error Handling - Inbound IDoc
V53W0001 User exits for creating picking waves
V53C0002 W&S: RWE enhancement - shipping material type/time slot
V53C0001 Rough workload calculation in time per item
V50S0001 User Exits for Delivery Processing
V50R0004 Calculation of Stock for POs for Shipping Due Date List
V50R0002 Collective processing for delivery creation
V50R0001 Collective processing for delivery creation
V50Q0001 Delivery Monitor: User Exits for Filling Display Fields
V50PSTAT Delivery: Item Status Calculation
V02V0004 User Exit for Staging Area Determination (Item)
V02V0003 User exit for gate + matl staging area determination (headr)
V02V0002 User exit for storage location determination
V02V0001 Sales area determination for stock transport order
Business Add-in DELIVERY_ADDR_SAP Address Change in Delivery Processing
DELIVERY_PUBLISH Announcement of delivery data during database update
Hope it helps,
Chang
Similar Messages
-
Transportation planning status (VBUK-TRSTA) determination
Dear friends,
Can anybody explain how the "Transportation planning status" (VBUK-TRSTA) is updated in the delivery document.
As per our configuration transportation planning status is A (Not processed). But for few deliveries it is blank (Not relevant) and therefore we can't create shipment documents.
Please provide a solution for above.
Thanks,
JeewanaHi there,
When defining the routes, there is a field called "Rel.Transport". If you check the field, the particular field will be relevant for transport planning & you can create shipments for that route. Go to T-code 0VTC, check the notes by clicking F1 on the "Rel.Transport" field.
The VBUK-TRSTA is updated accordingly. If there is no check in the field, the table will be updated as not relevant. If shipment doc is created, it will update the status of it accordingly.
Hope this clarifies your question.
Regards,
Sivanand -
Transportation planning status
hi all,
for VBUK table , there is a Field TRSTA , which exemplifies Transportation planning status.
Can anyone help me in locating the same on Sales order screen. i can find the same in Delivery--> header --> STATUS , but not anywhere in sales order. however when entered the Sales order no , i can get its value using TABLES.
Please help me locating the same??
Regards,
UjjwalDear Diwakar,
The field "TRSTA" is not available in Sales Order, simple check is if you search this field in VBAK or VBAP you dont have any results for it.
The reason it shows the value after entering Sales order number in VBUK is because , VBUK table is directly connected to VBFA and VBAK , LIKP , VBRK tables. VBFA stores the document flow data.
to check this just create a sales order and check in VBUK here you have TRSTA field marked blank ( not relevant ) now create a delivery and check the VBUK TRSTA ....you will see the status changed to "A" eventhough you enter sales order numner not the Delivery number.
and you can even use billing document number to view the VBUK.
I hope that clears your doubt.
Regards,
Paresh -
Problem in transporting the text elements for user exit EXIT_SAPLV09A_002
Hi All,
I am facing a problem in transporting the text element (text symbol) for the exit EXIT_SAPLV09A_002. It is implemented and transported but the text elements are not transported and even if I try to delete them and then create them again, on activation it doesn't prompts for TO and it version its shows it as local object. I have tried to manually assign the TO by using limu as id of program and rept as type and SAPLXV09 as the name of the object but still it doesn't allows as an error message comes prompting local object cannot be assigned to TO. Kindly suggest solution this problem.
Regards,
Sachin
Edited by: Sachin Dangayach on Nov 15, 2010 4:21 PMHello ,
In the Quality after you run the report check in the layout option>display text elements> variables and check what value is displayed for the use exit variable , if it is correct then problem may be in the selection you gave when you run the report if the user exit variable value is wrong , then set a break point in the code and run the report from rsrt and check where the error is.
hope it is clear
assign points if useful -
Is the Sales Order Item User Status available in user exit MV45AFZZ
Hello,
Does anyone know if a sales order line item user status is available within user exit MV45AFZZ (USEREXIT_SAVE_DOCUMENT)?
I need to send an email when the status changes from one specific value to another specific value but I don't seem to have access to what the latest value is in this user exit.
I have found a table XTVSTAT which cntains some user status' but it's not clear which status maps to which line item.
If anyone has any suggestion please let me know.
Thanks,
RubyHi,
I do need to access the values as I need to check for a specific change to the user status from value A to value B.
I have already tried debugging the user exit and searching through the available variables but the status information doesn't seem to be available.
I guess I will have to try the output determination route. Can you explain this in a bit more detail please.
Thanks,
Ruby -
NOTIFICATION STATUS CHECKING IN User Exit 'QQMA0014'--iw21
Hello,
Myself sudip..i have to do a exit on QQMA0014 for iw21 ...so. i need to check every time notification status field( STTXT ), contain value osno/techo...when osno then something happen and also when techo something will happen..but how to check notification status field.( STTXT ).can you help me....PLEASE....
VALUE T_VIQMMA ONLY CONTAIN THAT FIELD .THAT'S WHY I USED IT FOR STTXT CHECKING..BUT CAN'T GETTING....Hi Sudip,
I think I can help you.
One correction in your post. There will not be TECO. It is NOCO in Notification
This is the answer
There is no need of STTXT for your purpose. In other words you need another field which is a part of VIQMEL table. i.e., PHASE.
Follow these values.
Value '1' for Status OSNO (Outstadning)
Value '2' for Status NOPO (Postponed)
Value '3' for Status NOPR (In Process)
Value '4' for Status NOCO (Completed)
Value '5' for Status DLFL (Deletion Flag)
So your syntax will go like this
IF I_VIQMEL-PHASE = '1' .....
Revert back if any further queries are there.
For syntax related queries, you may refer to this document User Exit 'QQMA0014', the applications
Best of Luck
Jogeswara Rao K -
Update vbup/vbuk from user-exit for sales document
Dear All.
Is it possible to update the sales document status for an item (vbup) from a user exit , customer function, badi, or other, in the billing document?
We'd like to make the control of updating the status tables dynamic, rather than based on the confiuration for an exception process.
For example, when service item (order related billing) is partially billed, depending on some conditions we would set the sales order service item to fully invoiced.
In this case vbup-FKSAA = C.
Many thanks!There is a BAdI LE_SHP_ITEM_STATUS that can change the item status in VBUP. Be sure to read the documentation first. It states
If you use this BAdI to change the delivery item status that was set in delivery
processing, it can affect further processing of the delivery extensively, and
lead to data inconsistencies. Therefore, SAP recommends that you only use
the BAdI to modify your own status fields.
Regards,
Brenda -
Deriving Planning Folder Technical Name From User-Exit
Dear Colleagues,
For those of you who know ABAP, do you know if it is possible to determine the technical name of a planning folder from within a user-exit (i.e. planning function that has been executed from within a planning folder)?
Customer states: They would like to use a Planning Folder, and invoke a planning function of type user-exit (i.e. via button in folder), which will execute an ABAP that has a case statement for conditional execution of steps, based upon the technical name of the planning folder that invoked the call.
Thank you in advance for any guidance or feedback you may be able to offer.
-MHi Michael,
Write this code in the exit function
FIELD-SYMBOLS: <fsl_class> TYPE REF TO cl_upb_pm_applc.
DATA: name(50),
plan_folder TYPE upb_y_ps_name.
name = '(SAPLUPB_PM)gr_applc'.
ASSIGN (name) TO <fsl_class>.
IF sy-subrc = 0.
CALL METHOD <fsl_class>->get_active_pm
RECEIVING
r_pm = plan_folder.
ENDIF.
Glad I could be of help to the mastero.
Let me know if it worked.
thanks -
Identify Orders created manually in the planning book (user exit macro?)
Hello All,
I am trying to capture the orders created manually in planning book using a user exit macro!!.
Does anyone have any Idea of how to acheive this. Main aim is to identinfy orders created manually.
Thanks in advance,
Regards,
-SriniHi,
There are no change pointers like R/3 in APO due to the live cache technology. You can how ever findout if an order is created by system or manually created. Check this [thread|Re: How to identify an order generated by heuristics run or entered manuall]
Check if you can use the BAPIs to read orders and see if they have "output-firmed". -
VT02n : User Exit (Urgent)
Hi all,
I have a requirement where in i need to incorporate some logic when the user presses the Exit and Cancel Button in VT02N based on the function code for eg.
for Exit FC (MM_BEEN) and For Cancel (MM_ABBR).Can anyone tell me the user exit which gets triggered so that i can incoporate my logic according to Function code like ( if sy-ucomm = 'MM_BEEN' . do something) .
Many Thanks in Advnace
Cheers
AhmedTransaction Code - VT02 Old: Change Shipment
Exit Name Description
V56AFCCH Shipment processing: Check function code allowed
V56AGTAR User Exit for Filtering Shipping Unit Calculation
V56ARCHV Customer-spec. checks for archiving shipments
V56ATKTX Change the number of lines for text input in shipment
V56BMOD Transportation processing: Field modification
V56DISTZ Shipment Processing: Determine Distance
V56FCOPY Shipment processing: Copy delivery data
V56FSTAT Shipment processing: Activities when setting a status
V56L0001 Status of Shipments for a Delivery
V56LDELI Read Delivery Data for Shipment Processing
V56LOCID Shipment Processing: Determine Location Identification
V56MVT04 Extensions for Collective Processing of Shipments
V56SLDET Shipment processing: Leg determination
V56TDLIF Filter Delivery Items for Shipment
V56UCHCH Shipment processing: Check whether changes were made
V56UCHCO Check shipments are complete
V56UDLUP Obsolete as of 4.6C: Delivery Update on Delivery Routines
V56UNUMB Shipment number allocation
V56USTAT User-individual definition of transportation planning status
V56USVDO Update new objects for transport
V56USVDP Preparation for updating new objects for transport?
MV56AINI Initialization of transaction control for transportation
No of Exits: 22
USER EXIT
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sapgenie.com/abap/code/abap26.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
http://www.easymarketplace.de/userexit.php
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sappoint.com/abap/userexit.pdfUser-Exit
http://www.sap-img.com/ab038.htm
http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
Rewards if useful.........
Minal -
To find out appropriate user exit/ badi for transaction VT01n
Hi,
I have the following requirement.
Cass shipment type (VTTK-ADD03) field needs to be required and should be automatically populated upon creation of the shipment document. The rules for populating the value (SO, ST, PO and RA) are as follows:
If any of the orders on the shipment are customer order types, then the CASS shipment type should be a SO,
If all of the orders are STO orders, then the Cass shipment type should be "ST",
If all of the orders are PO orders, then the Cass shipment type should be "PO" , and
If all of the orders are customer return orders, then the Cass shipment type should be "RA".
I have to find out proper user exit / badi to do this.I have tried with many userexit but it won't work.
Thanking in advance to give your suggestion in order to resolve it.
With regards,
Ajit.Hi this code will enable you to find the user exit for any transaction . Just give the transaction as input
tables : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
tables : tstct.
data : jtab like tadir occurs 0 with header line.
data : field1(30).
data : v_devclass like tadir-devclass.
parameters : p_tcode like tstc-tcode obligatory.
select single * from tstc where tcode eq p_tcode.
if sy-subrc eq 0.
select single * from tadir where pgmid = 'R3TR'
and object = 'PROG'
and obj_name = tstc-pgmna.
move : tadir-devclass to v_devclass.
if sy-subrc ne 0.
select single * from trdir where name = tstc-pgmna.
if trdir-subc eq 'F'.
select single * from tfdir where pname = tstc-pgmna.
select single * from enlfdir where funcname =
tfdir-funcname.
select single * from tadir where pgmid = 'R3TR'
and object = 'FUGR'
and obj_name eq enlfdir-area.
move : tadir-devclass to v_devclass.
endif.
endif.
select * from tadir into table jtab
where pgmid = 'R3TR'
and object = 'SMOD'
and devclass = v_devclass.
select single * from tstct where sprsl eq sy-langu and
tcode eq p_tcode.
format color col_positive intensified off.
write:/(19) 'Transaction Code - ',
20(20) p_tcode,
45(50) tstct-ttext.
skip.
if not jtab[] is initial.
write:/(95) sy-uline.
format color col_heading intensified on.
write:/1 sy-vline,
2 'Exit Name',
21 sy-vline ,
22 'Description',
95 sy-vline.
write:/(95) sy-uline.
loop at jtab.
select single * from modsapt
where sprsl = sy-langu and
name = jtab-obj_name.
format color col_normal intensified off.
write:/1 sy-vline,
2 jtab-obj_name hotspot on,
21 sy-vline ,
22 modsapt-modtext,
95 sy-vline.
endloop.
write:/(95) sy-uline.
describe table jtab.
skip.
format color col_total intensified on.
write:/ 'No of Exits:' , sy-tfill.
else.
format color col_negative intensified on.
write:/(95) 'No User Exit exists'.
endif.
else.
format color col_negative intensified on.
write:/(95) 'Transaction Code Does Not Exist'.
endif.
at line-selection.
get cursor field field1.
check field1(4) eq 'JTAB'.
set parameter id 'MON' field sy-lisel+1(10).
call transaction 'SMOD' and skip first screen.
*---End of Program
Just for your information the User exits available for VT01n are
MV56AINI Initialization of transaction control for transportation
V56AFCCH Shipment processing: Check function code allowed
V56AGTAR User Exit for Filtering Shipping Unit Calculation
V56ARCHV Customer-spec. checks for archiving shipments
V56ATKTX Change the number of lines for text input in shipment
V56BMOD Transportation processing: Field modification
V56DISTZ Shipment Processing: Determine Distance
V56FCOPY Shipment processing: Copy delivery data
V56FSTAT Shipment processing: Activities when setting a status
V56L0001 Status of Shipments for a Delivery
V56LDELI Read Delivery Data for Shipment Processing
V56LOCID Shipment Processing: Determine Location Identification
V56MVT04 Extensions for Collective Processing of Shipments
V56SLDET Shipment processing: Leg determination
V56TDLIF Filter Delivery Items for Shipment
V56UCHCH Shipment processing: Check whether changes were made
V56UCHCO Check shipments are complete
V56UDLUP Obsolete as of 4.6C: Delivery Update on Delivery Routines
V56UNUMB Shipment number allocation
V56USTAT User-individual definition of transportation planning status
V56USVDO Update new objects for transport
V56USVDP Preparation for updating new objects for transport?
Award points if helpful..
Thanks -
Dear SAP guru's
Our requirement is VBFA-VBELN table need to bring the invoice no BKPF accounting document no and store in Field -BKTXT
Scenerio Sales order ( order type OR) ( T#codeVa01)-Delivery note -LF type
( VL02 gets created automatically according to my company process) -invoicetype F2(VF01) Invoice than with refernce to invoice type ( F2) create Credit memo ( T,code VA01) and accounting document , in accounting Document Header ( BKPF-BKTXT) invoice number should come in BKPF-BKTXT
please help me it urgent to me.....
Thanks & Regards
Nagaraju ChintamDear Prashanth.
Thanks for your reply. almost i understand whats userexit.
I tried below and i found these are the userexits available in VT01N-shipment creation.
Now i want to confirm which is most suitable userexits amoung them matching my requirement.
do you have any idea on this.
After shipment creation i want this sales data to be stored in addon table..which user exits can i use for writing this code.
suggestion pls...
transaction Code - VT01N Create Shipment
Exit Name
Description
MV56AINI
Initialization of transaction control for transportation
V56AFCCH
Shipment processing: Check function code allowed
V56AGTAR
User Exit for Filtering Shipping Unit Calculation
V56ARCHV
Customer-spec. checks for archiving shipments
V56ATKTX
Change the number of lines for text input in shipment
V56BMOD
Transportation processing: Field modification
V56DISTZ
Shipment Processing: Determine Distance
V56FCOPY
Shipment processing: Copy delivery data
V56FSTAT
Shipment processing: Activities when setting a status
V56L0001
Status of Shipments for a Delivery
V56LDELI
Read Delivery Data for Shipment Processing
V56LOCID
Shipment Processing: Determine Location Identification
V56MVT04
Extensions for Collective Processing of Shipments
V56SLDET
Shipment processing: Leg determination
V56TDLIF
Filter Delivery Items for Shipment
V56UCHCH
Shipment processing: Check whether changes were made
V56UCHCO
Check shipments are complete
V56UDLUP
Obsolete as of 4.6C: Delivery Update on Delivery Routines
V56UNUMB
Shipment number allocation
V56USTAT
User-individual definition of transportation planning status
V56USVDO
Update new objects for transport
V56USVDP
Preparation for updating new objects for transport?
I will surely reward points. Thanks for your suggestion.
ambichan -
VT01N User exit for adding additional field to VTTP table and populate the
Hi,
Can any one sujjest what is the use exit/bapi when we add(append) a custom field to vttp table to populate the incremental number based on ship to address when we create a shipment..
need user exit in ...............to populate data to vttp table custom field when we append......hi,
check these exits for vt01n.
Transaction Code - VT01N Create Shipment
Enhancement/ Business Add-in Description
Enhancement
V56USVDP Preparation for updating new objects for transport?
V56USVDO Update new objects for transport
V56USTAT User-individual definition of transportation planning status
V56UNUMB Shipment number allocation
V56UDLUP Obsolete as of 4.6C: Delivery Update on Delivery Routines
V56UCHCO Check shipments are complete
V56UCHCH Shipment processing: Check whether changes were made
V56TDLIF Filter Delivery Items for Shipment
V56SLDET Shipment processing: Leg determination
V56MVT04 Extensions for Collective Processing of Shipments
V56LOCID Shipment Processing: Determine Location Identification
MV56AINI Initialization of transaction control for transportation
V56AFCCH Shipment processing: Check function code allowed
V56AGTAR User Exit for Filtering Shipping Unit Calculation
V56ARCHV Customer-spec. checks for archiving shipments
V56ATKTX Change the number of lines for text input in shipment
V56BMOD Transportation processing: Field modification
V56DISTZ Shipment Processing: Determine Distance
V56FCOPY Shipment processing: Copy delivery data
V56FSTAT Shipment processing: Activities when setting a status
V56L0001 Status of Shipments for a Delivery
V56LDELI Read Delivery Data for Shipment Processing
Business Add-in
BADI_LE_SHIPMENT BadI: Shipment Processing
BADI_V56N User Exit for Message Determination: Shipment -
User Exit for VT02N/VT03N after printing shipment
Please, I need an EXIT after printing Shipment on VT02N/VT03N.
The propose is check if exists an entry in NAST table of an output type and call automatically the screen of Issue output.
Sample: After printing a shipment with output type "ZCS1" the program has to check if an entry output type "ZCS2" also exists in NAST table for the same shipment, and, in this case, shows to user, the screen of issue output filled with output type "ZCS2".
Thanks in advance!Hi,
Below are some of the user exits for VT02N.
Have a look.
MV56AINI Initialization of transaction control for transportation
V56AFCCH Shipment processing: Check function code allowed
V56AGTAR User Exit for Filtering Shipping Unit Calculation
V56ARCHV Customer-spec. checks for archiving shipments
V56ATKTX Change the number of lines for text input in shipment
V56BMOD Transportation processing: Field modification
V56DISTZ Shipment Processing: Determine Distance
V56FCOPY Shipment processing: Copy delivery data
V56FSTAT Shipment processing: Activities when setting a status
V56L0001 Status of Shipments for a Delivery
V56LDELI
V56LOCID Shipment Processing: Determine Location Identification
V56MVT04 Extensions for Collective Processing of Shipments
V56SLDET Shipment processing: Leg determination
V56TDLIF Filter Delivery Items for Shipment
V56UCHCH Shipment processing: Check whether changes were made
V56UCHCO Check shipments are complete
V56UDLUP Obsolete as of 4.6C: Delivery Update on Delivery Routines
V56UNUMB Shipment number allocation
V56USTAT User-individual definition of transportation planning status
V56USVDO Update new objects for transport
V56USVDP Preparation for updating new objects for transport?
Hope this will help u..
Regards,
Gautham Paspala -
Need a user exit or enhancement point for loading start button in VT02
I have a requirement to write the code for loading start button and complete PGI as soon as loading start is checked in VT02(shipment transaction).
Please suggest....HI Venkata,
Below are the user exits and BADIs in the transaction VT01
Enhancement
V56UNUMB Shipment number allocation
V56UDLUP Obsolete as of 4.6C: Delivery Update on Delivery Routines
V56UCHCO Check shipments are complete
V56UCHCH Shipment processing: Check whether changes were made
V56TDLIF Filter Delivery Items for Shipment
V56SLDET Shipment processing: Leg determination
V56MVT04 Extensions for Collective Processing of Shipments
V56LOCID Shipment Processing: Determine Location Identification
V56LDELI Read Delivery Data for Shipment Processing
V56L0001 Status of Shipments for a Delivery
V56FSTAT Shipment processing: Activities when setting a status
MV56AINI Initialization of transaction control for transportation
V56USTAT User-individual definition of transportation planning status
V56USVDO Update new objects for transport
V56USVDP Preparation for updating new objects for transport?
V56AFCCH Shipment processing: Check function code allowed
V56AGTAR User Exit for Filtering Shipping Unit Calculation
V56ARCHV Customer-spec. checks for archiving shipments
V56ATKTX Change the number of lines for text input in shipment
V56BMOD Transportation processing: Field modification
V56DISTZ Shipment Processing: Determine Distance
V56FCOPY Shipment processing: Copy delivery data
Business Add-in
BADI_V56N User Exit Transport - Message Determination
BADI_LE_SHIPMENT BadI: Shipment Processing
Regards,
Radhika
Maybe you are looking for
-
Cannot configurate my new hp c5280 all in one printer
hello i try to instal my new hp c5280 printer on my ibook g4 with osx 10.4.10 systeem, but the configuration is unsuccesfull. the computer tell me to download a driver from hp. when i do so it still unsuccesfull. the computer asks me once again to do
-
I cannot view this beach webcam but others can?
Hi, I'm a noob to mac's. I want to view this webcam http://www.mamasbeachcam.com/ I go onto the page and i get to this stage (see pic hopefully) It stays at this stage and never loads. I have a friends in the house that have macs and can view it no p
-
Java.lang.NullPointerException in RFC Receiver Adapter
Hi Experts, i have configured SQL Sender Adapter and this works fine, i can see the payload. and at the receiver adapter i have configured RFC Receiver Adapter this is throwing NullPointerException as mentioned below.. can someone help me out to fix
-
I'm having trouble adding photos to iMovie '11 (same issue when I was on '09).
I start a new project in iMovie and drag a photo over from my desktop. I see the green line and then drop, the photo does not add. I tried using the media tables and dragging events, albums, and individual photos, but the same thing happens. The on
-
Help!! Authorization issues
I tunes says that my computer is authorized to play the song but won't let me play it. what do I do?