Forum Replies Created

  • Klaus79
    Participant
    • Topics: 38
    • Replies: 46
    # 1 year ago
    Up
    0
    Down
    ::

    Hi Malfurion,

    I’m calling a BO-Method1 with input1 . As a result I get inserted ID. Afterwards I’ve to call BO-Method2 with the inserted ID resulted from method1 and  the dataset which was input1 for method1.

     

    Best regards

    Klaus

    Klaus79
    Participant
    • Topics: 38
    • Replies: 46
    # 2 years ago
    Up
    0
    Down
    ::

    nobody with an idea?

    Klaus79
    Participant
    • Topics: 38
    • Replies: 46
    # 2 years ago
    Up
    0
    Down
    ::

    Ok, thx for information.

    Scripting in ProcessDesigner uses also ES6 or higher?

    in reply to: ECMASCRIPT5
    Klaus79
    Participant
    • Topics: 38
    • Replies: 46
    # 2 years ago
    Up
    0
    Down
    ::

    it is working with the optional [], now.

    thx.

    Klaus79
    Participant
    • Topics: 38
    • Replies: 46
    # 2 years ago
    Up
    0
    Down
    ::

    I did it as it is described in documentation.

    Problem is that name of crested library (HERE_MAP) can’t be found so it can’t be the order of included libraries.

    Which order do you mean?

    I did not find any generated code where here_map is included/loaded in code view

    Klaus79
    Participant
    • Topics: 38
    • Replies: 46
    # 2 years ago
    Up
    0
    Down
    ::

    please see this topic, that should resolve your problem:

     

    https://community.simplifier.io/forum/topic/csv-file-upload-with-fileuploader/

    Klaus79
    Participant
    • Topics: 38
    • Replies: 46
    # 2 years ago
    Up
    0
    Down
    ::

    No, nothing changed.

    sap.ui.getCore().getEventBus().publish(this.getModuleName() + “ToApp”, “statusMessage”, adataForstatusMessage);

    the generated code “this.getModuleName() + “ToApp” creates in my oppinion the wrong channel name <modul_name>+”ToApp” (results in my example in:  “Password_ModulToApp”

     

    But if i change it to “Screen_StatusDialog” (channel will be found now) I get another error  “no event is registered” (see Simplifier code below).

    var aEventListeners  will be ‘undefined’.

     

    var aEventListeners = EventProvider.getEventList(oChannel)[sEventId];
    if (Array.isArray(aEventListeners)) {
    // this ensures no ‘concurrent modification exception’ occurs (e.g. an event listener deregisters itself).
    aEventListeners = aEventListeners.slice();
    var oInfo;
    for (var i = 0, iL = aEventListeners.length; i < iL; i++) {
    oInfo = aEventListeners[i];
    this._callListener(oInfo.fFunction, oInfo.oListener || this, sChannelId, sEventId, oData);
    }
    } else if (Log.isLoggable(Log.Level.DEBUG, “sap.ui.core.EventBus”)) {
    // no listeners
    Log.debug(“Failed to publish Event ‘” + sEventId + “‘ in ‘” + sChannelId + “‘.” + ” No listeners found.”, sChannelId + “#” + sEventId, “sap.ui.core.EventBus”);
    }

     

    Klaus79
    Participant
    • Topics: 38
    • Replies: 46
    # 2 years ago
    Up
    0
    Down
    ::

    there is no ‘Password_ModulToApp’ in oEventBus (see below).

    Name of ‘sChannelId’ is generated by Simplifier.

     

    oEventBus._mChannels

    [object]
    __proto__

    [object]
    ApplicationChannel

    [object (constructor)]
    Home

    [object (constructor)]
    Login

    [object (constructor)]
    Main

    [object (constructor)]
    sap.ui

    [object (constructor)]
    Screen_Approval

    [object (constructor)]
    Screen_Infosystem

    [object (constructor)]
    Screen_Main

    [object (constructor)]
    Screen_Password

    [object (constructor)]
    Screen_Roles

    [object (constructor)]
    Screen_StatusDialog

    [object (constructor)]
    Screen_User_Maintain

    [object (constructor)]
    Screen_valueHelp_Customer

    [object (constructor)]
    SuperAdministration

    [object (constructor)]

    Klaus79
    Participant
    • Topics: 38
    • Replies: 46
    # 2 years ago
    Up
    0
    Down
    ::

    solved myself: you’ve to set property ‘uploadOnChange’ in UI-Designer for immediately start of file upload or trigger upload event by calling method upload().

    Klaus79
    Participant
    • Topics: 38
    • Replies: 46
    # 2 years ago
    Up
    0
    Down
    ::

    unfortunatelly only download is working.

    FileUploader does not trigger any event.

    Any Information on that? I can’t see any errors in MS Edge debug mode

    Klaus79
    Participant
    • Topics: 38
    • Replies: 46
    # 2 years ago
    Up
    1
    Down
    ::

    found it: it’s under openUI5 – template – type of widget

    Klaus79
    Participant
    • Topics: 38
    • Replies: 46
    # 2 years ago
    Up
    0
    Down
    ::

    ok. Solved on my own.

    In Process Designer mapping of items property of table is necessary (therefore you can do it without global variable)

    and at least system library ‘FileSaver’ has to be included in app/module (otherwise function saveAs is not known).

    Klaus79
    Participant
    • Topics: 38
    • Replies: 46
    # 2 years ago
    Up
    0
    Down
    ::

    Thank you but example is not working because of missing mapping for export to csv in process designer.

    Also in table I can’t edit data (because input field looses data when focus changes).

    How do I get table data into global variable? There is no script step before calling client Business object  (in your example it exports an empty global variable).

    Could you please update these information?

    Klaus79
    Participant
    • Topics: 38
    • Replies: 46
    # 2 years ago
    Up
    0
    Down
    ::

    yes correct.

    I link a business object method to the FileUploader-Event “uploadComplete” (in ProcessDesginer). In that Business object I call the csv connector which writes data to db table.

     

    Klaus79
    Participant
    • Topics: 38
    • Replies: 46
    # 2 years ago
    Up
    0
    Down
    ::

    it includes customizing data which will be saved in mysql tables.

Viewing 15 posts - 16 through 30 (of 46 total)