cancel
Showing results for 
Search instead for 
Did you mean: 

how to pass smtp_addr(email field) to cremas idoc while creation of vendor?

Former Member
0 Kudos

Hi All,

i am creating the vendors by IDOC by using CREMAS basic type CREMAS05.

There is no email field in any of the idoc segments,as i need to pass the email address being mandatory,

i created the Z segment and added the email field into it and then created the z extension and added this zsegment into the extension.

Now how do i and where do i map this field so that email data is also passed while creating the vendor master.

i have debugged the cremas Function Module IDOC_INPUT_CREDITOR and the data is getting passed segment wise,and for customer segement i.e for the zsegment there is a enhancement section where i need to pass this field,but i do not know how do i map this field and with what structure.

Please let me know how do i handel this/or is there in other way to do it.

Thanks.

RJP.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

the email is part of the address data. It is therefore not belonging to the customer master data. So it is also not part of the DEBMAS idoctype.

To distribute via ALE accurate customer address data, you need to distribute ADRMAS, ADR2MAS, ADR3MAS idoctypes too.

See [note 384462|https://service.sap.com/sap/support/notes/384462] and [note 306275|https://service.sap.com/sap/support/notes/306275]

BR

Alain

Former Member
0 Kudos

i dint try out this option as i tired for the other option of the badi which u suggested and working fine.

Thanks alain.

Thanks.

Rohan Patil.

Former Member
0 Kudos

Hi Rohan,

i also have the same issue(adding Email field in cremas05).could u please forward any related documents u have regarding this issue.

Thanks in advance.

Regards,

Bhuvan.

Answers (0)