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: 

how to insert values in P1222 and PT1222

Former Member
0 Kudos
189

hello experts,

i do have a requirement for maintainaing general attributes in OM. i need to insert values in P1222-subty and PT1222-low and PT1222-attrib simultaniously. how to insert the values simultaniously as that two structures are different .please provide me the help.

Regards,

Murthy.

6 REPLIES 6

Former Member
0 Kudos
95

hi,

try this

UPDATE (l_tabnm) SET (set) WHERE (condition).

0 Kudos
95

hi,

I didnt get you. i need to insert the values from the program. how can i achive this ?

0 Kudos
95

hi,

do you want to update or insert record?

actually the update syntax it updates two fields of row in a table.

do a f1 help you can understand better

0 Kudos
95

hi,

it is referring to infotype 1222. when we are creating a dynamic position in OM, i need to pass p1222-SUBTY value as allocation number and pt1222-attrib as ALNO and pt1222-low as another value.

how to insert a record in Gen.attrib.main of the dynamic position. hope u have understand.

Regards,

murthy.

Former Member
0 Kudos
95

i got the answer

0 Kudos
95

Hi Murthy,

I have the same requirement.

Can you please suggest me how to insert simultaniously.