Application Development and Automation 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: 
Read only

Distributing message type COND_A using ALE

roland_spindler
Participant
0 Likes
3,125

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

6 REPLIES 6
Read only

Former Member
0 Likes
1,270

Hi Roland,

Go to BD64, EDIT->Distribute model viw.

Regards,

Kiran

Read only

Former Member
Read only

0 Likes
1,270

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

Read only

Manohar2u
Active Contributor
0 Likes
1,270

Can you try with this option

"you could use transaction VK13. Select the condition type and in the next screen use button Condition Info. Then select all the records you need and in the next screen select button 'Send condition' (this works in 4.6.C)."

Refer to this link

Regds

Manohar

Read only

0 Likes
1,270

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

Read only

ferry_lianto
Active Contributor
0 Likes
1,270

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.