Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Can SHDB be used to record FM run?

Kaitlin
Participant
0 Kudos
320

Hello.

I work with a programmer to modify the standard FM IDOC_INPUT_ORDERS and my ABAP colleague suggested to record it using SHDB.

From what I can see SHDB expects a t-code and if I provide it VA01 then it uses the same steps VA01 would take for manual run(sales order creation) and have none of the ones from the FM run, such as attempting to fill EDI1 & EDI2 pricing conditions (which in my case must be suppressed because we don't use them, resulted sales order must use for pricing other pricing conditions).

In other words is there a way to record the particular steps flow provided by the above FM?

Most of them are indeed part of the VA01 t-code...

I tried to reprocess an iDoc in foreground with WE19 and used this t-code in SHDB but recording ended abruptly without any VA01 steps, only those particular to WE19 were captured - useless for our work.

I also tried another SHDB recording variant by indicating VA01 t-code and providing an iDoc number as input but this made no difference, recording followed the same steps as with manual VA01 so, again, no steps asking for EDI1 & EDI2 pricing conditions and my colleague needs these 2 steps in the recording in order to deal with them in her work.

Any suggestions please?

Thank you

2 REPLIES 2

VXLozano
Active Contributor
0 Kudos
263

Can you please try to explain us what's the main process' goal? I doubt it is to modify a standard FM, so you have an iDoc and it doesn't work like you want. So, what now?

You cannot "modify a FM via SHDB", and it's nonsense to try to "modify" a standard FM. Enhancements, maybe? But I still doubt that this is really your need.

So, can you rephrase, please?

Kaitlin
Participant
0 Kudos
263

Hello.

I'm trying to configure the automatic intercompany SO creation based on the PO using iDoc/EDI.

The SO creation program is heavily modified and we're looking on ways and means to adapt the iDoc content and possibly the FM in order to cope with the complexity and requirements of the SO creation, that's how this journey was started. I assume - I'm functional consultant with 0 ABAP experience - my colleague the programmer needs to know all interactions between the sales order creation program(s) and the data made available thru iDoc so that the difference can build. And, again, I am after the VA01 steps that are guided by the FM, they are slightly different from the manual sales order creation ones.

Thank you.