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.
Showing results for 
Search instead for 
Did you mean: 

Changing Document type while PR creation

Former Member
0 Kudos

Hi all,

In the tcode cj20n, whenever a material is attached to an activity a PR is generated.

The document type of the PR is taken by default as 'NB Purchase Requisition'.

But as per the business , the document type has to be chosen by user ,during the creation of the PR from the types below.


E FO B Framework Requisn

E HO B Hire Order Req.

E NB B Purchase Requisition

E RV B Outl. Agmt Requisn

E SO B Sub-cont. Req.

E WO B Work Order Req.

The document types can be seen in the SPRO setting as well in the table T161T.

Is there any option or settings for this fuctionality.

If anyone has any prior knowledge on this please suggest.

Thanks and regards,

Johnson George.


Former Member
0 Kudos

Please check out the report which is related to cj20n


This might give you some reference.


Lalit Mohan Gupta.

0 Kudos

hi Lalit,

hw do i check the reports in the program SAPLCNPB_M ?

Can you please elaborate?

thanks and regards,

johnson george

Former Member
0 Kudos

using the user exit