cancel
Showing results for 
Search instead for 
Did you mean: 

setting default value in S/4 Hana for Customer Management

sebastian_sap93
Explorer
0 Kudos

Dear all,

I am very new in working with the S/4 Hana for Customer Management (and in working with SAP as well) and I have this problem that I hope some of you can help me with.

I want the attribute STRUCT.SEPA_CREDITOR_ID preassigned with a certain value, in a specific client, which is already possible to choose from a dropdown menu:

Here you can see the UI:

And here you can see the technical data:

I already read that you have to change a Get-Method to do this.

When I'm in the transaction BSP_WD_CMPWB i can see several Get-Methods:

I already read in https://answers.sap.com/questions/4959302/setting-default-value-in-web-ui.html that I have to change the DO_INIT_CONTEXT Method. But I get some Syntax errors I dont know how to handle.

https://answers.sap.com/questions/4968564/badicrmbpuiudefaults-with-method-getdefaultvalues.html describes some changes in a BADI, but I cannot find a corresponding BADI to this View or Controller

My question now: how can I prefill this input field with a default value?

Thanks for your help and best regards!

Torbjörn

Accepted Solutions (0)

Answers (0)