cancel
Showing results for 
Search instead for 
Did you mean: 

MAU Backend Enhancement

Former Member
0 Kudos

Hi All,

I am trying to Enhance my MAU Application from the backend perpespective. I am following one Enhancement Guide.

It has a process, through a BADI, in which I can pass some extra fields to the MAU Application on my client.

We can set the Enhancement flag, on the Order details page.

And clicking this Enhancement link (in the client), I can find the Fields which I have defined in the BADI and their values which are decided by my coding in the BADI.

Now the problem is that these fields are display only, but I need one field as an editable one which can be edited on the Client and updated in the backend.

Can somebody tell me how to achieve this?

Do we have to meddle up with the SyncBO structures?

Ask any questions needed to clarify the issue.

Ankur

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

that should be straight forward....

You enhanced the BADI in the backend in transaction SE19...... Well, and I think you enhanced the GETDETAIL handler fpr the MAU001 BO. Just enhance the MODUFY hander as well, this will allow you to modify the data. End enhancing the CREATE allows create, DELETE allows delete on the client....

Hope that helps!

Regards,

Oliver

Former Member
0 Kudos

Hi Oliver,

I understand your point, but still I am not able to progress on this front.

Can I make any field editable on the client, even if is of Importing type.

And can you explain a lil bit in detail, how can I make a field editable on the client, It will be very helpful.

Thanks,

Ankur

former_member304703
Contributor
0 Kudos

Hi Ankur,

For what you want to do in MAM/MAU three-tiers archiecture (frontend, middleware, backend) you need followwing enhancements:

1. On a frontend - allow user to change fields from CE strcuture. Standard MAM/MAU only suports dispaly of those fields, hence you need to change it.

2. Middlware - no changes required, CE table is supported for order already in SyncBo

3. Backend, you need to impelement BADI for XXX_ 001_change BAPI. And/or XXX_001_create. First is calleld when you change global order, other one is callled when you create a new local order on the device. If you need CE table fileds in both situations you need to enhance both BAPI. Similarly to how you implemented BADI to pass extra fields to display on the device, change/create BAPI must ne enhanced to get changed CE fields and persist it in an appropriate palce in the backend (probably the same place where you took them for display).

Regards,

Larissa Limarova

Former Member
0 Kudos

Hi Larissa,

Thanks for the information. The steps which you suggested are very clear in their approach, the only thing is how we are going to achieve what needs to done.

About your First point, As you said - . Standard MAM/MAU only suports dispaly of those fields, and We should allow user to change fields from CE strcuture in the client.

How can we achieve in the client?

If we are able to achieve this first point successfully, we will be able to move to the next step.

Waiting for more help.

Ankur

Former Member
0 Kudos

Hi Ankur,

as you see in Larissas reply, MAM does not support this fieldto be changed on the client. This is due to the fact, that there is no CREATE/MODIFY handler fot that. Have you seen the enhancement guides for xMAM in service.sap.com/instguides? These should give you a better instruction on how to do that with a step by step scenario.

In short words: if you want to change an entry of the SyncBO on the client, you need a MODIFY handler in the backend. Standard MAM has no modify handler for that field/Bo - as Larissa mentioned. Luckily enough, xMAM has its enhancement concept. Go to SE19 in the backend and in there modify/create the MODIFY handler for your specific object. If you then switch on the enhancem,ent flag of the BO, you should be able to change this item on th client. Once this is done you can change the UI and then.... off we go

All these steps are mentioned in the Enhancement documents of xMAM. You find them under service.sap.com/instgudes -> xApps -> xApps mobile -> xMAMxx

Well, hope this helps to get you a few steps forward in the process!

Regards,

Oliver