Quantcast
Channel: SCN : Discussion List - SAP for Mobile
Viewing all articles
Browse latest Browse all 5806

How to send multiple lines to a RFC MBO

$
0
0

Hi guys,

 

I'm working on an old version of SUP: 2.1.0 developing for iOS.

And I just can't send more then on line of data to a RFC.

 

For just one line I'm doing the following:

 

    SUPMon_Z_RFC_MONITOR_LIMPAR_IT_LINES *complete = [[SUPMon_Z_RFC_MONITOR_LIMPAR_IT_LINESalloc] init];

 

    complete.ALSYSID = obj.ALSYSID;

    complete.MSEGNAME = obj.MSEGNAME;

    complete.ALUNIQNUM = obj.ALUNIQNUM;

    complete.ALINDEX = obj.ALINDEX;

    complete.ALERTDATE = obj.ALERTDATE;

    complete.ALERTTIME = obj.ALERTTIME;

    complete.DUMMYALIGN = obj.DUMMYALIGN;

   

    [complete save];

    [complete submitPending];

    [complete refresh];

   

    return complete;

- - - - call beginsynchronize

 

For multiple lines I made a few tries:

1 - Instantiate a new SUPMon_Z_RFC_MONITOR_LIMPAR_IT_LINESList and add it the objects generated just the same way shown above.

1.1 - Call beginSyncronize

 

2 - Used getInstance of SUPMon_Z_RFC_MONITOR_LIMPAR_IT_LINESList and do the same did in item 1.

 

3 - The two tries above commenting/uncommenting the submitPending and refresh methods when creating the single MBO

 

But none of them worked.

Am I doing something wrong?

 

Thanks in advance


Viewing all articles
Browse latest Browse all 5806

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>