Skip to Content

Schedule active run for mass data upload via SDK

Hello Experts,

im searching for a solution to be able to easily take a xml and create instances for my custom BO.

One thing i thought of was to map the file upload location locally via WebDAV, where the XML has to be entered and then just press a button on my custom BO to trigger the run. The run then will take the XML and create/update instances in my custom BO. Is there any way to call or schedule the run via SDK(SAP Cloud Application Studio)? I didn't found any hints or possibilities to do so after around 2 hours of search.

If not, is there a way to create a XML upload for a Runtime? Because an other idea was to press a button in the OWL which then needs a external XML and after that my script will read the fields of the entered xml and provides them to a webservice to create/update the instances of my custom BO.

Thanks for your Help,

Johannes

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jun 27, 2016 at 10:11 AM

    Hi Johannes,

    You'll need to use a Platinum Engineering function to do this, so import the namespace

    import AP.PlatinumEngineering;
    

    Then use either ExecuteNow or ExecuteDateTime.

    Just a word of warning that SAP don't really support this, and I've never done this myself either.

    Thanks,

    Will


    Capture.png (11.7 kB)
    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 27, 2016 at 10:10 AM

    Hi,

    File input is based on standard MDRO, hence you cannot schedule it in SDK.

    Thanks, Pradeep.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.