cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to add more records to an existing sap standard segment in IDOC Basic Type DEBMAS07

newguy_cloud
Explorer
0 Likes
819

Hi ABAP/IDOC/ALE experts,

I am currently working on an IDOC with basic type DEBMAS07.

There were missing records for the segment E1KNVIM and just need to add a few more records.

The question is how can I add a couple more records for this segment?

Do you know what BADI or User Exit can I use?

Thanks & hope to get your reply soon.

New cloud guy

Accepted Solutions (1)

Accepted Solutions (1)

RaymondGiuseppi
Active Contributor
0 Likes

Did you already look at IDOC_DATA_INSERT?

newguy_cloud
Explorer
0 Likes
Thanks Raymond for the quick reply. But my additional records did not appear in the E1KNVIM segment. I did populate the new_entries table but to no avail. Have you tried using this before? Do you have a sample code? How about the counter? Do you just put '000'. I did search online but not much working samples.
RaymondGiuseppi
Active Contributor
0 Likes

SEGNUM should be the segment before the segment to insert, counter is the number of segments to insert can be left '001' or an actual counter ('001', '002', etc.) if multiple records.

newguy_cloud
Explorer
0 Likes
It did not work Raymond. Again thank you for replying. If ever you have alternatives please let me know.
RaymondGiuseppi
Active Contributor
0 Likes

Questions

  • Did you get an error in the IDOC status log field PROTOCOL
  • Did you set the Have_to_change field to 'X', did the execution change it to 'E' (attempt was made to insert segment)
  • Where did you try to insert new segment(s) after an E1KNVVM segment or after an already existing E1KNVIM segment

Sample

newguy_cloud
Explorer
0 Likes
Thanks Raymund for the reply and the notes

Answers (0)