Application Development and Automation 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: 
Read only

Transaction PP02

Former Member
0 Likes
1,416

HI All,

I am creating a BDC for Creating a Position in the system through transaction PP02. But my problem is that in a system where there could be different positions already existing with the same position text then If I create 2 new positions today in my system with the same name , how would I know that what ID is created for that position text currently when i am running pp02 . How would I capture that that which Position Id is generated currently in the system .

Regards,

HI All,

I am creating a BDC for Creating a Position in the system through transaction PP02. But my problem is that in a system where there could be different positions already existing with the same position text then If I create 2 new positions today in my system with the same name , how would I know that what ID is created for that position text currently when i am running pp02 . How would I capture that that which Position Id is generated currently in the system .

Regards,

2 REPLIES 2
Read only

Former Member
0 Likes
1,136

Can be done in two ways-

1. When you save the data in PP02, you need a change request which in turn will have task under it. Let us assume that you saved you data in the change request E6CK900746 and the task was E6CK900747. Go to the table E071K. On the selection screen in the field-

a. TRKORR = E6CK900747

b. PGMID = R3TR

c. OBJECT = TABU

d. OBJNAME = HRP1000

e. MASTERTYPE = TDAT

In the ouptput, the field TABKEY will have 'S' and the value of OBJID of the current position created.

2. Another way is to go to the database table HRP1000 after entire data has been saved. Enter the following selection values-

a. PLVAR = 01

b. OTYPE = S

c. AEDTM = The date on which BDC program/pp02 was run

d. UNAME = SAP user id with which the BDC program/pp02 was run

In the ouptput, the field OBJID will have the value of the current position created.

Read only

Former Member
0 Likes
1,136

This message was moderated.