Getting cost assignment for entire trip

Hi all,
I'm trying to get the cost assignment of a trip (like you can see in transaction PR05) in an ABAP report.
Does anyone know if there is a FM to get it or in which table the data are stored.
Thanks in advance,
BT

Thanks for your help Ravi,
Bapi BAPI_TRIP_GET_DETAILS returns the information I was looking for.
BT

Similar Messages

  • Alternative cost assignment for entire trip if different to master CA

    In the travel manager, i am not getting the drop down for choosing the different cost assingment. Previously i was getting this functionality and now I am not getting it. Is there any settings involved for this. Appreciate help.

    Hello,
    Please check your setting base on the note 312102. I think you have put more than one cost assignment in mandatory field which makes only possible in the Alternative Cost Assignment to enter your data.
    Regards,
    Raynard

  • Alternative Cost assignment for entire trip

    Hi all,
    In PR05 screen when an employee books his travel expense.he will be allowed to give a cost center in thw drop down.
    In the drop down box i am not getting any values to select.
    where i can do this configuration so that i can get a cost centre visible for selection in the drop down box.
    please help me on this.

    yes i want to book the cost of trip to some other cost center other than the employee master cost center.
    please help me where the config to be done

  • Help neede to get Cost Itemization for a material

    Dear All,
    I am developing one report for Cost Component Details. First of all I Fetch Cost Estimate No for the Material from KEKO table then I search KEPH table for its Cost Components here i get 2 entries for a material one is for UPPER LEVEL and One for LOWER LEVEL. And after that i use "BAPI_COSTESTIMATE_ITEMIZATION" to get itemization but my problem is that i am not able to find data for LOWER LEVEL Components. I want both UPPER & LOWER LEVEL itemization for the particular material so i can match overall cost.
    So, can anybody help me in this matter.
    Thanks in Advance,
    With Regards,
    Mudassar Praniya.

    Solved.

  • How to get Cost element for a component in co03 cost analysis report

    Hi,
    I'm using table COSP to find the quantity for a production order component.  However, I need to identify the cost element first to get the unique data.  In CO03 cost analysis report, there is cost element for the component.  Does anyone know how to get it ?
    Thanks.

    CSKA stores the basic info about the cost element
    There is no data in CSKB.
    I'm trying to use different tables to get the cost element.
    AUFK, AFKO, AFPO, RESB, ...but no luck...

  • Can travel allowance be for entire trip?

    Hi,
    My client gives 90% of travel allowance before the employee goes on trip. Can the employee pre-plan the trip get the travel allowance and then go for trip in SAP? If there are any deviations, can he later come and edit the travel plan so that he can claim actual expenses?
    Thanks,
    -Sasi.

    closed

  • 997 getting Reject code for entire set for incoming 810

    Hi everyone,
    I have an inbound scenario from EDI 810 to invoice IDoc, in which I need to set up the 997 Acknowledgment. This is my receiver EDI Separator channel setting for 997.
    I m getting a Reject code(R) in AK5 and AK9 segments of 997 document. Can you please help me with understanding more on why I m only getting R and not A(Accept) code on these.
    This is the payload I m using in testing.810:
    ISA*00*          *00*          *01*040986076      *ZZ*ADVPCS         *140204*094
    9*U*00401*000000001*0*P*>~GS*IN*040986076*ADVPCS*20140204*0949*1*X*004010~ST*810
    *0001~BIG*20140203*2100442761*20140129*894054~N1*BT*xxxx~N3*yyyy~N4*SCOTTSDALE*AZ*85260*US~N1*ST*xyz*92*BC9420491~N3*25 BIRCH ST BLDG B - STE 100~N4*MILFORD*MA*01757~
    N1*IT*xyz123*21*RI0105595~N3*ONE ASTELLAS WAY~N4*Northbrook*IL*6
    00626111~REF*IT*RI0105595~ITD*01*3*0*20140315*45*20140315*45~IT1**3*BT*7889.55**
    VC*12599~PID*F****XTANDI 40MG CAPSULES 120/BOTTLE 1360832PC~TDS*2366865~CTT*1~SE
    *18*0001~GE*1*1~IEA*1*000000001~
    This is the 997 I m getting:
    997:
    ISA*00*          *00*          *ZZ*ADVPCS         *01*040986076      *140505*1611*U*00401*000000001*0*P*>~GS*FA*ADVPCS*040986076*20140505*1611*1*X*004010~ST*997*0001~AK1*IN*1~AK2*810*0001~AK5*R~AK9*R*1*1*0~SE*6*0001~GE*1*1~IEA*1*000000001~
    Thanks a lot in advance!!
    Regards,
    Anjana.

    Hi Anjana,
    I executed your input payload and it got successfully processed. I am attaching the 997 which I got in the below.
    ISA*00*          *00*          *ZZ*ADVPCS         *01*040986076      *140506*0311*U*00401*000000001*0*P*>~GS*FA*ADVPCS*040986076*20140506*0311*1*X*004010~ST*997*0001~AK1*IN*1~AK2*810*0001~AK5*A~AK9*A*1*1*1~SE*6*0001~GE*1*1~IEA*1*000000001~
    There are of points. First in the screenshot which you have shown says Negative Acknowledgment not required. So you should not get the rejected values in 997 segment.
    Secondly, could you check if the correct channels are picking up the file for processing.
    Could you also let me know the SP and patch level you are currently using.
    Best Regards,
    Ruchir

  • Where are wagetypes stored for each trip?

    Hi All,
    I've implemented the BADI to alter the wagetype assignment of expense reports (SET_DIFFERENT_WAGETYPE from the BADI TRIP_RECURRENT_DEST)
    Where can I find the stored data for individual trips to ensure that the BADI is working as expected?
    I've looked in transaction PRTE, but I haven't found the wagetype there.
    Thanks,
    Scott

    ROT is empty even though the BADI ran.  Maybe the wagetype is not stored, but instead used in calculating KONTI?
    Table               Name                                           Number
      PTRV_HEAD         General Trip Data (Not Period-Limited)          Trans.
      PTRV_PERIO        Gen.Trip Data(I) of Period                      Trans.
      FITV_HINZ_WERB_S  Add. Amounts / Income-Rel. Expenses: Trip       Trans.
      FITV_HINZ_WERB_B  Deduct Br. from A-Recpt, Add. Amnt/ IC Exp.     Trans.
      BELEG             Indiv.Recpts                                       2
      EXBEL             Additional Receipt Information                     2
      EDITOR            Editor                                             1
      ABZUG             Deductions                                         5
      ZIEL              Stopovers                                          1
      VSCH              Advances                                           0
      ZWECK             Additional Trip Information                        0
      KMVER             Miles/Km Distrib.                                  1
      AEND              Trip Changes                                       5
      STATU             Trip Status                                     Field
      KONTI             Acct Assignment                                    1
      KOSTR             Cost Assignment for Entire Trip                    1
      KOSTZ             Stopover Costs Assignment                          0
      KOSTB             Indiv.Receipt Costs Assignment                     0
      KOSTK             Miles/Kms Flat Rate Costs Assignment               0
      USER              User-Specific Data                                 0
      V0SPLIT           Structure of ITAB V0SPLIT                          0
      BELER             Individual Receipt Results                         0
      PAUFA             Travel Costs Results                               0
      VPFPS             PD Rates for Meals                                 0
      VPFPA             Meals Deductions                                   0
      UEBPA             Accommodations Per Diem                            0
      RUW               Travel Expense Transfer                            0
      ROT               Transfer to Payroll, Financial Accounting          0

  • Cost Assignment Values

    Hi All,
         I need to validate the Cost Assignment for Trip, Mileage and  Receipts in Travel Request, whether if the user has entered cumulative sum to 100% in Cost Assignment % or not. Currently if the user is entering 80%, it is considering this and allocating the rest(20%) to acc. to trip costs assignment guidelines. Hence to avoid this, we are validating so that the user enters complete 100% in the cost assignment.
    For the same, is there any way to fetch these values in the review screen, so that we can validate them here and thrown an error and restrict him submitting/saving the travel request/plan.
    Regards,
    Harsha

    Hi Micheal,
    Thanks for the reply.
    If we make the cost assign (%) as a read only field, then I guess it wont allow user to allocate the cost to two different orders. It would force the user to enter the entire cost to one order itself.
    The intention here is to make the total cost allocation percentage to 100%, allowing user to enter more than two line items, in the cost allocation table, so that the rest is not assigned to acc. to trip costs assignment guidelines.
    For the same I have used the FM 'PTRA_SCREEN_MEM_TRIP_GET' , to get all the cost assignments in an internal table., in the review screen and validating here making sure that all the costs are allocated to 100 %.
    All this validations, I have carried out in WebDynpro Application. Please let me know, if the same can be carried out through any BAdI's and where they have to be done, since I have the least knowledge about the BaDI's used here for FI-TV, implementations.
    Regards,
    Harsha

  • PR05 Cost Assignment cost center default

    Hello,
    I want to have the employee's cost center defaulted on the PR05 screen.
    I want to default it at the  Entire Trip's Cost Assignment.
    I am aware of the user exits available, however, i need to know if there is a way to default it without using the user exits.
    Thanks,
    Jerry

    Hi jerry,
    By default, all trip cost is charged to employee's cost centre ( even if you have not been mentioned any cost centre) otherwise as per calculation guidelines.
    http://help.sap.com/saphelp_46c/helpdata/en/e6/3152a396d811d194c100a0c92946ae/content.htm
    if you want to strict that trip shall be charged only employee cost center,  then you have to change following.
    Cost assignment specification: Complete Trip RP_TRAVEL_COBL_1700
    Following is the more help available for your information.
    I hope it would serve your purpose..
    Best Regards,
    Muhammad Umer
    Set Up Variable Layout for Account Assignment Objects
    The travel expenses accounting dialog contains the option to record cost assignment specifications for the complete trip, additional destinations (stopovers), receipts and the kilometer/miles distribution.
    The user is provided with two options for this purpose: The entry area Alternative Cost Assignment to Master Cost Center in the travel expenses dialog, or the Enhanced Cost Assignment function.
    Travel Management offers five different coding blocks that you can use to control the cost assignments within Travel Expenses accounting.
    In this IMG activity you define the screen layout for the account assignment objects - the selection and order of these objects. In addition you can specify the field characteristics for each of the account assignment objects.
    You can make these settings in relation to a specific user or the organizational assignment of the employee.
    To do this, copy the return value from the feature TRVCO as a variable key into the key of the fields with which you want to set up the coding block.
    Note
    The feature TRVCO is only evaluated during screen layout of a coding block if it is assigned to the corresponding function module in the view Screen modification for assignment data. This view can be accessed using the entry Check assignment of feature TRVCO to coding blocks in the selection screen for the IMG activity Set up variable layout for account assignment object
    In the standard version feature TRVCO is assigned to function modules. You should not change the following assignments:
    Coding Block for Function Module
    Cost assignment specification: Complete Trip RP_TRAVEL_COBL_1700
    Cost assignment specification: Receipts RP_TRAVEL_COBL_1701
    Cost assignment specification: Destinations RP_TRAVEL_COBL_1702
    Cost assignment specification: Miles/KMs Distrib. RP_TRAVEL_COBL_17
    Activities
    1. Check the assignment of feature TRVCO to the function modules for the coding blocks using the appropriate action in this activity.
    2. You can create new entries as follows:
    a) Choose the action Account assignment object: Cost assignment specification: <appropriate entry area> in this IMG activity.
    b) In the variable key field, enter the required return value from the feature TRVCO.
    c) Enter the name of the field needed in the Variable name field.
    d) Specify the field attributes for the field.

  • Cost Assignment

    Hi,
    I haveconfigured a cost assignment for "finance and funds" i.e. Cost Center (W/GR) in both ecc and srm..but when i try to create a shopping cart for this cost assignment i'm getting an error "enter material or account assignment category".
    please let me know what I'm missing...
    Thank you!

    Hi,
    Hi
    In ECC, When you procure services, system expects you to put a Account assignment category . So when you are creating a contract for a service(item category D), you either specify the account assignment details in the Contract. If you dont have one right now, configure Account Assignment Category U(Unknown) in SRM and map it to ECC Account Assignment Category U.
    On using U as account assignment category you will not be required to enter other account assignment details in the contract,
    Setting up Unknown account assignment can be done as follows:
    1. Create Account Assignment Configuration in ECC which you have already completed.
    2. On the IMG Path in SRM: Path:IMG --> SAP Supplier Relationship Management --> SRM Server --> Cross-Application Basic Settings --> Account Assignment --> Define Account Assignment Categories:
    a. Create SRM Account Assignment Category and map it to the respective Backend Category.
    3. Assign the new account assignment category in the Attribute KNT in SRM Org Structure
    After that user will be able to select that category in the SRM Application DOcuments
    Kuber

  • HR table for cost centers for positions

    Greetings to you all
    I need to get cost centers for positions, both vacant and occupied positions. I've tried PA0001 but this one only caters for positions which have already been occupied.
    thank you

    Try with RH_GET_COSTCENTER_OF_OBJECT
    Regards
    Marcin

  • Cost assignement using infotype 2003

    Hello,
    How can I change cost assignement using Infotype 2003.
    I have created the infotype 2003 with the ney cost center, and table  C1 is generated in the time evaluation, but in payroll the cost center is still the master cost center of IT0001.
    How can I change the cost center using infotype 2003 and transfered to the payroll?
    thx.
    Enrique

    Thanks Santhosh for the answer.
    So I can understand that the cost center will not be changed from IT2003 for the payroll, it only be changed if change in IT0001 or IT0027. true?
    Why IT2003 have the option to change cost assignment?
    I was doing some tests and could see that if a time wage type (for example an attendance) is generated in the same period of the IT2003 these wage type is transfered to the payroll with the new cost assignment . Is it the standard behavoir of the IT2003?
    The only way to change the cost assignment for all the payroll (instead of IT0001) for a period is using IT0001 or IT0027?
    thanks,
    Enrique

  • Cannot able to assign Operation number for Order for Change cost assignment in Travel

    All dear Gurus,
    During the creation of travel request in NWBC suppose if an employee opted to change cost assignment. And he selected order from Accounting Object and given an order. He is not able to select it because he is getting an error when he click on Accept.
    The error is " Order 1000000160 requires assignment to an operation number "
    In ECC we have an option called Enhance Cost assignment through which we can choose the operation number. But no such option is available in NWBC.
    Kindly help me to solve the issue.
    Regards,
    Namsheed.

    Hi,
    Business Area is a Required entry for G/L account 1180 300000.
    So
    Go to FS00, and check Filed Status Group,for G/L account 1180 300000
    Go to OBC4, check the Filed Status Group, what u have mentioned for the G/L account 1180 300000.
    Go To material management segment and put optional entry for the field of Business Area and save.
    Now try ur transaction.
    Regrads,
    Biju K

  • Error while adding landed cost G/L account 5207010003      needs DR assignment for dimension 1;  fill in DR-related fields

    Error while adding landed cost G/L account 5207010003      needs DR assignment for dimension 1;  fill in DR-related fields

    Hi Rajesh
    Go to System Initilization =>  General Settings => Cost Accounting => Check the Dimension1 has Block Posting.
    Relase the Block and add the Document it will add.
    With Regards
    Balaji

Maybe you are looking for

  • Set document to be seen one page at a time but print four to a page?

    I would like to create a pdf (from a PowerPoint presentation) so that when it is viewed on the web it is seen one page at a time but when it is printed it prints four to a page. It is possible to put that in pdf document settings or do I have to rely

  • Reg : The functionality of WMMBID02 Basic type in SAP.

    Hi All, Can anyone give me the functionality of WMMBID02 Basic type in SAP. Mean, not the structure of the Idocs i am talking about. But to which Module of SAP is it related to and what kind of inventory data it carries? what the significance of this

  • H515 Desktop Monitor Power cuts out

    Help Please. I have an H515 desktop. After a period of inactivity the power will go off to my monitor. The CPU is still on but I can't get the monitor on. All my power settings are set to never turn off the display. I am running Windows 8.1. I've tri

  • How to post to database as single user on multiple pages

    Hi, I am trying to develop a quiz where I use the ADDT insert record form wizard. Since the test will have over 50 questions, I would like to have two questions listed per page, and then have it all be submitted at one time. Anyone have any ideas of

  • How to refresh pictures in iWeb

    so I edited a picture in photoshop and instead of importing the new picture on each single page, deleting the old one and lining it all back up I just went to the published folder and replaced the image with the new one in each pages folder. now when