cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Creating Customer fields in SRM 5.0

Former Member
0 Likes
229

Hey everyone,

i need to create 3 Customer Fields in SRM 5.0 in the Shopping Cart. The Fields are to be showen in Cost assigment.

I allready did the Append Structures from SAP NOTE 672960 and my Fields are showen in the SC, unfortinaly not where i want them to be the are displayed in the Shopping Cart Info.

In Badi BBP_CUF_BADI_2 i tried changing the et_fields-structure_type to ACC but that didnt help.

Does anyone have an Idea or an Answer on how to postion the Customer Fields correctly?

And how do i change the Fields Info Text so the Field and the Headline of the Field are close to each other?

Thanks for all answers.

Tobias

Edited by: Tobias on Aug 24, 2010 3:45 PM

Accepted Solutions (1)

Accepted Solutions (1)

laurent_burtaire
Active Contributor
0 Likes

Hello Tobias,

Just to be sure, did you use INCL_EEW_PD_ACC_CSF structure ?

Regards.

Laurent.

Former Member
0 Likes

Hey Laurent,

yes i used INCL_EEW_PD_ACC_CSF and also added the Customer fields via Tx SE16 to BBP_C_ACC_F and BBP_C_ACCFD.

Thanks

Tobias

Former Member
0 Likes

Hi

In SRM 5.0

You ve rightly created the fields in the SRM system by extending your fields to those two tables. Now in order for those fields to appear at a particular place in the screen, work on the ITS template of that particular screen part and position the fields there. Cuf badi will only let you control the behaviour of those fields and not the position of those fields.

Regards

Virender Singh

Former Member
0 Likes

Hi,

thanks for the Answer, i have everything working so far now. With the Position of the Customer Fields we are now going to stick with the Standard. We just have one more thing:

Is there a easy way to make the Custmer Fields Mandantory or do i have to adjust the ITS Screen? If so where can i get helpfull Excample.

Regarts

Tobias

Former Member
0 Likes

Hi

I would go for a small piece of Code in Check Badi to make the entries in this field mandatory

Regards

Virender Singh

Former Member
0 Likes

Hello Virender,

thanks for the answer, everything works so far.

I just have one more little problem. When ever the Requester selects a special Produktcategory in the SC the field Cost assigment has to be changed to ASSET. This i did in DOC_CHANGE_BADI , where i set the et_account value from CC to AS.

Then in the Shopping cart i see the cost assigment i wanted "ASSET" But now i get an Error Message that the Produktcategorie cant be booked to Cost Center ?!?! I tried debugging the Error and found the Message ID BBP_PD MESSAGE 047 and 822

Do you have any Idea why i get this Messages even though i have the right Values in ET_ACCOUNT.

Thanks Tobias

Former Member
0 Likes

Hi

When you change the account assignment category from CC to AS system requires additional details to be keyed in for AS account assignment category. Due to that reason, you are getting the message BBP_PD 822.

Your functionality for Custom field and change in account assignment category seems to be working fine.....Check the account assignment errors.

Regards

Virender Singh

Answers (0)