How to determine Deliveries per Shipment Stage?
Hello SAPients!
Is there any table or Function Module to get the corresponding Deliveries per Shipment Stage?
Thank you in advance for your help.
I think I found it, the table name is VTSP and it can be linked with VTTS and VTTP in this way:
VTTS-MANDT = VTSP-MANDT
VTTS-TKNUM = VTSP-TKNUM
VTTS-TSNUM = VTSP-TSNUM, and
VTSP-MANDT = VTTP-MANDT
VTSP-TKNUM = VTTP-TKNUM
VTSP-TPNUM = VTTP-TPNUM.
That is, it can be put exactly in the middle between the Shipment Stages and the Shipment Items (Corresponding delivery is in the shipment Items)
Thank you anyway.
Similar Messages
-
How to determine minutes per week with inconsistent start and end times...
ver -> 10.2.0.4
I'm looking for some guidance or some pseudo code in how to attack the following:
Data
target_nm status start_timestmap end_timestamp
DEVDB Target Up 8/28/2009 9:49:08 AM 9/26/2009 6:34:23 PM
DEVDB Target Down 9/26/2009 6:34:23 PM 9/26/2009 6:36:23 PM
DEVDB Target Up 9/26/2009 6:36:23 PM How can I display, per week, the number of minutes a status was held? There are 10,080 minutes per week and I'm using to_char(to_date('8/28/2009 9:49:08 AM', 'mm/dd/yyyy hh:mi:ss AM'), 'WW') to determine the week number. The end result would be something like, in example:
target_nm wk up down
DEVDB 35 [x minutes] [y minutes]This, at first, seemed pretty straight forward, but where it gets wrapped around the axle is that the records of a status can span a number of weeks between the 'start_timestamp' and the 'end_timestamp.'
My current approach is to isolate this down for a given day...if something is "started" then determine the number of minutes between trunc(start) +1 and start . If it has "ended" then determine the number of minutes between trunc(ended) and end.
Resulting in something like:
target_nm status day_of_year minutes_of_status start_timestamp end_timestamp
DEVDB Target Up 8/27/2009 296.3333 8/27/2009 7:03:40 PM nullAny advice, a different perspective, or pseudo code would be greatly appreciated on how to turn the corner on showing these status's as they break down per week.
Regards,
-abeHi,
As you said, you just need to compute SUM (end_timestamp - start_timestamp), GROUPing BY week.
The tricky part is what happens when an event is not entirely within one week. For example:
DEVDB Target Up 1/07/2009 11:00:00 AM 1/08/2009 2:00:00 PMThis event lasted 3 hours, but you want to count this as 1 hour in week '01', and 2 hours in week '02', not as 3 hours in either week.
The solution is very much like the one in the following thread:
[8i] Date/Time calculation problem...
Whenever you have a problem, post a little sample data (CREATE TABLE and INSERT statements) and the results you want from that data.
Edited by: Frank Kulash on Mar 16, 2010 12:16 PM -
Partner determination at shipment stage level
Dear All,
We would like to have multiple partner functions determined for a shipment stage within the shipment. Stages are maintained for the shipment route. But we dont want to maintain the service agent at stage level inside the route in IMG. This only determines one partner at stage level. We need multiple partners. Which exit can help here? I dont think normal partner determination exit can be used here like EXIT_SAPLV09A_004 as it is not called in shipment. Please suggest.
Best Regards
DineshHi,
I am sure whether it will helpful to you or not
Kindly check the menu path SPRO --> Sales & Distribution ---> Basic Functions --> Partner Determination -- > Set up Partner Determination -- >Set Up Partner Determination for Shipment
Regards,
Prasanna -
Changing batches of deliveries in shipment/transportation? How can I?
Hello ABAP Experts,
we are dealing with an issue arousing from this SD/LES process
Order -> Delivery -> Shipment (truck load)
-> Batch determination in deliveries
-> Deliveries to shipment
-> Picking list printed -> picking per shipment (truck load)
-> Warehouse clerk picks per truck and loads the truck
-> Warehouse clerks corrects qty and batches if not available on picking lists
-> Sales clerk/SAP user has to change qty and a batches of deliveries in shipment. hanges usually look like:
- batch 1 is changed to batch 2 in ALL deliveries
- material 1 is changed to material 2 in ALL deliveries (incl batch redetermination)
-> Save of shipment -> Goods issue
-> Truck goes on tour
What are the options we have?
BAPIs, BADIs?
Many thanks
Cheers
Edited by: JW on Jun 22, 2009 12:42 PMOk, so even thought no one has answered, it appears that once I move mail to the "On My Mac" mailboxes, they no longer exist on the server (though they can be moved back there if desired). Which means that I'm fine if I migrate my hosting to a new server, and redownload them, because the mail in "On My Mac" will be untouched. The only thing I don't know about is the "Sent" mail, but I believe those also exist on the server, and therefore if I migrate them then the link relationships are maintained (no idea about the mail that is "On My Mac" that has links to "Sent" mail in the server, but I guess that isn't so important).
As for keeping a completely syncronizable Mail application - the only way it appears I'd be able to do that is to forgo "On My Mac" entirely, and keep *all* mail on the server. If I want to move mail into different folders, those folders would have to be Server folders created for that account, and hosted by that hosting company. This actually doesn't seem like such a bad move, especially as we get further and further away from having only one device that we use to process Mail.
Are there any disadvantages to *not* using the local "On My Mac" folders? Are there any major advantages to using them? -
How to determine the stage orientation portrait or landscape
Hello,
how to determine the stage orientation portrait or landscape in flex 4.5 (flex hero this.navigator.landscapeOrientation doesn't work).
thanks.Application now has a aspectRatio property. You can use that to determine whether the application is in a landscape or portrait orientation.
Chiedo -
No stages and no points could be be determined for the shipment
HI all,
I am working on Routes with Stages, and have configured the settings. I am able to see the Route getting determined in Sale order and in Delivery, but unable to see where the stages are reflected in delivery.
Can anybody pls throw some light on it. When i am trying to view through the Environment - Transportation info, it is throwing the error message "No stages and no points could be be determined for the shipment".
Waiting for your valuable inputs.
Thanx and Regards
Vamsi Javaji.Dear Vamsi,
Please create shipment document through VT01N transaction with reference to that delivery,stages will get determine in the shipment document.
After creation of shipment document you can view the Transportation information throughDelivery>Menu> Environment-->Transportation info without error.
Note : Shipment document need to create before PGI
I hope this will help you,
Regards,
Murali. -
VI01 - Shipment Costs (combining Deliveries from Shipment document)
Hello experts
Do you know how to combine (consolidate) the shipment costing line item (VI01) when there are more than one Delivery to the same customer in the Shipment document?
E.g. I have a Shipment with 58 Deliveries and for a specific customer has 2 Deliveries, the Shipment Costing (VI01) must to create just one line item consolidating the 2 Deliveries for that customer, not to split 2 lines (one line for each Delivery).
Any help will be highly appreciated.
Best regards...
Marcelo Boccia - SAP SDGuys
This is the right question:
- I would like to know if there is a customizing in order to do that or if would be a good idea to use an User-Exit or BADi.
I found these objects:
User-Exits:
V54B0001 Shipment Costing: Configure pricing
V54B0003 Shipment Costs Calculation: Determine Rate Type and Currency
V54B0004 Shipment Costs Calculation: Determine Status
V54C0001 Shipment Costing: Description(s) shipment cost item(s)
V54C0002 Shipment Costing: Create shipment cost sub-items
V54C0003 Shipment Costs Processing: Determine Invoicing Party
V54C0004 Shipment Costs Processing: Determine Loc. for Tax Invoice
V54D0001 Shipment Costing: Determining the Tax Countries
V54KSFRC Determining the factors for apportionment of shipment costs
V54P0001 Extended Function Codes for Shipment Cost Information
V54U0001 Shipment Cost processing: Check whether changes made
V54U0002 Check shipment costs for completion
V54U0003 Specification of shipment cost number
V54U0004 Formatting for update of new objects (shipment costs)
V54U0005 Updating new objects in shipment cost processing
V54U0006 Shipment Purchase Order - Header Data Supply
V54U0007 Shipment Purchase Order - Item Data Supply
BADIs:
BADI_SCD_ACCTG Call During Shipment Cost Account Assignment
BADI_SCD_CREATE When Generating a Shipment Costs Document
BADI_SCD_CREATE_CHCK For Checks When Creating a Shipment Costs Document
BADI_SCD_PO_SELECT Call for the Purchase Order Item Determination
BADI_SCD_PROCESS_CHK For Checks During Shipment Costs Processing
BADI_SCD_SAVE When Saving Shipment Costs Documents
BADI_SCD_TRANSFER For Transferring Shipment Cost Items
Unhappily I don't know the right object to use...
Thanks
Marcelo - SAP SD
Sao Paulo - Brazil
Edited by: Marcelo Boccia on Feb 10, 2010 10:45 PM -
Hi,
My user requiremnt is they want one time cost per shipment irrespetive of number of deliveries in the shipment.They are using one condition type for his .While vi01 cost should come once per shipment but i have done some changes the cost is coming to each delivery associated to the shipment.could you please assist.
Reagrds,
DebeshHi Debesh,
First of all, check your item category used into VI01. E.g. if you go to T_56 trx. check
how it is defined it. e.g. 0002 item linked to shipment type 0001 -> the origin of this item is "shipment header"
(rec. indicator) this setting characterizes the reference to which a shipment costs item refers.
Besides, as my colleagues told, condition type (t_06) and calculation basis defines how costs are based on..
regards,
david
Please refrain from begging for points, it is against forum rules
Edited by: Csaba Szommer on Apr 8, 2011 1:14 PM
Edited by: David Ruiz on Apr 12, 2011 1:40 PM -
Shipment stages and delivery number
Hi Friends
we have four delivery number process by one shipment number.
Shipment is having two stages, How we can identify which delivery numbers are related to whihc shipment stage.
Thanks.Hi Shiv,
Please go to VT02N transaction enter your shipment number then go in to the shippment document.
To display details about the stages in the shipment document:
1.On any of the shipment overview screens, choose Overview -->Stages.
2.Select the stage(s) for which you want to display details.
3.Choose Stage --> Stage detail.
You can get display about the deliveries or partners for the stage by choosing Deliveries in stage or Partner stage.
You will reach the detail screen for the first stage that you selected. If you are in change mode, you can make any necessary changes. To reach the detail screen for any other stages you marked, choose Stage --> Next stage.
I hope it will help you,
Regards,
Murali. -
Anyone know how to determine Macbook Air screen tech? Causing migraines
Hi There,
Last year, I expereinced a lot of mild migraines which I've traced back to a new Macbook Air.
At first I had no idea of the cause (diet, stress etc) but have noticed that my eyes feel uncomfortable looking at the screen of my Macbook Air (I don't have this issue with my Dell monitor).
My eyes don't hurt per se, but I can detect a sublte jittering with the screen - which can turn into a migraine.
After doing a bit of research, it seems like most (but not all) LCD and LED LCD displays use something called pulse-width modulation to control brightness but after calling Apple support, they told me my MBA doesn't use this technology.
Does anyone know how to determine the underlaying technology in Apple displays so I can research the cauase of my headaches? I found a good Ukranian website (in english) that explained pulse-width modulation but it didn't really talk about other technologies.
Any pointers in the right direction would be much appreciated.
Cheers
BenWhat version of OS X are you using? If Yosemite, you need to update to 10.10.1 or higher.
In any case, start by going to the editor preferences>general, clicking this button and restarting the editor: -
How to determine most recent date from the date column of internal table
Dear friends
would you like to tell me. how i determine the most recently changed record by looking at date and time from internal table i am not supposed to sort the table by date and time... I must check date and time with other records date and time to determine which record is most recently changed...
here the scenario is.
id idnumber chdate chtime
1 123456 20060606 135312
2 123456 20060606 135900
3 123456 20060606 132300
4 123457 20060606 140000
5 123457 20060606 142500
in the above scenario i must keep in my mind that the most recently changed record is identical to its idnumber i can say that:
the record should be fetched this way
id idnumber chdate chtime
3 123456 20060606 132300
5 123457 20060606 142500
because here the id 3 is the most recently changed in the idnumber 123456
where id 5 is the most recently changed in the idnumber 123457
please help me to determin how i am supposed to carry out this task any suggestion, code will be great help of mine.
regards
NaimAfter testing my suggestion above, I realized that it doesn't work because the delete adjacent actually will keep the first one and delete the rest. I'm working with Srinivas's code a bit now, I think it is almost what you want. I am under the impression that you dont' want to HIGHest date/time, but just the last record of the sequence, if this is the case, then this code will help. Here we will assign an index to each record per the idnumber, that way we can sort it and get the lastest record.
report zrich_0001.
types: begin of itab_type,
id type i,
idnumber type i,
chdate like sy-datum,
chtime like sy-uzeit.
types: end of itab_type.
types: begin of itab_type2,
id type i,
idnumber type i,
index type i,
chdate like sy-datum,
chtime like sy-uzeit.
types: end of itab_type2.
data: itab type table of itab_type with header line,
itab2 type table of itab_type2 with header line,
prev_rec type itab_type.
data: v_id type i.
start-of-selection.
itab-id = 1.
itab-idnumber = 123456.
itab-chdate = '20060606'.
itab-chtime = '135312'.
append itab. clear itab.
itab-id = 2.
itab-idnumber = 123456.
itab-chdate = '20060606'.
itab-chtime = '135900'.
append itab. clear itab.
itab-id = 3.
itab-idnumber = 123456.
itab-chdate = '20060606'.
itab-chtime = '142500'.
append itab. clear itab.
itab-id = 4.
itab-idnumber = 123457.
itab-chdate = '20060606'.
itab-chtime = '140000'.
append itab. clear itab.
itab-id = 5.
itab-idnumber = 123457.
itab-chdate = '20060606'.
itab-chtime = '120000'.
append itab.
clear itab.
<b> data: counter type i.
* Assign an index to each row per idnumber
loop at itab.
on change of itab-idnumber.
if sy-tabix > 1.
clear counter.
endif.
endon.
clear itab2.
move-corresponding itab to itab2.
counter = counter + 1.
itab2-index = counter.
append itab2.
endloop.
* Sort it and get rid of older records.
sort itab2 by idnumber ascending
index descending.
delete adjacent duplicates from itab2 comparing idnumber.</b>
read table itab2 with key idnumber = '123456'.
write:/ itab2-chdate, itab2-chtime.
read table itab2 with key idnumber = '123457'.
write:/ itab2-chdate, itab2-chtime.
Regards,
Rich Heilman -
How to determine the Support Team from Reported-by?
Hi All,
We need to determine the support team based on reported-by.
I have concluded it is only possible by customization of developing ZBADI from these threads:
Re: How to determine the Support Team from the Reported by?
Automatic determination support team based on own specs?
Re: Route tickets based on Message creaters's location
So we have created ztable which has relation between SAP component, Reported-by and Support Team.
Now i need to develope a ZBADI and assign to the action definition SLFN0001_ADVANCED_FIND_PARTNER(i hope).
Can anyone help me out with the piece of code. Because i don't which FMs to be called for read and update the support desk message.
Note: Action definition SLFN0001_ADVANCED_FIND_PARTNER uses method call Z_CRM_DNO_PARTNER_1(which is a copy of CRM_DNO_PARTNER_1 and applied some correction as per note: 1041455).
Thanks in advance.
Regards
Sanjaiclosing this thread.
-
How to determine Organizational Data based on User Login
Dear all,
How to determine organizational data based on user login in Activity transaction, currently org determination is happening after entering customer number in the transaction.
We have used 'Responsibility' determination rule for this configuration. Now the requirement is to determine org data based on user login.
In Org model we have assigned user to org data through a business partner. But still org data is not getting determined in the transaction.
Please help me to trace out the problem.. your suggestions will be highly appreciated.
Best regards
Raghu ramYou just have to use other organization determination rule. In your case this would be rule 10000194 (ORGMAN_12). This determination rule delivers the responsible organizational unit of the user
User is defined as a business partner in the container attribute 'PARTNER'. If not, the system user (sy-uname) is used.
So you have to do the following:
- use this determination rule
- in BP link username with employee
- assign in PPOMA_CRM employee or user to organizational unit
This should solve your problem. -
How to send deliveries via mail to customers?
Hi gurus, how are you doing? I really need your help and guidance to know how to send deliveries after doing the PGI to the customer vía mail.
Could you please tell me what are the steps to set up the mailing function and the requirements involved?
Cheers and as usual thank you very much for your help!!!!Hi Lorena,
1. Yes you can do for any output, you go to SPRO > IMG> Logistics Execution--> shipping ---> Basic shipping functions > output control> output determination --> maintain output detemination for outbound deliveries -->Maintain output types --> select which output you want, click on Processing routines it will take you next screen, there you need to enter Transm.medium as mail.
Enter the Program and Form routine.
2. IF you want send mail after PGI for a perticular output type you need to maintain Routine '1' in output determination procedure at Requirement column.
3. Yes you need abaper help to Enter the Program and Form routine in the Processing routines .
4. Yes you need to maintain mail ID at Shi-to-Party master data.
I hope you are clear,
Regards,
Murali. -
Can i know how partner determination procedure with one time cust
hi sap gurus,
can i know how to determine partner determination procedure
for one time customer.
bcz
its creating a problem in creation of salesorder and it is saying
that no assignment of PDP is there for your one time customer.
help me on this
regards,
balaji.t
09990019711.Dear Balaji,
Only account group is differs to the onetime customer,remaining steps are same as normal customer so,
-->First you need to maintain the nuber range to the one time customer account group as per your requirement.
-->You need to assign the SP,BP,PY and SH partner functions to the One time customer account group in the partner determination -->Account group-Function assignment.
I hope it will help you
Regards,
Murali.
Maybe you are looking for
-
What settings needs to be changed in IE to allow ActiveX Printing?
Hi, Our users are using IE7 to print report. Their preferences for Crystal reports has ActiveX printing selected. When they click on printer icon for a opened crystal report then they get a error message like One or more ActiveX controls could not be
-
I have Athlon 64 2.7 GHZ (LE-1640) socket AM2 PROCESSOR MSI K9AGM4 AMDD690V/AM2DDR2 800/PCI-E/VS/S/RAID/LAN KINGSTON 1GB DDR2 PC667 SEAGATE 160GB STA 500W POWER SUPPLY it is very lag and it freezes on online games but it works fine with GTA, Warcraft
-
Need to format c:\*.* but keep my ITunes library
I cannot find the anser to a seemingly simple question.... Assuming I have properly saved my itunes library to an external hard drive, how do I reinstall my itunes library after reinstalling Windows? I'd hate to start this process without reassurance
-
Does anyone have experience in using SAP BPC to calculate company tax. Considering you already have all consolidation data in BPC already, I assume it would merely be a matter on creating the necessary calculations in BPC to handle the various tax ru
-
I have a iPad first gen but can't doe a software update off my computer can I do it wirelessly and unlike my other apple products in settings there is no software update botton