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

Modification t-code co46

farihakazi
Active Contributor
0 Likes
946

I have to copy the program that runs t-code co46 in order to modify the selection screen as well as the output.

1) In the sales order tab of CO46 I have to add fields vtweg and spart to retrict the report for sales orders for this particular sales area if the user keys in only the sales area information

2) In the output I have to output these two fields as well.

I have made a zcopy of the program and t-code but im not able to find the exact palce to do the modifications. This program actually calls t-code MD04 to diplay another report at the bottom of the output screen,however the upper part of the screen still displays the order progress report but im not able to locate exactly at which place this report is called and the internal table that is passed for display.

Thanks

3 REPLIES 3
Read only

alex_m
Active Contributor
0 Likes
648

I just took a clance on the program,

Selection screen changes include PPORPS01

Processing form include PPORPF01.. Look like its kind of big report and you need to do some home work before copy the program..

Read only

farihakazi
Active Contributor
0 Likes
648

did my home work...

Required great debugging skills..

Read only

0 Likes
648


Hi,

I'am facing similar issue in adding two fields in the output i.e order tree of CO46.

If I create zcopy of the report. can you please tell me where exactly in the code do i need to make the changes or the structure where i can add my two fields.

I tried with MD_EXPORT_TREE BADI but it will export the order tree to excel or can be printed.. but it will not add fields in CO46 output.

Thanx