PR05 trip creation
Hi All,
Searched same type of problem i am facing, but got no solution.
Plesae reply.
In our SAP scinario we are moving employees from one company code say 1000 to 2000.
Now when in transaction PR05(Travel expense manger) we try to create claims for back date (when comp code 1000 was active) then the transaction gives a error saying:
The CO account assignment object belongs to 1000 not to 2000.
where as it should fetch the current company code and and do the posting.
Can any one tell me what can be the reason for this error,
I'm sorry to be so needy!
<<<Umesh>>>>
Hi Umesh,
You want to make a posting in company code 2000.
At the same time, a CO account assignment object is probaly specified that is
assigned to company code 1000.
Company code validation is active for company code 2000:
All account assignment objects in one posting row must be assigned to the same company code.
You can:
- Make an assignment to company code 1000.
- Enter an account assignment object assigned to company code 2000.
- Change the assignment object to company code 1000.
In this case, you should note the document and edit it further after changing the assignment.
If the posting is to a balance sheet account (category 90), you may also decide whether to allow CO account assignment objects from other company codes. If this is the case, deactivate the error message with the IMG step Change message control (message ID "KI", message number 100).
I hope this helps!
best regards,
Zsolt
Similar Messages
-
Travel expense manager PR05 - trip default status when saving
Hi travel experts,
every time I review, change and save or save a new trip in PR05 the status of the trip ist set to "released for approval".
This is especially nasty as we are sending out emails to teamleads if a trip needs to be approved.
I would like to change the status of a trip after hitting the save button to "in progress" instead of immediately go to "released for approval"
I tested different combinations of trip status customization "Trip approved - PTKXX-WA4XX, Open - PTKXX-WAX0X, To be settled - PTKXX-WAX1X but could never achive the desired result.
Any hint which would help to solve my problem is highly appreciated.
Many Thanks,
WolfgangWolfgang Speckle wrote:
Hi Lukas,
your are right. In the trip schema the default values for a trip can be defined.
All this customizing is under the node "Trip Status" which actually means that these default values only apply if the user calls the subdialog "Trip Status" in PR05.
If the user saves a trip after changing it, then a different status is applied.
Actually this is the result of my testing and not documented as such.
I would like to know if the trip status for the "save" can be customized or if it is hardcoded.
Best Regards and a nice weekend ...
Wolfgang
Indeed. Then you'll have to overwrite it programatically in SAPMP56T / MP56TF00 FORM SET_STATUS_TRVPA. You'll see at the end of the Form Routine ABREC is always set to '1', i.e. ptkxx-wax1x = 'X'. If I was in your shoes, I'd make an implicit enhancement at the of the form routine, clear ptkxx-wax1x and set ptkxx-wax0x = 'X'. That should do the trick.
Cheers, Lukas -
PR05 Trip data displayed in German
Hi Experts
When I try to create the the travel request through PR05, few fields are displayed in English and few in German Language.
logon language is English.
Please advice if there is any setting to be changed.
regards,
SandhyaThis looks like a customizing or development problem to me, and not a security problem (though you might want to trace for S_TRANSLAT in ST01).
Moved to ERP TM forum...
Cheers,
Julius -
Approch while creating a custom field in PR05 transaction
Hi All,
I need to add a new custom field in the trip creation screen PR05.
Are there any screen exits available for the same.
If not, how can I maintain the value in the comments text editor dynamically.
Please suggest,
Any replies will be highly appreciated.
Regards,
Sreekanthnot answered
-
Number of employees field not avaliable for input in TRIP
Hi All,
when we try to create a new trip from PR05 , the field number of employees is always grad out and its not allowing to input any values during the new trip creation.
we also tried to check the field status for this field in Table V_T706B1_B (field control for addtional receipt information ) and this field is set as optional but its not avaliable for input during trip creation.
and also we tried to make this field as required field in Table V_T706B1_B but still the field is grad out on the screen and not avaliable for input the value.
however, after made the field as required ; when try to create & save the trip its not allowing to save since this field is required entry now but its not a input filed.
this case is very strange for us ; how can we maintain the values in Number of employees under addtional info tab for TRIPs ?
for your reference ; i have pasted the screenshot to understanding my issue.
thanks for quicker inputs/help
Regards
RamuHi Sally,
thanks for your feedback.
In fact we have few cases in our system where the number of employees updated in TRIP , attached the screenshot for your reference.
but now we are not able find how the field is updated some times and not always.
now my client is asking us the reason for this field update in TRIP -
Trip numbers are missing from Ranges
Hi,
We have define trip number ranges Personnel Area wise starting form 000000 to 999999, During trip creation, some trip numbers are missing in production system..
for example : trip number 25 to 30 is not available , 21,22,23 24 and then 31,32,33...
Any idea?
Regards,
Muhammad UmerHi,
Please note that this is on account of Number Range Buffering in SAP. You can check for itsu2019 settings in T.Code: SNRO for Object: RP_REINR.
This is an SAP standard functionality and, there is no need to touch these settings. You can refer the below link:
http://help.sap.com/saphelp_nw04/helpdata/en/95/3d5540b8cdcd01e10000000a155106/content.htm
Regards,
Kiron Kumar T. -
Hello guys
We are currently implementing travel management and one of our requirementes is that when creating the travel request, the system should automatically calculate a minimum advance amount that the employee is entitled to. This amount will depend on the travel destination and the employees position.
¿Is it possible to configure this? ¿Could it be possible through a user exit or BADI?
Thanks in advance
Juan RamonHi Juan,
You can create checks and validation on BADI - TRIP_WEB_CHECK (BAdI: Define Additional Checks for Web Dynpro).
or
You can add the auto calculation program in User-Exit: Save Trips (PR01, PR04, PR05, TRIP) Bef. Assigning Trip Number
Regards,
Kamal -
Invalid recipient address - while sending mails
Hi Experts,
I am trying to send a PDF form as a mail attachment from my SAP R/3 server (version ECC 6.0)
Using the following code:
PARAMETER : p_addr TYPE adr6-smtp_addr DEFAULT 'ashish.shah xyz.com'.
*"Look up the generated function for the Book Flight Form
DATA : l_name TYPE funcname.
TRY.
CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
EXPORTING
i_name = 'Z_CUST_BOOK_FLIGHT_FORM'
IMPORTING
e_funcname = l_name
EXCEPTIONS
OTHERS = 0.
CATCH cx_fp_api_repository. "#EC NO_HANDLER
CATCH cx_fp_api_usage. "#EC NO_HANDLER
CATCH cx_fp_api_internal. "#EC NO_HANDLER
ENDTRY.
DATA : l_outputparams TYPE sfpoutputparams.
*"Start form processing
l_outputparams-getpdf = 'X'.
CALL FUNCTION 'FP_JOB_OPEN'
CHANGING
ie_outputparams = l_outputparams
EXCEPTIONS
cancel = 1
usage_error = 2
system_error = 3
internal_error = 4
OTHERS = 5.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
*" Call the generated function for the Book Flight Form
DATA : fp_docparams TYPE sfpdocparams,
reservedonly TYPE bapisbodat-reserved,
booking_data TYPE bapisbonew,
fp_result TYPE fpformoutput.
fp_docparams-fillable = 'X'.
fp_docparams-langu = sy-langu.
CALL FUNCTION l_name
EXPORTING
/1bcdwb/docparams = fp_docparams
reserved = reservedonly
booking_data = booking_data
IMPORTING
/1bcdwb/formoutput = fp_result
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
DATA : pdf TYPE fpformoutput-pdf.
pdf = fp_result-pdf.
*"End the form Processing session
CALL FUNCTION 'FP_JOB_CLOSE'
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
*"Create and send the email
DATA : bcs_exception TYPE REF TO cx_bcs.
TRY.
*"Add text to the email body
DATA : l_subject TYPE so_obj_des,
l_mailtext TYPE bcsy_text,
l_mailtext_row TYPE soli.
l_subject = 'Trip Creation Form'.
CONCATENATE 'Please fill out the form and return it to:'
'ashish.shah xyz.com'
INTO l_mailtext_row.
APPEND l_mailtext_row TO l_mailtext.
*"Create the email document
DATA : document TYPE REF TO cl_document_bcs,
num_rows TYPE i,
textlength TYPE so_obj_len.
DESCRIBE TABLE l_mailtext LINES num_rows.
num_rows = num_rows * 255.
MOVE num_rows TO textlength.
document = cl_document_bcs=>create_document(
i_type = 'RAW'
i_text = l_mailtext
i_length = textlength
i_subject = l_subject ).
*"Add ataachment
DATA : attdoctype TYPE soodk-objtp,
atttitle TYPE sood-objdes,
attsize TYPE sood-objlen,
pdftab TYPE solix_tab.
attdoctype = 'pdf'.
atttitle = 'CreateFlight'.
attsize = XSTRLEN( pdf ).
pdftab = cl_document_bcs=>xstring_to_solix(
ip_xstring = pdf ).
document->add_attachment( EXPORTING i_attachment_type = attdoctype
i_attachment_subject = atttitle
i_attachment_size = attsize
i_attachment_language = sy-langu
i_att_content_hex = pdftab ).
*"Create persistent send request
DATA : send_request TYPE REF TO cl_bcs.
send_request = cl_bcs=>create_persistent( ).
*"Add document to send request
send_request->set_document( document ).
*"Get sender object
DATA : sender TYPE REF TO cl_sapuser_bcs.
sender = cl_sapuser_bcs=>create( 'A146861' ) .
*"Add sender
CALL METHOD send_request->set_sender
EXPORTING
i_sender = sender.
*"Create recipient
DATA : recipient TYPE REF TO if_recipient_bcs.
recipient = cl_cam_address_bcs=>create_internet_address(
p_addr ).
*"Add recipient with its respective attributes to send request
send_request->add_recipient( EXPORTING i_recipient = recipient ).
*"Set send immediately
send_request->set_send_immediately( 'X' ).
*"Send document
send_request->send( ).
COMMIT WORK.
WRITE: 'Email coantaining the Interactive form was sent'.
CATCH cx_bcs INTO bcs_exception.
DATA : ex_msg TYPE string.
ex_msg = bcs_exception->get_text( ).
WRITE: 'Caught exception.', ex_msg.
ENDTRY.
I get a Mail sending failure notification in my SAP Businesss work place, with the title "Cannot be sent: Trip Creation Form " With status as :
Status for Recipient ashish.shah xyz.com:
No delivery to ashish.shah xyz.com, invalid recipient address
I have entered the correct Email IDs, but still getting this error.
Can you guys help?
Regards,
Ashish ShahHi Ravi,
I have @ in all the email IDs in my code , but i have removed it from this post.
It seems SDN has implemented some new check - where in it checks for Email IDs in the post and gives error when any email ID is encountered.
Can you now spot anything else , which could be the cause for the status as Invalid receipient?
Regards,
Ashish Shah -
Restrict expense type in Expense report
Hi Experts,
We have some expense type which are paid by company for corperate credit card given to employee and rest expense type are cash for which employee need to be reimbursed.
So, we want that in Create Expense Report in ESS only cash expense type should be displayed instead of the whole list of expense type.
Please suggest how this can be done
Thanks
AshHello Ash,
Restricting an Expense Type is already available in the
Enhancement Package 2 for ERP2005 which I think would be a better
solution for your released. Please see note 1045303.
Furthermore, please kindly see the documentation available in
service.sap.com/tm.
If you like you have the alternative to create an User Exit on which
will check the Expense Type if it is valid for this User or not before
saving the trip data.
Enhancement name: FITR0003: User Exit: Save Trip (PR01, PR04, Pr05,
TRIP) - before assigning trip number.
Enhancement Name: FITR0005: User Exit: Save Trip (PR01, PR04, PR05,
TRIP) - after assigning trip number.
Regards,
Raynard -
Changing Expense types in the SAP Portal for Credit Card Receipts
Hi Experts,
We have a situation where we load a credit card file to SAP. The employee will then go review and subsequently send the expense claim to accounting. This is done via the SAP NetWeaver Portal. Quite often the credit card company will send over details to an expense type called 'other' this was created to ensure that the credit card file loads. It is the employee's responsibility to change the expense type from 'other' to the appropriate expense type.
what is desired is to provide the user with an error message in the portal and PR05 that will enforce the user to change the expense type from 'other' to a more appropriate expense type.
How can this be accomplished?Hello Martin,
You can use a User Exit for this.
In Web Portal, you can use the BADI TRIP_WEB_CHECK on which you can use the method USER_CHECK_LINE_OF_RECEIPTS.
In PR05, you can use the Enhancement name: FITR0003: User Exit: Save Trip (PR01, PR04, PR05, TRIP) - before assigning trip number. It is the User Exit EXIT_SAPMP56T_002.
This will check your receipt before saving.
Regards,
Raynard -
Travel Management Employee Grouping for Domestic Travel per diems
Dear All,
I have a scenario in Travel management
Scenario
Client has Domestic Travel, only in India under India they have Class A cities, Class B Cities and Class C, For Class A different Per diems rate with respect to the Employees Grade Eg i have created the EG for Travel Expense type like 1 Manager 2 for Senior MGR and so on For Manager for Class A cities will have different Per diems Class B Cities will have Diff Per diems and so on
I have Created Z1 as the Trip Country
under Z1 ClassA
Z1 Class B
Z1 Class C like this and under Define Accomodation per diems for my trip provison variant under that for my trip country z1 and trip region Class A for employee grade wise i have given the Max amount and finally this trip country Z1 i have assigned it to the Domestic Schema but i cannot assign the Trip region there since i have Class Aand B and C My question is will it work for all my Class A and B and C cites too when i am doing PR05 system shlould restrict if any employee is claiming more than his eligliblity Please let me Know wheather my setting is enough for this or not if not let me know the best solution
Regards,
Raghu Kumar RHi Raghu Kumar,
First of all, if you have set warning message then system will not stop you and will give only warning message...
if you want to stop up to the max limit then you have to set the option Error message for exceeding maximum rate instead of warning message.
Secondly if even system is not giving you any warning message then check you influence control parameters (V_T702N_I)... (check it in detail)
Then again check your V_T706B2...
Also check the entries in travel expense sheet pr05, trip country and region shall also be entered in travel expense sheet...
Please let me if you still have problem...
Regards,
Muhammad Umer -
Expense types problem in portal
HI All,
We have different trip schema like Domestic Trip, International trip, Business trip>90days, Non-Travel related expense ect.
I have created one new expense types and delimited 3 expense type. It is working fine for SAP t-code PR05 & Trip. In portal there is two trip schema "International Trip" & "Non-travel Expense" where i am not getting New expense type which i have created and expense types which i have delimited is still showing as a option to select. However when you select expense types which have been delinted and trying to save it gives you error that it is not valid expense type.For all other schema in portal it is working fine.
Can you guide me how to resolve this issue.
Thanks
Bipin TiwariDear Bipin,
Please check whether you have maintained the below config:
SAP Customizing Implementation Guide > Financial Accounting (New) > Travel Management > Travel Expenses > Dialog and Travel Expenses Control > Dialog Control > Restrict Travel Expense Types for Trip Schemas.
Check whether you have restricted your new expense type according to the schema.
Best Regards,
Raj -
Hello,
We are having some difficulties configuring a per diem rate for a one day trip.
The scenario is as follows:
Travel begins at or before 6am and ends at or after 9am - Breakfast can be claimed.
Travel begins at or after 4pm and ends at or after 7pm - Dinner can be claimed.
No lunch can be claimed on a trip of less than 24 hours.
We have set up the following for the one day trip in table V_T706H (Trip Provision: Per Diem for Meals Scaled by Time)
*Entry one:
Number of days = 1
Start time = 06:00
End time = 06:01
Tax Free Amount = $6.00
Reimbursement Amount = $6.00
*Entry two:
Number of days = 1
Start time = 17:00
End time = 17:01
Tax Free Amount = $18.00
Reimbursement Amount = $18.00
Our issue is, if the traveler inputs a start time of 6am and an end time of 8am, they are getting the per diem of $6.00, and they should not. The same goes for dinner, if we enter a start time of 16:01 (after 4:00) and a end time of 18:00 (6:00 pm) the traveler is getting the dinner per diem and should not. We have tried multiple other entries in table V_T706H, but have not found a combination that will work. How do we enter the trip end time in table V_T706H?
Regards,
ElaineHi Raghu Kumar,
First of all, if you have set warning message then system will not stop you and will give only warning message...
if you want to stop up to the max limit then you have to set the option Error message for exceeding maximum rate instead of warning message.
Secondly if even system is not giving you any warning message then check you influence control parameters (V_T702N_I)... (check it in detail)
Then again check your V_T706B2...
Also check the entries in travel expense sheet pr05, trip country and region shall also be entered in travel expense sheet...
Please let me if you still have problem...
Regards,
Muhammad Umer -
hi all,
needed suggestions and solutions urgently.
my user is getting an error in travel management.postings.while running PRFI & PRRW.
when the user is running the PRFI Transaction code he is not getting the details of PRFI not showing anything except zero's.
even in PRRW it is not showing any trip document to be posted.
when i check the pr05 trip status is showing Transfered to FI.
needed solution on priority basis.Hi,
please check the table PTRV_ROT_AWKEY. Input the trip number and note down the posting run number.
go to PRRW and input the same posting run number to view the document.
or
please check the PRTE t.code for status update.
Regards,
Raziq -
Defaulting the Service Provider for the receipts pulled from credit card
Hi,
When the Associate goes on a business trip , some of the expenses are processed through the AMEX corporate credit card. Using a custom PRCC , these credit card transactions are uploaded into the system and are available as buffer during the trip creation. Associates creates the trip using ESS Portal. When the Associate selects the expense from the credit card buffer , we want the Service Provider to be defaulted to AX (AMEX). The service provider code for AMEX is configured as AX.
In the following configuration (Travel Expenses->Master Data->Credit Card Clearing->Define Assignment Table for Credit Card Clearing , we updated the Service Provider as AX for all the expense types related to AMEX.
Now we notice that AX is not defaulted in the Service Provider when the Associates pulls the expense from the AMEX credit card buffer.
Is there a way to default the service provider for all the expenses pulled from the credit card buffer?
Thanks
SukumarHi Nandagopal,
You are right that the origin column has Amex logo when selected from the Buffer. We are using Service provider in determining who the payment should go to. If the expense is from the credit card buffer , the payment should go to AMEX directly. If the expense is non-AMEX (i.e manual entry and not from buffer) , then the payment will go to the employee themselves. Different wage types are determined based on the Service Provider for the same expense type. For example for expense type ACAR (Rental) , if the Service Provider is AX , then wage type say WJ67 is selected by the system . For expense type ACAR and no Service provider , then wage type WJ17 is derived. The accounting is determined based on the wage type.
So Service Provider is one of the key field that determines the accounting. When the associate selects from credit card buffer , the associate should also select the service provider as AX so that payment goes to AMEX. If the Associate forgets to select the service provider , then the payment goes to the Employee. Then the employee has to pay AMEX separately. In order to avoid this, we want to default the service provider as AX when the associate pulls from the credit card buffer.
We maintained the default service provider as AX for AMEX credit card clearing in img node Travel Expenses->Master Data->Credit Card Clearing->Define Assignment Table for Credit Card clearing. In this node we link the credit card company transaction keys to SAP expense type and you have the option to select the Service Provider. But his default is not working in Portal.
Please let me know if this default setting should work.
Thanks
Sukumar
Maybe you are looking for
-
Application Importing Problem??
Hello ALL, I have created one of the application yesterday on apex.oracle.com, and from yesterday apex workspace upgraded from 3.1.2 to 3.2.0 Now when I am importing the application into the my PC(which is having 3.1.2) I am getting error as:- "1 err
-
From Adobe home page -> Support -> Document -> Flash I found a "Flash Video Encoder User Guide" talk about this Flash Video Encoder. But throughout the Adobe web site, I can not find this product. Is it part of other product or it has another name? A
-
Hello, Is it possible to have a tabstrip control like the one which we have in module pool where we group set of fields under one tab in case of adobe form ? thanks
-
Hi, Any one plz tell me what is the exact use of table maintenance, wht is the functionality. I am new for data dictionary
-
Trying to copy an iDVD project but get error message
I work with FCP and iDVD 08 with no problems but my niece asked me to copy an iDVD short wedding project she did from imovie. It plays okay on my computer but when trying to make a couple of copies using Toast 8, I get the following error message: co