cancel
Showing results for 
Search instead for 
Did you mean: 

How to increase line item numbers in PR

former_member195427
Active Contributor
0 Kudos

Dear Experts,

Currently,our PR creation screen provides us only 10-15 line items to create within a PR.We want to increase it to 50 line items because I am creating a BDC to upload mass(almost 50) PR line items within a PR. Kindly suggest me the way to do it.

Also, in this BDC upload from excel to SAP, how system should know that fist 20 line items should be created with in one PR and next 30 in other PR and so on. I mean a break point for the BDC to create one PR and then another. ( till now I have thought of tracking number for it)

Kindly suggest..

Thanks & Regards

Saurabh

lissy0720
Discoverer
0 Kudos

SAP can restrict lines to 10, by ME51N---Personal Setting---Basic settings---item overview---tick: Item overview as grid control;

Accepted Solutions (1)

Accepted Solutions (1)

former_member215526
Active Participant
0 Kudos

Dear Saurabh Tiwari,

Just in case and maybe can help you, why not use in your BDC process the Badi "BAPI_REQUISITION_CREATE"

And please see this link:

BAPI_REQUISITION_CREATE - ABAP Development - SCN Wiki

Regards,

Xavier

former_member195427
Active Contributor
0 Kudos

Thanks Xavier,

I found the link very helpful.

But for the other part of it,how can I put a breakpoint on consequent number of PR from Excel..


Also, in this BDC upload from excel to SAP, how system should know that fist 20 line items should be created with in one PR and next 30 in other PR and so on. I mean a break point for the BDC to create one PR and then another. ( till now I have thought of tracking number for it)

How can I distinguish between no. of line items to be contained in a PR.

Kindly suggest.

Thanks & Regards

Saurabh

former_member215526
Active Participant
0 Kudos

Dear Saurabh,

You're welcome.

As I interpret your question, it depends if you have a range of internal and external numbering.

- External: You can put the code PR for each line for the same in each structure. For example for the first structure "REQUISITION_ITEMS"

- Internal: In my point of view, you can call the function or send the set data for each PR, i.e. with some loop take the group A for the PR A and call the function, after take group B for the PR B and call the function, etc.

I hope I was able to convey the idea.

And also please see this samples.

Regards,

Xavier

former_member195427
Active Contributor
0 Kudos

Thanks Xavier!

But how can I increase the line items number in my PR screen? Currently, it shows only around 12 in PR and around 50 in PO. I want to increase PR line items upto 50.

Is there any configuration change for it?

Thanks & Regards

Saurabh

JL23
Active Contributor
0 Kudos

the numbers of lines in a screen depend on your windows screen resolution, which is totally meaningless if you use the BAPI from above.

former_member195427
Active Contributor
0 Kudos

Thanks for replying on my post Jurgen.

Agree with you. But if my user wants to create 11th line item in PR manually then how can he/she can add this line item as the screen is restricted to show only 10 line item .

May I know more about screen line item dependency on 'windows screen resolution' ? Is that screen restriction valid for other areas also like operation screen in PM order etc.?

Thanks & Regards
Saurabh

JL23
Active Contributor
0 Kudos

do a right mouse click on your local desktop and then screen resolution and change the settings e.g . from 1024 by 768 to 1280 by 1084.

former_member215526
Active Participant
0 Kudos

Hi Saurabh,

According to your question and if my interpretation is correct about your question:

"if my user wants to create 11th line item in PR manually then how can he/she can add this line item as the screen is restricted to show only 10 line item ."


The system will show 10 lines at the begin,


but after your user can manually create one line or up to 10 with a copied and pasted. The system will automatically create 10 more blank lines to complete others request.


So your user do 10, press enter and put the last one 11th line.


Remark: you can have the same logic for PM.


Regards,

Xavier

former_member195427
Active Contributor
0 Kudos

Hi Jurgen,

Is it actually depends on windows screen resolution?

I checked it but it does not changes anything that I want on my SAP screen.

Regards

Saurabh

JL23
Active Contributor
0 Kudos

Certainly it does depend on the window screen resolution.

But the font size in your SAP Gui  (settings of local layout - 3 color icon) has as well its influence since the font size has to fit into the visible cells.

Answers (2)

Answers (2)

0 Kudos

Hi Saurabh,

There is no standard method to increase the line items of PR screen. Once you enter the date upto 10 line items. System will automatically show more line items to enter the data.

former_member201529
Active Contributor
0 Kudos

Dear Saurabh,

Kindly try the same by using "Concatenate statement",  with line increase of idx = idx+1.

Regards,

Karna J

former_member195427
Active Contributor
0 Kudos

Hi Karunanithi,

Isn't there any std. configuration to increase PR line items in ME51N screen?

Regards

Saurabh

former_member201529
Active Contributor
0 Kudos

Dear Saurabh,

There is no configuration for line items, Initially it will be displayed 10 line item and it will be extent automatically once all ten line item completed.

Kindly let us know if you found any issue.

Regards,

Karna J