on 09-19-2016 12:22 PM
Hi All
I create new type of Agentry object - MeanObj and Adjusted settings to download a collection of objects.
- Created MeanObj object in the Agentry project.
- Created Java classes
public class MeanObj extends SAPObject
public class MeanSteplet extends Steplet
public class MeanStephandler extends StepHandler
public class MeanBapi extends AbstractFetchBAPI
- Created SAP Object - Z00_GET_MEAN_COMPLEX_TAB (I want to use the same class to load Complex Table and Agentry Objects)
- Created SAP BAPI Wrapper FM Z00_BAPI_GET_MEAN_CT (I want to use the same BAPI Wrapper to load Complex Table and Agentry Objects)
- Created Agenry Step AgentryMeanSteplet and bind it to com.syclo.sap.sflight.customer.steplet.MeanSteplet
- Created Agenry Fetch - MeanObjFetch
and bind it to :>Main Object>"MeanObjCollection" Property
and to AgentryMeanSteplet
- Published Application and Java project to the Server
- Created Parameter in Mobile Application Configuration
--
Parameter Group: SAPOBJECT
Param. Name: MeanObj
Param. Value: com.syclo.sap.sflight.customer.object.MeanObj
Active Flag: Checked
--
Parameter Group: BAPI_WRAPPER
Param. Name: com.syclo.sap.sflight.customer.bapi.MeanBapi
Param. Value: Z00_BAPI_GET_MEAN_CT
Active Flag: Checked
When I perform Transfer operation in Agentry Client Tt doesn't try to load my new MeanObj object
Logging user into server
Logged in
Sending client info
Sending time info...
Receiving time info...
Checking Data Tables
Received new table Airport Data Table
Checking Complex Tables
Updating complex table 'Plant Complex Table'...
Received 12 records. 0 remaining...
Updating complex table 'Mean Complex Table'...
Received 5 records. 0 remaining...
Updating complex table 'MatPlant Complex Table'...
Received 3 records. 0 remaining...
Updating complex table 'Makt Complex Table'...
Received 480 records. 0 remaining...
Application Updated to Dev
Main Fetch...
Flight Schedule '62' has been replaced
Flight Schedule '61' has been replaced
Flight Schedule '60' has been replaced
Flight Schedule '59' has been replaced
Flight Schedule '58' has been replaced
....
Flight Schedule '8' has been replaced
Flight Schedule '7' has been replaced
Flight Schedule '6' has been replaced
Flight Schedule '5' has been replaced
Flight Schedule '4' has been replaced
Flight Schedule '3' has been replaced
Flight Schedule '2' has been replaced
Flight Schedule '1' has been replaced
GetBooking...
Flight Booking '02000001' has been replaced
Flight Booking '02000002' has been replaced
Logging user out
Breakpoints in SAP Z00_GET_MEAN_COMPLEX_TAB and Z00_BAPI_GET_MEAN_CT doesn't stop.
Breakpoints in Java classes MeanObj, MeanSteplet, MeanStephandler, MeanBapi doesn't stop.
How can I understand the reason why it doesn't load my new MeanObj object?
The Fetch needs to be added to the Transmit action step for it to be ran, else it needs to be tagged as a Main Fetch (then it will always be ran)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If they are not listed, then the fetch was set as a "Main Fetch" on the fetch. This means it will be ran every transmit.
You can tag your new fetch as a Main Fetch, or you can add it to the transmit step. When you add it to the transmit step it will only be ran when that transmit is ran ( There are cases where you can have different transmits where you want some fetchs to be ran only for come cases)
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.