cancel
Showing results for 
Search instead for 
Did you mean: 

SAP MDG : Customer Number Pre Population in customer details UI while New Customer Creation

Former Member
0 Kudos

Hi Experts,

I want to Pre Fetch Customer number while Creating new ERP Customer, based on available CR Types/Account group and show in User Screen for create customer in 'Customer details' in SAP MDG.

After activation of CR Customer Number gets generated and populated, but,for my requirement I want to populate number, while creation only.

How can I achieve that.

Please help on this.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member484630
Discoverer
0 Kudos

Implement an enhancement of type Post Exit for method BEFORE_FLUSH of the feeder class. Read the customer number from external number range of your choice or concatenate to fit your requirement and assign to the customer number.

loga201
Contributor
0 Kudos

Hi Srivastav,

You need to assign external number assignment for customer account group.It will allow you to pre-populate vendor number from feeder class or allow users to enter the number.

Thanks and Regards,

Logan.D

Former Member
0 Kudos

Hi Logan,

Appreciate your help.

Actually, I am new to MDG.

At start,I have proceeded as follows.

Pre Fetched Next Customer based on Number range using one FM, in "Validation/Derivation" BADI implementation adding ZZCustomer attribute to hold Customer number in Data Model BP_header.(Not Sure if need to add in BP_CUGSEN)

After fetching, I need to Map it to Customer details UI, shown while creating customer data.

Could you please help, like what steps to follow, where to map it (table or Structure), so that it shows up in MDG Customer details.


Thanks,

Abhinav