cancel
Showing results for 
Search instead for 
Did you mean: 

Add multiple records to a MBO Structure using SUPObjectlist in native IOS app

fenil_doshi
Participant
0 Kudos

Hi All,

         I am developing IOS native app having SUP2.2SP04 and xcode 4.6.3 in my landscape.The issue is that I need to send multiple records to backend and I want to create table structure using SUPObjectlist where I tried with lots of methods like addObject but I wasn't able to create table like structure in that objectlist so I hope someone can help me out with that also when I call save method it hits in backend but the data is null in the operation call.

Regards,

Fenil Doshi.

Accepted Solutions (1)

Accepted Solutions (1)

fenil_doshi
Participant
0 Kudos

Hi All,

          Actually with some workaround I figured out how to add multiple records to objectlist so I guess let me close this thread.

Cheers,

Fenil Doshi.

midhun_vp
Active Contributor
0 Kudos

Can you please add the lines of code you used to solve the problem and mark it as correct.

fenil_doshi
Participant
0 Kudos

Hi Midhun,

               Sure.

               actually using loop and structure we can do that below is the example :

               for (int i=0; i < [list count]; i++) {

                Structure *ad_i=[Structure getInstance];

                [ad_i setMATNR:@"someValue"];

                [ad_i setERFMG:@"someValue"];

                [asd addObject:sad_i];

            }

             Where asd is an Objectlist.

Regards,

Fenil Doshi.

Answers (2)

Answers (2)

fenil_doshi
Participant
0 Kudos

Hi Jitendra Kumar Kansal

                                                  You as well can help me out with this as I have read lots of threads of yours.

Regards,

Fenil Doshi.

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Fenil,

I'm not much into ios development actually. i ll update you if I find something useful.

Rrgds,

Jitendra

fenil_doshi
Participant
0 Kudos

Hi Jitendra,

                Sure and thanks for your reply.

Regards,

Fenil Doshi.

fenil_doshi
Participant
0 Kudos

Hi Brenton O'Callagha ,

                                              if you can help me as I have read lots of thread where you were mentioned.

Regards,

Fenil Doshi.