‎2008 Nov 06 10:33 PM
Hi All,
I am writing a BDC and recording steps to create Messages for a Purchase order(ME22N).
For an existing PO, go to Messages and create a message with output type for EDI. Already there are existing Output types for Print and Fax,
How do I default my cursor at the 3rd record if Print, and Fax are already there, and when I run this BDC for several PO's How do I know how many messages are there and where to place cursor to create message for EDI.
Is there any Function module or Bapi available wherein I can directly give the PO number and create the message.
Please suggest
Thanks-
‎2008 Nov 06 10:40 PM
‎2008 Nov 06 10:40 PM
‎2008 Nov 06 11:27 PM
I don't want to process output type, My requirement is to create the output type.
Thanks-
‎2008 Nov 06 11:31 PM
‎2008 Nov 06 11:35 PM
I have a list of PO's in the internal table, I need to put a loop and for each PO, I need to create a message with output type for EDI. as I am not sure if there are already messages available for Print, Fax, and Email. I have an issue placing the cursor on the Messages window.
So i thought if there is any function module to create message without going to message window, I can avoid those complications.
How to do this. any suggestions?
Thanks-
‎2008 Nov 06 11:47 PM
is there message control setup for these EDI output types, and are there proper output condition records created.
if yes, you dont need to do anything, just go into your POs via ME22, and go to message screen, it will create the output automatically.
‎2008 Nov 06 11:52 PM
It is not creating message for EDI automatically, so we came up with this requirement.
We are collecting all the PO's created on today's date, and checking the country code, If the shipment is outside the country, then for the particular PO, we will have to create a message with the output type ZXXX.
And to create the message we are writing a BDC program.
Thanks-
‎2008 Nov 07 12:02 AM
it is your functional person problem then. Writing BDC for somethign which can be easily done via config is a real bad practice.
‎2008 Nov 07 12:06 AM
Hi MgX,
Thanks for the inputs, I will try to put ball in their court. but I am sure, they will ask me to write the BDC. so I still need a solution upfront to avoid last moment hurry.
Thanks-
‎2008 Nov 07 9:38 AM
Hi,
You can create one output condition record for EDI for this and as soon as PO get created and saved it will generate EDI output conditiion based on your condition record setup and
trigger Outbound ORDERS.
In case if you need to trigger outbound when PO changed you can setup another condition record
Hope this help
ramesh