cancel
Showing results for 
Search instead for 
Did you mean: 

Call a step through Outbound is not working

former_member264639
Participant
0 Kudos

  Hi Experts,

     We have designed a scenario step to call a scenario step through Outbound.

     First Step posts the BP, Second step makes a payment against the posted BP.

     We have designed the second step with predecessor type, and called it in the Outbound of First step.

     Outbound Setup:


Inbound Setup for the step to be called:

Step 1 Execution Success:

Is anything to do with the atom0?. Do we miss any content here.??

 

Suggestions highly appreciated.

Thanks & Regards,

Venki .A

Accepted Solutions (0)

Answers (1)

Answers (1)

bastian_schaefer
Active Contributor
0 Kudos

Hi,

your atom0 is empty, the object structure is missing, completely.

You need to correctly maintain atom0 with object information of your chosen outbound object.

Please check B1i online help (HELP -> Online Help) for search tag  "SAP Business One Outbound" to get further information how to work with B1 outbound.

The concrete B1 object structure can be found in HELP -> B1 Object Help.

Best regards

Bastian

Former Member
0 Kudos

Hi Bastian,


         We have tried to frame the object structure in atom0 as per the help you pointed out, but the result turns out to be zero. It would be very helpful if you explain in detail about framing the object structure, with an example.


Thanks,

Karthik Kannan

      

bastian_schaefer
Active Contributor
0 Kudos

Hi Karthik Kannan,

from my point of view, in atom0 you're still calling the empty template "transform", I took the screenshot from your first post:

Either you fill the object structure into template "transform" segment or you need to call the second listed template  "B1if.Outbound.object".

Best regards

Bastian

P.S.:

It's always critical to perform to DI API write operations in one single integration step (error handling and rollback actions need to be taken care of). A split into two integration steps is the preferred option.

If you don't want to call an B1 object at the outbound explicitly (because you handed over into a second step), please use <b1im_skip> at atom0:


Skipping Outbound Processing

If you do not want to hand over the message to the receiver system, the scenario step can create a special tag that indicates to generic processing in the integration framework to skip the message processing.

<b1im_skip info="my info" msglog="true">

For more information see reference document Schemas, section Skipping Outbound Processing

Former Member
0 Kudos

Hi Bastian Schaefer ,

         Thanks for your explanations. Our need is simple. We have two steps. Step One -> Creates a BP, Step Two -> Posts a Payment against the BP. When the Step One gets executed, the Step Two is to be called via the Outbound Channel.

        Do we need to add any content to call the "Step Two" in the atom0 of Step One?. Or any other ways to call an Scenario Step through Outbound would be highly helpful.

Thanks,

Karthik Kannan