cancel
Showing results for 
Search instead for 
Did you mean: 

How should be the parameters in bapis for MBO??

Former Member
0 Kudos

Hi to all.

I'm have a MBO Comentarios created by a zfuncion_getlist which returns a table.

My problem is with functions create and modify,

My funcion create has a import estructure ( id_home, city, number ) and in the export, I has only the "id_home" but always, the MBO shows to me the below warning message:

"'CREATE' operation 'Comentarios->crear()' has 'Apply results to the cache' option set without returning primary key fields."

I have checked to try to return the same estructure like the import estructure but it shows me the same.

How must be defined my function create? What I have to define like export to avoid this warnign message?

Thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi vclement.

Could you please tell me the version of SUP you are using ?

Thanks & Regards

Naveen Subramani.

Former Member
0 Kudos

HI NaveenSubramani .

I'm using SUP 2.0.

Thanks.

former_member745479
Participant
0 Kudos

Hi Vclement,

Can you uncheck "Apply results to Cache" from the operation.

What it might be trying is to update the cache first and then perform the operation in the Backend.

Or else, you can try "Other" Operation in MBO and associate the BAPI. This has worked for me many times.

Regards,

Viju