cancel
Showing results for 
Search instead for 
Did you mean: 

deleting segment in idoc

Former Member
0 Kudos

iam doing file to idoc configuration in that the idoc is creating emty segment in target system.

due to this resion the idoc is getting field in target system .

so how can i restrict this emty segment in target system.

pls help me on this.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member183906
Active Contributor
0 Kudos

Hii

There are no problems if you have empty segments in idoc

except if any of this fields is mandatory, in this case an error is triggered. U don map unrequired segments.

OR

U can create custom idoc as per ur requirement and use that :

Create Segment ( WE31)

Create Idoc Type ( WE30 )

Create Message Type ( WE81 )

Assign Idoc Type to Message Type ( WE82 )

Former Member
0 Kudos

Hi,

Dont Mapp those Segments which you dont require

Regards

Seshagiri

Former Member
0 Kudos

some times it may have value.

thats way iam using if condition to check the value in that eliemnts.

it is working fine but when the value is not comming in to that segements then iam facing this problem .

in this segment(e1mardm) lgort is maditary field.

Former Member
0 Kudos

Hi

Use the "Node Function" for that particular Segement

"mapWithDefault"

Double click this and give a default value for this : say :: 0

When you get value from the system you 0 get's over written if not 0 would be there

rgds

srini

Former Member
0 Kudos

thanks