Application Development 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: 

Problems for saving descriptions in infotype 1002

former_member216705
Participant
0 Kudos

Hello masters:

I'm trying to save descriptions in infotype 1002. I'm using FM RH_OBJECT_DESCRIPTION_WRITE to do it.

This function works fine when I save the first description for a particular subtype. However, when I try to save another description for the same subtype, it isn't saved.

On the other hand, I can save the descriptions with the same subtype using tranx PP01 (so the problem is not the subtype).

Does anybody know what could be happening?

Thank you.

4 REPLIES 4

former_member209703
Active Contributor
0 Kudos

This function works fine when I save the first description for a particular subtype. However, when I try to save another description for the same subtype, it isn't saved.

You mean you're trying to modify the description you already saved? Or you're talking about another OBJID - SUBTY?

0 Kudos

I mean I'm trying to save more than one description for the same position and subtype. I can do it using tranx PP01 but not with the FM.

0 Kudos

But with different BEGDA and ENDDA?

0 Kudos

With the same key (otype, objid, begda and endda). I think the FM must generate a IT1002 line with different SEQNR. However, I'm thinking this function are updating the registry that match wirth the input data instead of insert a new one.