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

Page-Break with Sort-Criteria in SMARTFORMS

$
0
0

Hello,

 

A complex list contains hierarchic data, that is printed by using the Sort-Criteria in the TABLE Item.

The Problem, the page-break splits the Header form the Body.

The Header is printed on as last line on the page, the Body starts at the next page.

 

Example:

Delivery-Note 123456 (defined as Sort-Criteria)

     Pos: 001 Matnr: m321654 Materialtext                                 Quantity Weight   -->  (All data in one Table-line)

             EAN Nr: 323251411

             Order Nr : 25141 (optional)

             Customer Material (Optional)

 

There are several Options to set a page-protection

I'm testing:

- set the Body in a Folder  with Page-protection, that works, but for the Body only, the Headline was printed as single line an the end of the page.

  It is not possible to include a sort-criteria in a Folder

- Set Page-protection of Sort-Criteria - no reaction

- Set page-protection on linetype (of the Table Definition)  - works for the body-lines not for the Sort-Criteria.

 

Do anybody has an idea how to make sure, that the Headline (Sort-Criteria) is not printed as seperate line an the end of the page and seperated form the Body.

 

It's no solution not to use the sort-criteria, I have several lists with sometimes several hierarchie-items.

 

Thanks for your help.



How to find subforms that exist for a given form in SAPScripts?

$
0
0

This question is related to SAP Scripts. An existing output type is configured in SAP. A form and driver program are linked to it. But on debugging the form from se71, I see that another sub-form is called. I know that a custom table controls the sub-forms for each company code.How can I find the code that is driving this? Will this logic be in my driver program?. I tried but could not find this logic in the driver program. How can I debug the driver program quickly to find the code that is calling a different sub-form  based on the entries in the custom table.

Barcode printing - Argox

$
0
0

Hi Experts,

 

We are using Argox X-2000+ printer for printing lables with barcode. everything is working fine but got a requirement to print barcode in center of lable which is now printing right-justified.

 

i have a notepad file in which i tried to change but it is

working for other data but not barcode.

 

piece of code from notepad is

 

V9,40,L,"9TXT"

V10,40,L,"10TXT"

V11,40,L,"11TXT"

V12,10,C,"12TXT"

V13,40,L,"13TXT"

 

Thanks in Advance

Converting SAP Script to OTF

$
0
0

Hi,

 

I am following the below mentioned steps to create a PDF-Output file is to:

 

1. Creating a sapscript form

2. Close the form using the TABLES parameter to receive an OTF-table

3. Convert OTF to PDF using SX_OBJECT_CONVERT_OTF_PDF

4. Send the object using SO_DOCUMENT_SEND_API1

 

My problem is When the function 'CLOSE_FORM' occurs,

 

the OTF- table is empty, i do not know why it does not get filled though i can see a print preview of the script file, so i am unable to go to step 3 and 4.

 

Anyone who has come across this issue earlier, Can share their knowledge.

 

All inputs are Rewarded!!!

 

Cheers!

K

E-Mail Notification - NO entry in SOST

$
0
0

Hello SAP Gurus,

 

We have observed a strange issue here.

 

User is receiving e-mail from SAP system. These emails are being sent after a particular job is Run.

 

But we did not see the entry of his name in recipient list in SOST. (other users who receive such mails can be found in SOST recipient list). The system from where these e-mails are triggered is the same system where we are running the job. There is no hardcoding / Variant set for this user name.

 

We also checked if there is any forward rule set by some other user in outlook. But in that case "FROM NAME" should be that user's ID and which is not the case.

 

Any Inputs??

 

 

BR-

Mangesh Kelkar

Bypassing standard driver prog and executing own logic

$
0
0


Hi All,

 

I have a sap script which gets triggered from the standard FM - 'ME_PRINT_PO'. Now my requirement is to create a new smartform

 

which should get called instead of the sapscript for a specific output type.

 

 

Which means that I have to bypass the FM 'ME_PRINT_PO ' and call my smartform instead . To achieve this I have to

create an implicit enhancement where I would call my smartform.

But since the implementation for implicit enhancement can be created at the beginning or end only of the subroutine

"entry_neu " in FM06PE02, the script will always get called.

 

How can I avoid this.

 

Thanks,

Faiz

 

SYSTEM_POINTER_PENDING after upgrade to few machines on windows 8.1

$
0
0

Hi all,

 

I am trying to open the attached email file using GUI frontend services and calling FM :  BDS_OBJECT_DISPLAY_INTERN.

 

Here is a code:

 

          w_objkey = wa_mtratch_disp-matter.

 

           wa_signature-doc_count = 1.

           wa_signature-doc_id    = wa_loio-class.

           wa_signature-doc_id+10 = wa_loio-objid.

           APPEND wa_signature TO it_signature.

 

           call method CL_GUI_FRONTEND_SERVICES=>GET_TEMP_DIRECTORY

             changing    TEMP_DIR             = W_TMP_FOLDER

             exceptions  CNTL_ERROR           = 1

                         ERROR_NO_GUI         = 2

                         NOT_SUPPORTED_BY_GUI = 3

                         OTHERS               = 4

                   .

           if SY-SUBRC <> 0.

*           message ID SY-MSGID type SY-MSGTY number SY-MSGNO

*                  with SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

           else.

 

           endif.

*TO PASS THE LOGICAL SYSTEM AND SY-MANDT

*data: w_logical_sys type TBDLS-LOGSYS.

*

*    CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET'

*     IMPORTING

*       OWN_LOGICAL_SYSTEM                   = w_logical_sys

**     EXCEPTIONS

**       OWN_LOGICAL_SYSTEM_NOT_DEFINED       = 1

**       OTHERS                               = 2

*              .

*    IF SY-SUBRC <> 0.

** MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

**         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

*    ENDIF.

 

 

           CALL FUNCTION 'BDS_OBJECT_DISPLAY_INTERN'

             EXPORTING

*              logical_system = w_logical_sys

               classname      = w_classname "'/INTALEC/M' " changed by madhuri 20.11.2013 ff-1062

               classtype      = w_classtype "'BO' " changed by madhuri 20.11.2013 ff-1062

               client         = sy-mandt

               object_key     = w_objkey

             TABLES

               signature      = it_signature

             EXCEPTIONS

               error_kpro     = 1

               internal_error = 2

               OTHERS         = 3.

 

           IF sy-subrc <> 0.

             MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno

                     WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.

           ENDIF.

 

 

I have declared all the variables globally; still getting dump of system_pointer_pending:

 

 

Short Text                                                                                       
    Use of local result variables in a Control/Automation call.                                  

 

What happened?                                                                                   
    Error in the ABAP Application Program                                                        
   
    The current ABAP program "/zzz/CLIENT_AND_MAT_V2" had to be terminated                   
    because it has                                                                              
    come across a statement that unfortunately cannot be executed.                               

 

What can you do?                                                                                 
    Note down which actions and inputs caused the error.                                         
   
   
    To process the problem further, contact you SAP system                                       
    administrator.                                                                               
   
    Using Transaction ST22 for ABAP Dump Analysis, you can look                                  
    at and manage termination messages, and you can also                                         
    keep them for a long time.                                                                   

 

Error analysis                                                                                   
    The use of a local variable to receive a return value in a call to a                         
    control or automation server is not permitted.                                               
    For performance reasons calls to front-end components, such as controls,                     
    are collected in a queue and are only transferred to the front-end for                      
    processing at the so called flush. The processing of these calls to the                      
    front-end takes place asynchronously to the calls in the ABAP code.                          
    When local variables are used in calls to controls to receive return                         
    values (for example, the ID of the selected node of a tree) it is                            
    possible that the local variable will no longer exist at the time of the                     
    flush. This makes the transfer of the return value to the variable                          
    impossible.                                                                                  
    It must be assumed that without the return value the processing cannot                       
    be correctly carried out. As a precaution, further processing was                            
    interrupted.                                                                                 
    Check your application for local variables that should be used for the                       
    return values of control/automation calls.                                                   
    The variable used here points to the area "stack area" to the data object                    
    "\PROGRAM=/zzz/CLIENT_AND_MAT_V2\CLASS=LCL_APPLICATION\METHOD=HANDLE_CHECKB              
    OX_CHANGE\DATA=???".                                     

TEMPLATE IN SMARTFORMS

$
0
0

Hai,

    How to create Template in Smartforms....


Problem with adobe forms multiple pages

$
0
0

Hi

can someone help me how to get multiple pages in adobe forms in case the item lines exceeds the page capacity?

 

Thanks

Formatting Error in Smartform

$
0
0


Hi All,

 

I have a scenario where for every PO line item , I need to display multiple schedule lines, for which I have incorporated a loop

within a table in the main window (Screenshot attached).

 

When the schedule line item is 1, then the output is getting displayed, However in case of multiple schedule lines , the form

output is not getting generated and giving a formatting error instead.

 

How can I resolve this issue?

 

Regards,

Faiz

Customer Interest form - different INTIT_EXTF struc in DEV and PRO

$
0
0

Hello!

I created a copy of standard customer interst form F_INTITAR_SF which uses generated structure INTIT_EXTF. Everything worked fine until the form was transported to production where it reported syntax error.

It seems that INTIT_EXTF in production has one field less compared to the same struc in development. The field is KIDNO (Payment Reference).

This is a generated structure, so I suppose it should be re-generated in production in a special way to include this field. However, I don't know how.

Please help!

Kind regards,

Igor Barbaric

smartform not generating spool

$
0
0

Hi All,

 

My smartform is not generating spool. Do I explicitly need to write code to generate spool???

 

Thanks,

Faiz

Email to shipping point as delivery output

$
0
0

I have the following problem:

I have a delivery output that has to send email to the email address maintained in the address details of the shipping point.

I have setup the output type and the condition record for this output. As partner I was trying to use partner role 01 (shipping point) as the source for the email address. Medium is set to 5 (External send). In the communication method the communication strategy is filled as well.

When I try to issue output I get the following error message:

Enter an adress number. but I have entered the address number in the output condition record in the partner field.

 

This is my condition record: ZLF NL4P (key = deliverytype and shipping point) Partnerrole =  01 (shipping point); partner = address number from shipping point; medium = 5 ; time = 4; language = NL.

 

Can any one help me out what is missing?

Functionality to send emails from SAP

$
0
0

Hello Experts,

 

We have a requirement whereby we need to send outputs to customers in PDF format via email. We have done development for this but while testing we found that the mail is getting triggered only to particular domain names. For eg - Our client is ABC Inc. When we are sending mails to user@abc.com then it is getting triggered but suppose XYZ is a customer of ABC and we when we are triggering mails to user@xyz.com then it is not getting delivered. Could there be any system settings to allow only a particular set of mail id's? Really appreciate any help on this.

 

Thanks,

 

Karan

Wrong email address is coming in output

$
0
0

Dear Gurus,


The ZOR output is to be sent to the customer under the Sales Group persons email address.  However, customers are receiving the outputs from the order entry persons email address, this should not be happening. how to resolve this ??


Regards

Arunava


I've Import ZPDFUC but can't display Thai lang.

$
0
0

probthai_lang.jpg

 

I'm install True Type font angsan.ttf and mapping font on RSTXPDF2UC

 

fontmap.jpg

 

fontmap1.jpg

Purchase Order going to Dump if Output Message has Dispatch Time 4

$
0
0

Hi All,

 

We are getting a Runtime Error while saving or changing any Purhase Order, if the Output Message has Dispatch Time maintained as 4 i.e. Send Immediately.

 

For all other dispatch time there is no issue. We have maintained condition record for the Message Type with Print Medium as 1 and Dispatch Time as 4. Also, the printer is maintained in the communication tab.

 

No printer is maintained as default in the User Profile. No Printer is assigned to purchasing group. Our requirement is to print on the printer specified in the Condition Records itself.

 

We are using Smartform, not standard SAP script for printing.

 

Please suggest how we can rectify this issue.

 

Regards,

Ankit

SAP AFP file generation

$
0
0

Hi All,

 

We have a requirement to combine monthly invoice prints into a single AFP file separated by NOP records. Looking for a solution to achieve the following.

 

1.  Combine monthly invoice prints into a single  AFP file

2.  Insert NOP and PTX records into the AFP file

3. The NOP and PTX records fields need to be filled with data from invoices.  

 

PS: We were able to generate SAPGOF (OTF) format files from the spool


Any pointers to achieve these requirements will be appreciated.


Thanks

Sanu

Index page on Smart Form

$
0
0

Hi SDN,

 

Is it possible to have a dynamic index (headers/topics and page nunmber) on smart forms at the very beginning of the form?

 

Thanks.

Regards,

Maria João Rocha

Adobe Document Services - Printer Device Type

$
0
0

Hello Experts,

 

I have configured Adobe Document Services by following the guide as per the below OSS Note:

894009 - Adobe Document Services: Configuration

--

SAP NetWeaver 7.40:

-----------------

http://help.sap.com/saphelp_nw74/helpdata/en/69/b830ac608446f38e9b53093cea3e14/frameset.htm

----

 

When I set the LOCAL Printer - device type to ZSWINCF: Casc Fonts SAPWIN Unicode, the PDF test is not successful.

The error message says "Can not find PDL Type for ourput Device LOCL".

 

When I set the Device type to "PDF1"  then Adobe configuration test report works.

 

But in this case, all the Local printouts in producton does not work.

below is the error message:

"Device type PDF1 does not support page format Z_DINA5."

 

So can you please help me which is the correct Device type that I need to setup for LOCL Output Device?

 

As per the below SAP help documentation I am sure I can not use device type SAPWIN/SWIN. But which Device type to use?

Printing PDF-Based Forms - SAP Printing Guide (BC-CCM-PRN) - SAP Library

 

 

I will wait for your valuable replies.

 

Regards.

Eswaran

Viewing all 1353 articles
Browse latest View live


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