Perdiem calculations for multiple locations with different statutory types

Dear Experts,
As part of the perdiem calculations, when an employee selected different statutory trip types for different dates in a trip duration,perdiem to be calculated differently.But i am failing to calculate to such type of perdiems.
For Example :
Trip duration is, say from 01.05.2014 to 10.05.2014
Statutory trip types X with amount 200/day, Y with amount 300/day
When employee select the statutory trip type for  01.05.2014 to 05.05.2014 as X
and for 06.05.2014 to 10.05.2014 as Y
As per the scenario
01.05.2014 to 05.05.2014 (5 days *200) =1000
06.05.2014 to 10.05.2014 (5 days *300) =1500
total perdiem amount to be 2500 for the total trip duration
But my system considering last statutory trip type in calculating total perdiem as 3000 for the entire trip.
Please provide your suggestions to meet the requirement mentioned above
Thanks & Regards,
Y.V.P.Deepak

Hi Deepak
Kindly mark correct  if  your question has been solved .
For your next query , you can post it another post.
To  post in Fi with amount split , you can work on another badi: TRIP_POST_FI
There  you can make lot of changes before you post in FI
Thanks
Anwar Hossain

Similar Messages

  • Single invoice for multiple orders with different divisions

    Dear All,
    while I am trying to do single invoice for muliple orders with different divisons invoice is gettting splitted..In copy control vbrk routine I  tried with 003 and 007 etc..but result is same..what configuration need to be done for getting the single invoice
    Thanks In advance
    Regards
    CNRNAIR

    Hello
    single invoice for multiple orders with "different divisions" invoice is getting split
    FYI - Different Division means different Sales Area.
    So, sales doc (whether sales order, Delivery & Billing) is applicable to EXACTLY one sales area.
    Thus, combining docs with different sales area is practically impossible.
    Provided, you are using common division.
    Hope this assist you,
    Thanks & REgards
    JP

  • BO xi 3.1 u2013 schedule a template for multiple reports with different column

    Hi,
    I need to migrate the existing reports from SQL Server Reporting Services to BO, and the column order in the report is very important to the clients since clients have existing code to ingest these reports into their database. Now I want to schedule a single template with different parameters for all reports in BO, or create a single template with lot of parameters for all reports. My question is how I might use one template to create multiple reports with different column orders in the reports?
    For example, client A has the following column order in their report: firstName, LastName, DateBirth, SSN. Client B has the following column order in their report: SSN, DateBirth, LastName, FirstName. Can I use one template to create these multiple reports?
    Thanks!

    Hi,
    The only approach I can think of is to create a template report which uses variables
    For each column you would need to variable
    v_columnAName and v_columnAValue
    v_columnAName would have a if statement in it
    =if([client]="clientA" or [client]="clientC";NameOf([firstName]);if([client]="clientB";NameOf([SSN]);NameOf([lastName]));
    v_columnA would have a if statement in it
    =if([client]="clientA" or [client]="clientC";[firstName];if([client]="clientB";[SSN],[lastName]));
    This would only work when you had a small set of clients.
    This might be more managable if it was done in the universe
    Regards
    Alan

  • Design a single template for multiple reports with different column order

    Hi,
    I need to migrate the existing reports from SQL Server Reporting Services to Crystal Report 2008, and the column order in the report is very important to the clients since clients have existing code to ingest these reports into their database. Now I want to create a single template with lot of parameters for all reports. My question is how I might use one template to create multiple reports with different column orders in the reports?
    For example, client A has the following column order in their report: firstName, LastName, DateBirth, SSN. Client B has the following column order in their report: SSN, DateBirth, LastName, FirstName. Can I use one template to create these multiple reports?
    Thanks in advance.

    -As I mentioned you can find Template Field object in Insert menu of crystal report Designer 2008.
    As soon as you select Template Field object you will be able to see a box beside ur mouse cursor. Drag and drop this box at required place. Now when you place this object in report you will get some thing like this "<TemplateField1>" listed under Formula Fields tree. Double click "<TemplateField1>" formula to add your conditions.
    -I have not tested it for large amount of Customers. However as the number of customer increases the number of conditions will get increased.
    For the customer that want the same ordering of columns you can put those customers under one condition.
        for Example...
              if(?Client in ['clientA','clientA']) then
                        <TableName>.<Field>......
    -What do you mean be 40 columns? Do you mean 40 fields or you want to show 40 columns in report? Please elaborate.
    Regards,
    Amrita
    Edited by: Amrita Singh on May 21, 2009 7:54 AM

  • Single ERS Invoice for multiple POs with different GS and same IP

    Dear All,
    I have a Requirement as per the below scenario:
    We need to have single invoice created using ERS (MRRL) functionality in the below scenario:
    Two POs created with different Partner function GS (goods supplier) and same IP (Invoice party partner function).
    Ex:
    GS IP PO GR ERS
    vendor1 10001 4500001 500001 Yes ( GR-IV-Yes, GR done- Yes, same payment terms - 001)
    vendor2 10001 4500002 500002 Yes ( GR-IV-Yes, GR done- Yes, same payment terms - 001)
    When I run ERS for last 1 week (GR) and select the option (Doc selection – per IP or other criteria like GRs posted in last one week) , system should create 1 invoice document. Standard SAP posts 2 documents for each GS.
    I have tried using 2 user exits for MRRL, but none of them work for this functionality.
    Thanks,

    Hi,
    Go for  MIRO without MRRL.
    Instead ERS, you can post single  Invoice(MIRO) for multiple POs  for one vendor.
    OR
    Check with Technical consultant and go for development to have single ERS output for multiple ERS invoice documents for single vendor.
    Regards,
    Biju K

  • PDF for multiple users with different values

    Is there a way to create a PDF to be sent to multiple users but have different values in the PDF? For expample employee A's offer letter is for $50/hour while employee B's offer letter is for $55/hour. But they have the same offer letter just with different values.
    I have Enterprise EchoSign and FormsCentral.
    Thank you!

    Hi,
    Thanks for asking, but FormsCentral currently does not support this.
    Perry

  • Vendor invoie for multiple POs with different payment terms

    Hi,
    We have a vendor which send a single invoice for multiple POs which have different payment terms. Now if we create a single invoice in MIRO, then only a payment term can be applied.
    However user want to pay to the vendor corresponding to the PO terms.
    Please let us know any way apart from creating multiple MIRO documents.
    Regds,
    Nand

    Hi,
    You can achieve so in standard SAP.
    Go to OBY6 and activate the check box "Enable Amount Split" in your company code. Then in MIRO, a new tab will appear in the header as "Amount Split"
    In this tab, you can split the vendor invoice in multiple lines with respective payment method and payment term.
    I hope this will help you.
    Regards,
    Gaurav

  • APP - F110 - Payment of multiple invoices with different document type

    Hi
    Vendor X has been assigned with payment method same with two document types. One document type got 4 invoices and other document type got 1 invoice.
    During payment run (F110) for each document type, the system picked up both the document type but listed them as two separate lines in the proposal list. When we process the payment the system also created two payment documents.
    Is there a way for these two document types to be processed as a single proposal and payment.
    Any suggestion how can we process these invoices together in a single proposal/payment document?
    Thanks & Regards,
    Sam

    Thanks

  • Single Maintenance plan creation for multiple equipemnts with different cyc

    Dear Experts,
    I had a following scenario to map in PM module. can anybody guide me to map this process?
    we had no.of equipments under one functional location and will go through preventive maintenance on yearly basis. For this, i will create the single cycle yearly maintenance plan which comprices of maintenance items, which is fine. out of these equipments some of the equipments will go for routine maintenance like quarterly, half-yearly, tri-quarterly. user want to club these scenarios also in single preventive maintenance plan. when we scdule this plan, system has to deliver monthly orders and as well as yearly orders from single preventive maintenance plan.
    Thanks & Regards,
    Krishna

    Hi Krishna Murthy,
    It can be acheived in the following Manner.
    Create a Strategy say "Test" with Packages 1M, 2M,Q,H,Y packages.
    Create 5(say) Equipment Task Lista for each of the 5 Equipment at that FL.
    1st Task List will have Operations related to say Monthly(1M), Quartely(Q), yearly (Y)
    2nd Task List will have Operations related to say Monthly(1M), Quartely(H), yearly (Y)
    And so on... as per Business Requirement.
    Now create a Maintenance Plan with 5 maintenance Items with respective Task Lits.
    Now Schedule the Plan and give the Last Completion date as the Yearly package (A date one year less than the day you wanetd the yearly plan).
    Then check the calls.
    Regards
    MLN Prasad

  • Single invoice for multiple orders with different exchange rates

    Hi Gurus,
    We have a situation where the client wants to bill two orders together but both have been created in different months and have different header exchange rates.
    Can someone advise if we can combine these orders / deliveries into one invoice if
    (a) pricing dates & order creation dates are different
    (b) exchange rate of order header differs for both orders
    If standard behaviour is different, can someone advise how it can be manipulated to suit our requirement which is to have 1st exchange rate on those invoice items coming from 1st sales order and 2nd rate for those invoice items coming from 2nd sales order.
    Thanks & Regards,
    Krishna
    SAP SD

    Hi,
    the date will not affect the consolidation of orders to a single invoices provided yur bill to party and all other details are same in both the docuemnts. But due to the exchange rate differences it may split. You can try the same in your test system. If it is splitting the invoice then you need to modify the requirement used in the copying control from order to billing to allow the same.
    Prase

  • ICloud for multiple devices with different IDs

    I presently have a MacbookPro (10.7.2), iPhone (5.0.1), and an iPad (5.0.1) all on iCloud, linked by my former MobileMe me.com account, that is now my new iCloud ID. No problems with these three.
    What I would like to do (I think, read on...), however, is link my husband's iPhone and MacAir to the same iCloud account, as we share all key programs (calendar, contacts, photos, music, etc) except Mail. We were previously synced up
    He has not upgraded his computer to Lion or his phone to 5.0.1 yet, but before we do that, I'm trying to figure out how we can make them all work together, less Mail, which I believe would mean setting up a new iCloud ID that we use for everything.
    My questions are:
    1 - Is it possible to reset my computer, iPhone and iPad that are already on iCloud to a new iCloud ID/email address, and if so, would I a) lose access to my old MobileMe me.com account that is presently acting as iCloud ID, and b) lose content from the programs (contacts, iPhoto, iTunes, etc)?
    2 - If above is possible, if we create a new 'official' iCloud ID that we use on all devices in the family, would I be able to retain my old MobileMe me.com address, as I've used it for years and have too much saved in mailboxes to easily let it go?
    3 - Also, would the joint syncing of all devices mean that all of my email addresses would be on his devices and vice versa, or would that be controllable (example, if I have new iCloud ID, old MobileMe, Yahoo, etc and he has new iCloud ID, AOL, Hotmail, do all show on both devices??)
    If I am making our sharing of applications more complicated than it should be, please enlighten me. We basically just want to be able to have the same master contact list, calendar, iPhoto and iTunes libraries, Apps, etc..
    Thank you!!!!

    1a You won't be able to re-use your me address.
    1b No you could save the content if done correctly (iTunes is not iCloud)
    2 No, you won't be able to re-use your me address.
    3 The me addresses on a single account can all show up on a device or none show up on a device depending on whether mail syncing is on or off, you can't have some addresses on and some of on a device.
    I believe you have two choices.
    You can both use your existing account and could sync all the things like calendars etc etc, you can have your email address and your husband could have an alias, but you would both see each others mail (and it's not overly clear which is which)
    You can keep your account, he can start his own, that way you would each have your own email address without seeing each others. You can add his account to yours as a secondary account and just turn on syncing on calendars, contacts etc, he could do the same with your account. iTunes isn't iCloud, so you could both use your existing iTunes account and keep access to all your music, movies, apps, books etc. The only thing you couldn't share would be photostream, which is rather unfortunate but there.

  • How to create group bom for multiple plants with different company codes

    Dear all,
    In my current scenario we have 5 Company codes with a plant with each company. The same kind of materials exist in all the 5 plants, so what i want is when i create any BOM, that BOM has to extend in all the company codes, as with GROUP BOM i can able to extend the same in only one company code.
    So how to do this?
    Thanks in Advance
    Bhushan

    For that first extend all the materials to all the plants... In one plant create a BOM for the material..
    In all other polants in CS01,   click COpy from .. There you mention the matreial and the plant in which the BOm is alerady available..
    karthick

  • Managing multiple libraries with different file types (AAC v. Lossless)

    I have set up two libraries, one for my AAC music and the other for my lossless music. The files themselves are located in two separate places on my hard drive. When I switch libraries (option-clicking iTunes), and go to Preferences/Advanced tab, the directory for the files and the import method doesn't change -- I have to change it manually. This is annoying.
    Does anyone know of a way to automate this change, so that if I open a new library, the default location of the files and the import format changes automatically? I tried ituneslibrarymanager from Dougscripts, but for some reason can't get this program to install on my machine.

    No, it's the same Windows XP user account, but I have two separate music libraries - the music files in library are in a lossless format, while those in the other are in AAC. For convenience, I wish to keep the two libraries separate.
    In iTunes 7 it is possible to have separate libraries - start iTunes and hold down the SHIFT key (Windows) while the program starts. A dialogue box then appears where the required library can be selected. However, as far as I can tell, it's not possible to have a different set of preferences for each library.
    Say the preferences are set up for my lossless library, which is located on a separate network drive. If I then make the AAC library active and open iTunes, iTunes reindexes the library according to the settings for the lossless library and I end up with the AAC library full of lossless files. I've tried unchecking various things in the preferences box, but I've had no luck fixing the problem. Thanks for your suggestion - I have already reported the problem.
    The whole thing is a rather inelegant way of managing multiple libraries in iTunes. Surely the Apple developers can come up with a way of doing it from within iTunes??

  • Search help for custome field with different data type

    Hi Friends,
    I have Created a  custom table in which i have created a field is
    ZMATLONG which stores material number.
    Now the data element is zdmat which is of char 40..
    Now i want to give search help for this field ZMATLONG..
    I have tried many ways giving search help to this field
    a) i Tried to attach the standard search help of MATNR ie : MAT1 but its showing me data type inconsistancy
    b) i created a zsearch help and in the selection method i have used database table mara , again here iam getting the same error data type inconsistancy...
    Now how can i give the search help like matnr field to my custom field ZMATLONG...
    How can i do it..?
    Thanks in Advance..
    Regards
    Kumar

    Hi,
    MATNR ahs length 18 and ZMATLONG has length 40.So due to this u cannot use MAT1 search help.
    best way would be cope MAT1 into Z search help. Then in the search help parameter change the data element of field
    MATNR as ZMATLONG.
    Now if you assign Z search help to ZMATLONG  it will work.
    I tried this its working fine.
    Shanmugavel Chandrasekaran

  • How to structure the DMA buffer for PXie 6341 DAQ card for analog output with different frequencies on each channel

    I'm using the MHDDK for analog out/in with the PXIe 6341 DAQ card.
    The examples, e.g. aoex5, show a single Timer  (outTimerHelper::loadUI method), but the example shows DMA data loaded with the same vector size.
    There is a comment in the outTimerHelper:rogramUpdateCount call which implies that different buffer sizes per channel can be used.
       (the comment is: Switching between different buffer sizes will not be used)
    Does anyone know what the format of the DMA buffer should be for data for multiple channels with different frequencies ?
    For example, say we want a0 with a 1Khz Sine wave and a1 with a 1.5Khz sine wave.  What does the DMA buffer look like ?
    With the same frequency for each channel, the data is interleaved, e.g.  (ao0#0, ao1#0; ao0#1, ao1#1, ...), but when the frequencies for each channel is different, what does the buffer look like ?

    Hello Kenstern,
    The data is always interleaved because each card only has a single timing engine for each subsystem.
    For AO you must specify the number of samples that AO will output. You also specify the number of channels. Because there is only one timing engine for AO, each AO will channel will get updated at the same time tick of the update clock. The data will be arranged interleaved exactly as the example shows because each AO channel needs data to output at each tick of the update clock. The data itself can change based on the frequency you want to output.
    kenstern wrote:
    For example, say we want a0 with a 1Khz Sine wave and a1 with a 1.5Khz sine wave.  What does the DMA buffer look like ?
    With the same frequency for each channel, the data is interleaved, e.g.  (ao0#0, ao1#0; ao0#1, ao1#1, ...), but when the frequencies for each channel is different, what does the buffer look like ?
    In your example, you need to come up with an update rate that works for both waveforms (1 KHz and 1.5 KHz sine waves). To get a good representation of a sine wave, you need to update more than 10x as fast as your fastest frequency...I would recommend 100x if possible.
    Update Frequency: 150 KHz
    Channels: 2
    Then you create buffers that include full cycles of each waveform you want to output based on the update frequency. These buffers must also be the same size.
    Buffer 1: Contains data for the 1 KHz sine wave, 300 points, 2 sine wave cycles
    Buffer 2: Contains data for the 1.5 KHz sine wave, 300 points, 3 sine wave cycles
    You then interleave them as before. When the data is run through the ADC, they are outputting different sine waves even though the AO channels are updating at the same rate.

Maybe you are looking for