Quantcast
Channel: SCN : All Content - Output Management
Viewing all 1353 articles
Browse latest View live

SAP Script : Restrict printing for 2nd page based on condition

$
0
0

I have a SAP Script with 4 page layout

1) FIRST

2) BACK

3) NEXT

4) BACKL

 

BACK page that is Second page print Term and conditions.

there are some standard text maintain for terms and condition based on particular countries.

 

so now issue is :

in my case

standard text is not maintain for country CH

so the back page comes always blank

 

Now requirement is : IF back page is blank or standard text is not maintain for any country restrict printing for BACK page.

 

There is a perform in back page

 

DEFINE &F-VKORG&= &VBDKR-VKORG&
DEFINE &F-VBTYP&= &VBDKR-VBTYP&
DEFINE &F-LAND1&= &VBDKR-LAND1&

PERFORM SEARCH-CON-SALES  IN PROGRAM YZZF_DOC_SEARCH_DATA

USING &F-VKORG&

USING &F-VBTYP&

USING &F-LAND1&

CHANGING &O_CON_SAL&.

ENDPERFORM

 

  INCLUDE &O_CON_SAL& OBJECT TEXT ID ST LANGUAGE &NAST-SPRAS&

 

In &O_CON_SAL& standard text is coming based country LAND1.

 

Please help me how can i restrict printing for 2nd page.


Output type is not automatically proposed

$
0
0

Hi All,

 

We have created a output type for PO(for ALE) and done all the settings in NACE. Problem is , output type is not automatically proposed by system.

 

In output determination procedure "Manually" check box is not ticked for that output type. Please suggest what I am missing .

when I click the save button on vf01 I want to save the pdf file on the local PC at the same time. Is it possible?

$
0
0

Hello,

 

We are using vf01 for generating invoices. And saving pdf through spool .But when I click the save button on vf01 I want to save the pdf file on the local PC at the same time. Is it possible?

 

I try the following method to save the pdf.

 

Generating invoice -->click on print-->and save

 

 

But getting an error message ascccccc.jpg

please advise..new.jpg

Smart form PACKING LIST for Shipment

$
0
0

Hi,

 

We have a requirement to Create a Smartform for Shipment- Packing list.

Requirement:-

Shipment have multiple delivery order.

Need to print different delivery in different pages,whenever there is change is delivery number new page will have the corresponding details.

 

Need to have all the details of the delivery like header and item detail.So whenever new delivery number all window data will change.

 

There is SAPSCRIPT  :-SD_SHIPMENT_CMR

Print program name :- RVADTR01

 

But we have to do for Smartforms.

 

Thanks.

No printing happening in VF31

$
0
0

D Friends,

I'm trying to give bulk printing of Invoices from VF31. But no printing is happening. I'm getting following errors:

With Processing mode 1- No messages for initial processing exist. Message no. VN108.

With Processing mode 2- No messages for repeat processing exist. Message no. VN109.

I've searched the forum- got many hits on the same message no. like : "http://scn.sap.com/thread/1887696". But they are not solving my issue. Do I've to run bulk billing from Spool (SP01) or bulk printing will happen directly from VF31?

Thank you.

Processing routine & in program & does not exist

$
0
0

Hi ,

 

I am created a driver program for calling smartform for PO from.

 

Program name :ZSUPF_PUR_ORD

Form routine :ENTRY_NEU.

And also in nace configuration , we had done the correct setting .

 

 

Print output    ZSUPF_PUR_ORD    ENTRY_NEU              ZSUP_PUR_ORDER_FORM    SmartForm
Fax                 ZSUPF_PUR_ORD    ENTRY_NEU              ZSUP_PUR_ORDER_FORM    SmartForm
External send    ZSUPF_PUR_ORD    ENTRY_NEU              ZSUP_PUR_ORDER_FORM    SmartForm

 

We are getting output also in print preview and email is also triggering.But after everything thing .

The below error is coming:-

Processing routine & in program & does not exist

 

Thanks.

How printer will determine automatically with user specific.

$
0
0

Hello Team,

 

I am trying to print the Handling unit. We have several key combination. I have maintained the condition record through VV61.

 

1- But we have several user and respective printer has maintained in specific user profile through SU3.

 

2- So what key combination I should use without maintaining output device in condition record or if I will maintain default printer(LP01) will it be work with   specific user ?

3- If I am not maintaining printer name in output device then during packing out-put type not coming automatically.

 

I have attached screen shot what are the key combination we use.

 

Appreciate if you can confirm at the earliest.

 

Thanks

Sits

Smartform Zebra Printing (controls, memory, rotating)

$
0
0

Hi,

 

these are a few questions related to the thread [SDN Zebra question|Zebra printing S_LZPL_SETUP = ^FWR & ^LRY;. They have all been asked before but the answers seem to vary. All answers will be appreciated. (Should I create multiple threads for these???)

 

1. When I send a ^FWR print control to the Zebra, it is stored in memory and hence effects the next text that is output - even if that is a completely new print out. Currently, I send a ^FWN at the end of the form to make sure that it is reset for the next print out:

is this the best way?

I can see in SPAD that there are 'printer initialisation, end of line, .....' actions. Should these be used instead?

If so, how?

 

2. I tried to send zebra commands the way Zebra described by putting S_LZPL_SETUP = ^.... into the free attributes section of a Smartform COMMAND but that didn't work so used print controls (described in the thread above). Has anyone got this working?

 

3. I would like to print the text of the barcode underneath the actual barcode. Most solutions on SDN say to put in a second line with the readable value. But, I know there are zebra commands to do that but where do I put them? The free attributes section with S_LZPL_SETUP?

 

4. I have tried to write multiple lines in a single TEXT but they just overwrite each other on the same line. Do I need to feed a 'carraige return, line feed' in the printer actions? If so, how?

 

5. On my print preview the windows all line up correctly but when I print it out, the top window is a few cm's down - is there a default margin in Zebra printers? How do I turn it off?

 

Thanks,

 

Kroc.

 

Thanks.

 

Edited by: Kroc on Mar 26, 2009 3:07 PM

3. I added the S_LZPL_HR command for the barcode type in my smartstyle and that output the barcode text below. Don't know how to get it to print above though/


Need to change transmission medium in VF31

$
0
0

I have many invoices that went out electronically (transmission medium 5), and I want to now reprocess them with VF31, but spool them to a printer instead (transmission medium 1).  Because they were not originally printed, then I can't change the transmission medium to a 1.  VF31 will not find any documents.

 

How can I mass print invoices that have been previously processed using a different transmission medium?  I do not want to go into each one and manually create the output.

 

Thank you for any help.

Janet Kuck

The orientation of ADS from printing is not correct

$
0
0

When  you use a customzied page size, the orientation of ADS from printing is not correct

For example, when you want to print with landscape but it always be printed as portrait.

It because the custom form is not exactly same landscape with the printer size and make the automatic determination does not work.

 

Resolution

Open the "print options edtior" in the tab "pdf options" select the "use external paper size"

If the option is selected :

The values of PDFPaperHeight and PDFPaperWidth are used.

Otherwise, the size is determined from the PDF file itself. In this case, the values of PDFPaperHeight and PDFPaperWidth are ignored.

NAST table, VF31 and output determination

$
0
0

Hello,

I have an output type that has a requirement routine. 

When user creates the invoice using VF01, The NAST table creates an entry with processing status '0'.

The user then uses VF31 to process the output via smartforms.

My question:

Does VF31 while executing the output condition type, checks the requirement routine attached to it in the Output Procedure ?

If not, is there a way to ensure that VF31 checks the requirement routine.  Or how to reprocess the Output determination procedure.

Thanks.

SAP Script : Restrict printing for 2nd page based on condition

$
0
0

I have a SAP Script with 4 page layout

1) FIRST

2) BACK

3) NEXT

4) BACKL

 

BACK page that is Second page print Term and conditions.

there are some standard text maintain for terms and condition based on particular countries.

 

so now issue is :

in my case

standard text is not maintain for country CH

so the back page comes always blank

 

Now requirement is : IF back page is blank or standard text is not maintain for any country restrict printing for BACK page.

 

There is a perform in back page

 

DEFINE &F-VKORG&= &VBDKR-VKORG&
DEFINE &F-VBTYP&= &VBDKR-VBTYP&
DEFINE &F-LAND1&= &VBDKR-LAND1&

PERFORM SEARCH-CON-SALES  IN PROGRAM YZZF_DOC_SEARCH_DATA

USING &F-VKORG&

USING &F-VBTYP&

USING &F-LAND1&

CHANGING &O_CON_SAL&.

ENDPERFORM

 

  INCLUDE &O_CON_SAL& OBJECT TEXT ID ST LANGUAGE &NAST-SPRAS&

 

In &O_CON_SAL& standard text is coming based country LAND1.

 

Please help me how can i restrict printing for 2nd page.

debug sapscript

$
0
0

Hi

 

I want to debug sapscript. I have activated the debugger through utilities menu.

 

But when I run the report the sapcript is not entering in debug mode.

 

Do I need to follow any other step.

 

Regards

 

Harshada

How to debug program RVADEK01 for SAPSCRIPT FORM S_PICK_SINGLE

$
0
0

Hello Experts,

Am using TCODE VL01N to print out the Form SD_PICK_SINGLE ,I tried to activate the debugger on the Form in SE71 after that executed the driver program RVADEK01 which didnt work so I tried to execute the tcode VL01N but nothing happens .Unfortunately both ways seems not to trigger the debugger to stop at the Form,.Can anyone help ?

Thank you

JA

Debug SAPScript in a background task?

$
0
0

Hello,

I need to debug a SAPScript that is printed from MB02 (Transfer Papers).

 

MB02 sends the print job to a background task. If I do ABAP Debugger -> Settings -> Update debugging, I can single step through the print program - that's not a problem.

 

At the same time I turn on the ABAP debugger, I do SE71 -> Activate Debugger and there is no debug of the SAPScript.

 

Is it possible to debug a SAPScript in a background task?

 

Thx.

Andy


invoicing nightly SD - TEXT_SYMBOL_REPLACE

$
0
0

We have a custom output copy of RD00 for email output.  It looks at program SAPMV60A.  It is using routine TEXT_SYMBOL_REPLACE.  We have been running nightly invoicing job for many years using program RV60SBT1. 

 

Some of the invoices that get emailed have &XVBRK-VBELN& filled out in the email subject line and others do not get that field filled in.  I had Basis go in and put an email address on every user that processes invoices.  So if users are creating invoices in VF01/VF04, the VBELN entry comes out fine. But nighttime processing is run by user BATCHUSER and VBELN does not come out.  I asked out Basis to add an email address to BATCHUSER. Still VBELN is blank.  So after investigating this a little, I see notes that we should be scheduling nighttime through VF06 which uses another program than my old RV60SBT1.  So I tried that, which runs in background under my name.  Still no VBELN.  But when I process under my name in VF04, the VBELN gets filled in.  We are on ECC 6.0 ep 5.

 

Can anyone tell me specifically where I am going wrong?  This is very time consuming on something that should be simple.

 

Susan

Smartform Zebra Printing (controls, memory, rotating)

$
0
0

Hi,

 

these are a few questions related to the thread [SDN Zebra question|Zebra printing S_LZPL_SETUP = ^FWR & ^LRY;. They have all been asked before but the answers seem to vary. All answers will be appreciated. (Should I create multiple threads for these???)

 

1. When I send a ^FWR print control to the Zebra, it is stored in memory and hence effects the next text that is output - even if that is a completely new print out. Currently, I send a ^FWN at the end of the form to make sure that it is reset for the next print out:

is this the best way?

I can see in SPAD that there are 'printer initialisation, end of line, .....' actions. Should these be used instead?

If so, how?

 

2. I tried to send zebra commands the way Zebra described by putting S_LZPL_SETUP = ^.... into the free attributes section of a Smartform COMMAND but that didn't work so used print controls (described in the thread above). Has anyone got this working?

 

3. I would like to print the text of the barcode underneath the actual barcode. Most solutions on SDN say to put in a second line with the readable value. But, I know there are zebra commands to do that but where do I put them? The free attributes section with S_LZPL_SETUP?

 

4. I have tried to write multiple lines in a single TEXT but they just overwrite each other on the same line. Do I need to feed a 'carraige return, line feed' in the printer actions? If so, how?

 

5. On my print preview the windows all line up correctly but when I print it out, the top window is a few cm's down - is there a default margin in Zebra printers? How do I turn it off?

 

Thanks,

 

Kroc.

 

Thanks.

 

Edited by: Kroc on Mar 26, 2009 3:07 PM

3. I added the S_LZPL_HR command for the barcode type in my smartstyle and that output the barcode text below. Don't know how to get it to print above though/

2-D barcode printing.

$
0
0

Dear Expert,

 

we are using SAP 6.0 and SAP Basis release 702. Problem is that:-

   - We would like to have changes on VDA-label according to VDA-standard 4902 Version 4. New barcodes have to be printed in addition to existing ones. According to SAP DataMatrix ECC200 barcodes are not supporting.

     - We want to use this in our script.

     -  I found OSS note- 1558595 & 645158 but I am not sure the consequence.

 

So please advise.

 

Thanks

Sits

Changing PDF Attachment title

$
0
0

Hi,

 

The program is using OPEN_FORM to send out emails as below:

 

  • Create recipient                                                

    swc_create_object lo_recipient 'RECIPIENT' space.             

    swc_set_element lt_container 'TypeID' 'U'.                    

    swc_set_element lt_container 'DocumentHeader' 'Order'.        

    swc_call_method lo_recipient 'CreateAddress' lt_container.    

    swc_object_to_persistent lo_recipient ls_persistent_recipient.

    .

    .

    .

    .

    .

  • create sender                                            

    swc_create_object lo_sender 'RECIPIENT' space.         

    swc_set_element lt_container 'AddressString' z_value.  

    swc_set_element lt_container 'TypeID' z_type.          

    swc_call_method lo_sender 'CreateAddress' lt_container.

    swc_object_to_persistent lo_sender ls_persistent_sender.

    .

    .

    .

    .

    .

    call function 'OPEN_FORM'                          

     exporting                                     

          form           = tnapr-fonam             

          language       = nast-spras              

          options        = itcpo                   

          archive_index  = toa_dara                

          archive_params = arc_params              

          device         = xdevice                 

          dialog         = ' '                     

          mail_sender    = ls_persistent_sender    

          mail_recipient = ls_persistent_recipient 

  •         mail_appl_object =

     exceptions                                    

          others         = 1.                      

 

 

The above code sends out a mail with a PDF attachment whose title is the form name. Instead of the form name, the requirement is to set the title to the document no.

 

How to change the title of the PDF attachement in the program?

 

Thanks,

Sita.

Payment Advice configuration and activation for different kinds of SAP Print forms

$
0
0

Introduction:

Automatic Payment Program (F110) is used to do the clear the invoices and post the payments.F110 is the standard t-code for doing the same.

 

In addition to the above there also forms sent to customers and vendors about the Payments done which are called Remittance Advices and Payment Advices based on the payment method configured

 

Forms:

 

  • There are three kinds of forms that can be used in SAP :
  • SAP scripts
  • SMARTFORMS
  • Adobe Forms

  For payment advices we can use all the three kinds of forms .In this document configuration and the calling logics for all the 3 kinds of forms.

SAP SCRIPTS:

 

  • This is the default configuration provided by SAP.
  • Standard script for the payment advices  : 'F110_IN_AVIS’
  • The same can be configured in the FBZP screen as shown below :

 

  1. Payment method in company code .This will be the default script name in case in case the configuration on the payment methods if the script name is not given.


2.png

1.png

  • Enter the script name in the below mentioned place.

 

3.png

 

  • Print program for each will be defined at the payment method level.

4.png

 

  • Two types of print programs can be defined 

               Use payment medium work bench :

5.png

 

  • In the below print program will always be a standard print program in case of PMW as it is hardcoded in the standard F110 Program .
  • In the standard SAPF110V program based on the xformi indicator.

 

  • In the T042Z table FORMI is the name of the Payment medium workbench.


6.png

7.png

  • Based on the above the print program will be called.

8.png

Use classic print programs :

                        9.png

SMARTFORMS:

  • There is no standard way of customizing smart forms in SAP for Payment advices.
  • So maintain the form names in one table based on the company code and the payment method. In the program call the form name and in the part of the code in the standard include call the form name and smart form name.
  • In case of the classic payment medium programs we can custom a Z Program.
  • In case of the Payment medium work bench always the program RFFOAVIS_FPAYM is called :

10.png

 

  • So create a Z program program and then use the same calling the smart forms.
  • Logic to call should be written at this place in the include :

11.png

 

  • Fill the variable hlp_pdfformular in the program by the same form name and then instead of the above FM call the smart form FM and then fill the OTF data to either send mail or to create spool.

Adobe Forms:

  • Adobe forms configuration can be done only in the Company code level not on the payment method level.
  • SAP has already provided standard Adobe forms for the Payment advice.
  • The same can be configured and can be used.
  • Below are the steps to be followed for the configuration.

12.png

 

Standard adobe forms for the  F110 would be F110_AVIS_INT

13.png

 

  • Below is the place where the Adobe form will be called and sent in either email or spool.

13.png

 

 

Any Inputs are highly appreciated.










Viewing all 1353 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>