Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

using BAdi - TRIP_ACC_ASSIGN_LAYOUT

Former Member
0 Likes
936

hi,

does anybody using this BAdi?

i tried to make the wbs field to be display only but when i did it the description value changed to the tchnical name : PS_PSP_PNR.

when i tried to invisble all the field in IF_EX_TRIP_ACC_ASSIGN_LAYOUT~TRIP_ACC_ASSIGN_LAYOUT , pt_cobl_fields table, i get empty pop-up when i click om the button enhanced cost assignment.

can anybody help me? i need to make the WBS value on display mode on every mode of the PR05 screen

hi,

does anybody using this BAdi?

i tried to make the wbs field to be display only but when i did it the description value changed to the tchnical name : PS_PSP_PNR.

when i tried to invisble all the field in IF_EX_TRIP_ACC_ASSIGN_LAYOUT~TRIP_ACC_ASSIGN_LAYOUT , pt_cobl_fields table, i get empty pop-up when i click om the button enhanced cost assignment.

can anybody help me? i need to make the WBS value on display mode on every mode of the PR05 screen

3 REPLIES 3
Read only

Former Member
0 Likes
905

Hi Omer,

I am not sure why are you using the BAdi to make the field display only when I believe you can achieve this via configuration.

Go to Set up variable layout for account assignment objects, then select the "Account assignm. objects: Entire trip cost assignm. spec." For you variable key and variable name 'PS_PSP_PNR' double click and you should be able to change the data in the input field as ON or OFF.

Once this is maintained then you will have to also maintain feature TRVCO and the return value will be the variable key. 

Also look at the link below for more information on regarding this functionality

http://help.sap.com/saphelp_45b/helpdata/en/26/204b6e5733d1118b3f0060b03ca329/content.htm

Hope this helps

Ankur

Read only

0 Likes
905

hi,

thank you for your replay.

but i'm using that BAdi because i have condition if it will be displayed or not.

Read only

0 Likes
905

Moderator - can you please move this discussion to SAP Travel Management community?

Thanks

Ankur