Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

unable to insert records in PRPS and PROJ tables.

I want to insert entries in PROJ and PRPS tables with new company code.

I am selecting entries with existing company code and changing old co. code to new co. code in work area.

Then I am using insert PRPS from work area in the same way inserting in PROJ.

Please help, why insert statement is not working with these tables..

Former Member

I hope you are in a sandbox system.

The internal and primary key is PSPNR, and this key is associated with an internal range number. If you don't want to use program, you have to get yourself the next number for PROJ and each PRPS, then you MUST insure that related objects like OBJNR the CO object number is adjusted (PR or PD + internal number/) else you will incur severe problem with your database. You MUST insure that other unique indexes are respected PSPID, etc.

*The correct way is reached via BAPI or Batch Input/Call Transaction*

For BTC or call transaction just record via [SHDB|] a single run with [CJ2D transaction|].

BAPI suitable are :

- [BAPI_PS_INITIALIZATION|] to start the job

- to read the model use BAPIs like [BAPI_PROJECTDEF_GETDETAIL|]

- to create the new project use BAPIs like [BAPI_PROJECTDEF_CREATE|]



0 View this answer in context

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question