‎2006 Jul 06 5:09 PM
Hello everybody,
I am distributing purchasing info records using ALE (transaction ME18). This works fine.
Now I also want to distribute the corresponding conditions.
I know that I need an additional message type COND_A. I created the new message type in BD64.
But I don't know how to trigger the distribution. I cannot find a transaction for distributing conditions and they won't come along when I distribute the info records.
Any help would be appeciated.
Thanks
Roland
‎2006 Jul 06 5:12 PM
Hi Roland,
Go to BD64, EDIT->Distribute model viw.
Regards,
Kiran
‎2006 Jul 06 5:15 PM
Hey,
Refer the link http://help.sap.com/saphelp_47x200/helpdata/en/dd/233d582dee11d2b422006094b9476a/content.htm
Might help.
-Kiran
‎2006 Jul 06 5:22 PM
Hi,
This refers to contract conditions. Is it the same as purchasing info records conditions?
Anyway, no IDocs have been sent when to tried transaction ME308
Roland
‎2006 Jul 06 5:34 PM
‎2006 Jul 07 8:59 AM
Hi!
Your solutions both work for sales conditions.
As I need purchasing conditions I have to use transaction ME13 or report RV13AABX.
Thanks for pushing me in the right direction.
Roland
‎2006 Jul 06 6:58 PM
Hi Roland,
It is quite tricky. But it worked well for me.
Please choose the pricing report (t/code V/LD) which meet your criteria extraction and copy the report program into custom program.
Let's say you copy report program <b>/1SDBF12L/RV14AK15</b> (Material Price) into <b>ZRV14AK15</b>.
Then you need to modify selection screen of ZRV14AK15 program to enable the sending IDoc parameters as follows.
*PARAMETERS sen_idoc(1) TYPE c NO-DISPLAY.
*PARAMETERS getknumh(1) TYPE c NO-DISPLAY.
*PARAMETERS p_delete(1) TYPE c NO-DISPLAY.
*PARAMETERS p_mestyp LIKE tbdme-mestyp NO-DISPLAY.
*PARAMETERS p_logsys LIKE tbdls-logsys NO-DISPLAY.PARAMETERS sen_idoc(1) TYPE c DEFAULT 'X'.
PARAMETERS getknumh(1) TYPE c NO-DISPLAY.
PARAMETERS p_delete(1) TYPE c NO-DISPLAY.
PARAMETERS p_mestyp LIKE tbdme-mestyp DEFAULT 'COND_A'.
PARAMETERS p_logsys LIKE tbdls-logsys OBLIGATORY.Now you should be able to use this custom program to generate IDoc for message type COND_A.
Please ensure you have setup the ALE and IDoc configuration such as distribution model (BD64), partner profile (WE20), IDoc Ports (WE21) and etc.
Hope this will help.
Regards,
Ferry Lianto
Please reward points if helpful.