cancel
Showing results for 
Search instead for 
Did you mean: 

CREMAS05 Vendor idoc other fields

Former Member
0 Kudos

Hi,

Basic type CREMAS05

Vendor master data distribution

Released since Release 700

1). In idoc it is showing the

REGIO : Region (State, Province, County)

& LAND1 : Country of company only, but i want its text.

Ex: For 22 - Tamilnadu &

for IN - India.

2). When i set a Deletion flag for any vendor using T.Code XK06, in generated idoc,

LOEVM field value will be 'X',

if vendor is active its value is ' '.

LFA1-LOEVM-Central Deletion Flag for Master Record

E1LFA1M : Segment for general vendor data

LOEVM : Central Deletion Flag for Master Record

i hv to put the constant value TRUE, if vendor is active &

FALSE if deleted, for the mapped field in XI.

Pls let me know hw to solve the above requirement.

Regards,

Balaji

Accepted Solutions (1)

Accepted Solutions (1)

santhosh_kumarv
Active Contributor
0 Kudos

>>i hv to put the constant value TRUE, if vendor is active & FALSE if deleted, for the mapped field in XI.

Use the IF and equalsS standard function.

LOEVM & Constant (X) -----> equalS -------> IF---------> X(target Field)
Constant (False) --------> then
Contanf (True) ---------> else

Thanks

SaNv...

Former Member
0 Kudos

Hi,

thanks for quick reply.

any example blogs on this...

Thanks & Regards,

Balaji

santhosh_kumarv
Active Contributor
0 Kudos

No examble blogs..

If u still need clarity on the mapping pattern refer this http://www.flickr.com/photos/28929439@N06/2829853561/

Thanks

SaNv...

Former Member
0 Kudos

Hi,

Thats exactly what i'm looking for the scrn shot. Thanks a lot. Any suggestions on Q1.

Thanks & Regards,

Balaji

santhosh_kumarv
Active Contributor
0 Kudos

You need to do a Value mapping or FixValues for this.

Value Mapping:

By Sreekanth Babu

Fix Values:

http://help.sap.com/saphelp_NW04/helpdata/en/43/c4cdfc334824478090739c04c4a249/frameset.htm

Thanks

SaNv...

Former Member
0 Kudos

Hi,

thanks for the replies...

Q1). In idoc it is showing the Region Code & Country Code

Ex: Region - 22 & Country - IN.

REGIO : Region (State, Province, County)

& LAND1 : Country of company only, but i want its text.

in that idoc there is no field showing code description.

Ex: For 22 - Tamilnadu &

for IN - India.

whats the alternate in this case to get this.

Thanks & Regards,

Balaji

Former Member
0 Kudos

Hi,

IDoc contains 2 Segments:

Seg1 & Seg2.

Seg2 is the child of Seg1.

Seg1 contains field:

CODE

Seg2 contains fields:

DESCRIPTION

HIERARCHY

When i trigger the idoc, the data is stored as:

Seg1:CODE: 1001

-


Seg2:DESCRIPTION: test1,

-


HIERARCHY: 00

Seg1:CODE: 1002

-


Seg2:DESCRIPTION: test2,

-


HIERARCHY: 01

Seg1:CODE: 1003

-


Seg2:DESCRIPTION: test3,

-


HIERARCHY: 02

Seg1:CODE: 1004

-


Seg2:DESCRIPTION: test4,

-


HIERARCHY: 03

creating the duplicate segments as shown above.

-


This data is mapped to the structure in XI.

The structure to map will be as follows:

str1

---ID1

---DES1

---ID2

---DES2

---ID3

---DES3

-


i've to map depending on the field HIERARCHY condition.

IF HIERARCHY = '02' THEN

ID1 = 1003.

DES1 = TEST3.

IF HIERARCHY = '01' THEN

ID2 = 1002.

DES2 = TEST2.

IF HIERARCHY = '00' THEN

ID3 = 1001.

DES3 = TEST1.

-


How to map this condition based, in the MESSAGE MAPPING?

pls help in solving this if possible with a screen shot.

Regards,

Balaji

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Permi,

Use Fixvalues in Conversions of standard function in Message mapping. Double click on it and put the Idoc values on left side like IN and on right side you put INDIA. Similarly add to all the values.

Regards.

---Satish