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

IDOC type COND_A01

Former Member
0 Likes
1,779

Hello everybody,

I'm not very familiar with IDOC technics. Could anybody help me with this problem?

I have an application that sends condition data to XI. There it will be mapped to the IDOC structure of COND_A01 and transferred to an R/3.

Is it also possible to reverse the data stream? I'd like to have MATNR as input and as result the appropriate COND_A01 IDOC data.

Thanks for any help.

Joschi

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,011

Hi Joschi,

Are you trying to generate COND_A01 IDoc (R/3) and sending to XI? If you are then ...

You may need to ask SD Functional folk to create new pricing report (t/code V/LA) with sending IDoc, message type and logical system paramaters available for input.

or you can copy an existing pricing report (t/code V/LD) into custom report/program and change below parameters to be displayed.

PARAMETERS sen_idoc(1) TYPE c     *NO-DISPLAY.
PARAMETERS p_mestyp  LIKE tbdme-mestyp  *NO-DISPLAY.
PARAMETERS p_logsys  LIKE tbdls-logsys  *NO-DISPLAY.

Once the report is available for you then the next step is to configure ALE and partner profile in order to generate IDoc COND_A01 from the pricing report.

Hope this will help.

Regards,

Ferry Lianto

Please reward points if helpful.

3 REPLIES 3
Read only

Former Member
0 Likes
1,012

Hi Joschi,

Are you trying to generate COND_A01 IDoc (R/3) and sending to XI? If you are then ...

You may need to ask SD Functional folk to create new pricing report (t/code V/LA) with sending IDoc, message type and logical system paramaters available for input.

or you can copy an existing pricing report (t/code V/LD) into custom report/program and change below parameters to be displayed.

PARAMETERS sen_idoc(1) TYPE c     *NO-DISPLAY.
PARAMETERS p_mestyp  LIKE tbdme-mestyp  *NO-DISPLAY.
PARAMETERS p_logsys  LIKE tbdls-logsys  *NO-DISPLAY.

Once the report is available for you then the next step is to configure ALE and partner profile in order to generate IDoc COND_A01 from the pricing report.

Hope this will help.

Regards,

Ferry Lianto

Please reward points if helpful.

Read only

Former Member
0 Likes
1,011

Thanks for the answer. I think I expressed myself not exactly and maybe this is not the appropriate forum, but I don't know where else I could post my question.

I'm looking for an already existing "readBy" function call, which gets the parameter MATNR as input and returns the data which is contained in IDOC COND_A01. The return structure could be an IDOC, but more important is the data, not the structure.

As I said I don't know very much about IDOC technics. But behind the IDOC COND_A01...isn't there any function module who gets some input (in my case MATNR) and then fills the IDOC with data? That would be what I'm looking for.

Thanks a lot for helping.

Joschi

Read only

Former Member
0 Likes
1,011

Hi Joschi,

Please try FM <b>MASTERIDOC_CREATE_COND_A</b>.

This FM is used to generate IDoc COND_A01.

Again, hope this will help.

Regards,

Ferry Lianto