Automate

Welcome to the Automate community!  Please feel free to start a discussion in the discussion tab or join in a conversation.

Here are some useful links where you can find more information:

Product Announcements  Ideas Portal

Discussions

Members

Resources

Events

 View Only
  • 1.  Can't get BAPI_COSTELEMENTGRP_CREATE to work

    Posted 10-30-2018 15:08
    Hi All,

    I've logged a call with support, but I thought I'd ask here as well.

    I'm trying to create a cost element hierarchy using BAPI_COSTELEMENTGRP_CREATE .  This is my first time using Direct and I'm having some trouble.  I've got to the point where the script doesn't return errors when I run it, but it doesn't return anything else either and nothing gets saved.

    I have checked the commit required flag when creating the script but no message gets returned from SAP and no message is returned.  Any suggestions gratefully received.

    I have attached the script and test data.

    Regards

    Mark

    ------------------------------
    Mark Tiller | Delivery Enhancement Developer
    Transport for London (TfL) | [City] | 0203 054 4196
    ------------------------------


  • 2.  RE: Can't get BAPI_COSTELEMENTGRP_CREATE to work

    Employee
    Posted 11-28-2018 09:58
    Hi Mark, I just tried your script and it ran fine.  It did show "No message is returned from SAP".    Some bapi's allow you to download additional messages, but for this one it looks like the only other option to output anything is the COA and the Group created.  My test (in v11)
    Hope that helps a little.

    Sigrid

    ------------------------------
    Sigrid Kok
    PSE | Winshuttle North America
    ------------------------------