cancel
Showing results for 
Search instead for 
Did you mean: 

How to change a print layout in VF02

Former Member
0 Kudos

Dear all,

I have following use case:

- go to VF02

- enter "billing document" number

- go to "Billing Document" menu, choose "Issue output to"

- choose "print preview" in appearing window

After that Im getting a print preview from the desired bill

My requirement is probably very simple, but I have absolutely no experience with such tasks and need your help here: how can I adapt the layout of the document showed in the print preview? What are the right transaction to be able to take a look at this billing template resp change that one? If possible can somebody provide any documentation. Thank you very much,

regards

Accepted Solutions (1)

Accepted Solutions (1)

RahulHanda
Active Contributor
0 Kudos

Hi Lawrence

If you are talking about how you can modify the template then go in V/40 and double click on your output type example RD00. Then double click on processing routines which would show the program used to generate this output.

Let us know if it helped.

Regards

Rahul

Former Member
0 Kudos

Hey Rahul,

thank you for your friendly support. Following your suggestion I found a field RD00 resp. "PDF/SmartForm Form" containing a value "LB_BIL_INVOICE". Im strongly assuming its the form Im looking for, but I have no idea how can I edit resp preiview the form. Could you help me on this please?

Sorry about rudimentary question, but Im coming from the Java stack and absolutely not familiar with billing stuff.

cheers

RahulHanda
Active Contributor
0 Kudos

Lawrence,

You need to take help of ABAPer in this case. Discuss with your ABAPer for the changes and they can figure out the changes for yourself.

Regards

Rahul

Answers (2)

Answers (2)

former_member182378
Active Contributor
0 Kudos

Lawrence,

If this is a need in your client's production system and reading the posts in this thread, I suggest you ask for help (SD functional and ABAP analysts). You are asking some very basic questions and trying to solve/change code (assigned to an output) has its risks. With the intention of solving things with a low budget, you might end up creating a mess!

TW

Former Member
0 Kudos

Yes, in generally its not a good idea to correct stuff what does not meet your expertise area. But, unfortunately real life is not that way: the customer is coming on his own to a decision who have to do what according to the profile's they have. Humans are tending to misdo from time to time

cheers

Former Member
0 Kudos

HI Lawrence Waterhouse,

If you want to know form name and driver program name then you can find it from nace tcode .

go to nace tcode then select V3 row and click on output types then pass your otput type by clicking on position and press ok it will be on top of that list again select that row and double click on processing routines it will take you to new screen where program name and from name will be available.

after getting form name you can try it in se71 or samrtforms tcode respectively .

Former Member
0 Kudos

Rahul, unfortunately there was nobody who could help me on this, since our customer is strong understaffed currently. However, I wrote ABAP few years ago, so I hope to manage this.

Anyway I found out the form which was interesting for me is not a smart form, rather pointing me to an ABAP source. I have found this out by try&error at the end. So an interesting question from my point of view is: how to find out which form is used resp. has to be adapted from a print preview?  Could somebody describe the proccess please?

cheers

RahulHanda
Active Contributor
0 Kudos

Lawrence

When you go to V/40, select the output type which you are using, then double click on processing routines. There you would see program, form routines & form name against your medium type.

Regards

Rahul

Former Member
0 Kudos

I have done this exactly in this way, but Im missing the step how to identify the output type the from is using, means assignment between print preview and used form. Thanks,

cheers

RahulHanda
Active Contributor
0 Kudos

Hi Lawrence

For that go in VF02/03, put your billing document number, press enter. On menu bar click Goto, header, finally click on output. There it would show you which output type you are using for which you are having the print preview. Take this output type and then check as mentioned above.

Regards

Rahul