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: 

cs03 - add column table (parts list)

Former Member
0 Kudos

Hi,

I´m new in ABAPprogramming and 2 weeks ago I got my first task.

I have to add a column with the manufacturer part number in the resulttable of the transactionnumber cs03.

I searched in several forums but I really don´t know- how can I add this column.

I read that I have to modify the Dynpro and the structure (RC29P) or add an user-exit?

Which solution is the best for my problem?

So please, can you tell me. where I have to change (structure) and in which (sub)program?

Thanks a lot.

Tobias

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Check the user exit PCSD0003 to add fields at the header, this might help,

Rgds,

9 REPLIES 9

Former Member
0 Kudos

Tobias,

You can make use of User exist(tcode CMOD) PCSD0003 enhancement. WHere you can find 2 sereen exists <b>SAPLCSDI SAPLCSDI</b> which you can modidy and add the manufacture part number.

rgds,

TM.

Please mark points if helpful.

Former Member
0 Kudos

Hi,

Check the user exit PCSD0003 to add fields at the header, this might help,

Rgds,

0 Kudos

Hi Thomas and Sailatha,

I checked the TA CMOD and put PCSD0003 into the textfield.

But I get the error:

"Erweiterungsprojekt PCSD0003 nicht gefunden"

"Enhancedproject PCSD0003 not found".

I tried all variants like attributes, components, documentation and so on.

Have I to create a new project where I´m using "PCSD0003"?

Sry for this simple, stupid question, but I have never do it before.

Thanks a lot.

Tobias

0 Kudos

No you do'nt need to create... Which version of SAP you are using..? The one which we told is satndard enhancement which is available in SAP for that tcode.

I doubt in your version that enhancemnt is not available.

However I suggest you to copy paste this program (http://www.sapgenie.com/abap/code/abap26.htm ) in a your se38 editor, execute it , give the Tcode <b>CS02</b> in the prarameter option of the program execute.

This will list all the enhancements available in your version for this particular transaction.

Go to each <b>enhancements==> COmponents and see Screen Area</b>. You can modify those standard screens which are listed there. This way you can select a suitable userexit for your TCODE.

rgds,

TM.

0 Kudos

Thanks a lot.

I created my own project and now the PCSD0003 could be used.

Now I see the 2 screen dynpros =>

SAPLCSDI 0114 CUSHDR01 SAPLXCSA

SAPLCSDI 1114 CUSHDR01 SAPLXCSA

These Dynpros are blank. Have I here to insert the new column?

with best regards

Tobias

0 Kudos

Yes you are on the right path. You can go ahead and insert manufacturer part number in an appropriate screen.

Rgds,

TM.

0 Kudos

That is the question. What is the appropriate screen?

I insert some components and they are always shown under

the tab "costumer fields" in the position screen. This

is not what i need. I need a extra column in the table

control "tcmat" (material table in cs03).

Maybe I used the wrong dynpro (910)??

0 Kudos

Hi guys,

today was a good day.. I found a solution for my problem.

I added a colum to the Dynpro "0152" -> Program "SAPLCSDI".

I use "MARA-MFRPN" as domain and fill this variable in the begin of the program "LCSDIF8Z".

So the "manufacturer part number" is show for every position in the result table.

But I don´t know, is it really a good solution?!

Have a nice day.

Tobias

Former Member
0 Kudos

PCSD0003 is an enhancement provided by SAP, so use transaction SMOD to view its components. If you want to include it in your customer project create a Y project in CMOD and include PCSD0003 in it.