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

Smartforms: Option of Printing Specific Pages Only

$
0
0

Dear forum-ers,

 

I have a requirement to print several agent statements in smartform based on the logic from the print program. Each of the page for the single form have a unique statement. Under different scenarios, the form must print out different page combinations as stated below:

 

Scenario 1: Page 1, Page 3

Scenario 2: Page 1, Page 2, Page 3

Scenario 3: Page  3, Page 4

 

Can the above be achieved using one single form? There is no option found in smartform to print only selected pages based on certain conditions. Please advice.


Remove Decimal (.N) Not Work.

$
0
0

Hi Gurus / Expert.

 

I have search about this topic before, i was tried to remove the decimals in my smartforms, for example :

 

120,000 i want just 120. How to remove the ,000 please teach me. Many peoples said that i must use .N in my smartform.

 

For example &wa_ekpo-netwr(.0)& but in case it didn't work. Please help me, how to fix this problem, i need your help.

 

Reward available.

How to Make Quantity Field Centered

$
0
0

Hi Gurus / Experts,

 

I have a problem with my smartform. In my smartform, the quantity field can not be center. I have use smartstyles but it doesn't help, it just make chaos for quantity field. This is the picture.

 

I want it become centered and in 1 line, not like that. Please Gurus and Experts help me, Correct and Helpful will appreciate

Error with PO Header Text

$
0
0

Hi Gurus and Experts.

 

I need your help, i was succes to print out PO Header Text, and rightnow, when i am going to print a PO without header text, an error appear like this.

 

Include text 4700000028 does not exist (object EKKO, ID F01)

 

Details : 4700000028   = My PO Number (PO withouot header text)

             Object EKKO = that's and object to print Header Text PO.

             ID F01           = an id that use to print PO header text.

 

In summary, 3 items in top is the identity of Text include in my smartform.

 

Gurus, Experts. Please help me to print a document without po header text with my smartform condition rightnow. Please answer reward is available.

Remove Decimals in Smartform

$
0
0

Hi Gurus/ Experts.

 

I have a trouble with my Smartform, especially with my numbers field. For example i will use field NETWR.

 

in my smartform the decimal is like this 123.321.231,000 how to remove the 000 please help me gurus / experts, and how to remove ,000 in quan field ? reward is available.

How to Remove Currency and Quantity Decimal in Smartforms

$
0
0

Hi Gurus, and Experts.

 

Please help, i have a smartforms problems. The problem is, many decimals appear in my smartform, please tell me how to remove it ? I have try to use (.0) but it didn't work. Please tell me another way or explain me how to use (.0) this. Thanks before.

PO getting Printed in unorganised way when trying to print in tradditional chinese language

$
0
0

The issue is that when the user is trying to print the PO in traditional chinese language, the print is comming in an unorganized manner with the content scattered all over.

 

I also checked the device settings in the transaction SPAD and founf that Simplified Chinese is maintained here.

So I thought this might be the issue but it didn't worked even after maintaining traditional Chinese here.

 

Is there any other print related setting I need to check or is this issue related to the printer -May be the printer is not supporting this language.

Getting dump after upgrade for my Z program

$
0
0

Hi ,

 

At upgrade I changed a Z program ,instaead of ws_query putting  CALL METHOD CL_GUI_FRONTEND_SERVICES=>DIRECTORY_GET_CURRENTbut suddenly i am getting a dump.

please help ???

Below is the my code.

 

FORM GET_DIRECTORY.

  • get current directory

 

*Start of changes

  • CALL FUNCTION 'WS_QUERY'

  •       EXPORTING

    •           ENVIRONMENT    = ' '

    •            FILENAME       =

  •            QUERY          = 'CD'

    •           WINID          = ' '

  •       IMPORTING

  •            RETURN         = P_PATH

  •       EXCEPTIONS

  •            INV_QUERY      = 1

  •            NO_BATCH       = 2

  •            FRONTEND_ERROR = 3

  •            OTHERS         = 4.

 

DATA L_DIR TYPE STRING.

 

CALL METHOD CL_GUI_FRONTEND_SERVICES=>DIRECTORY_GET_CURRENT

  CHANGING

    CURRENT_DIRECTORY            = L_DIR

  EXCEPTIONS

    DIRECTORY_GET_CURRENT_FAILED = 1

    CNTL_ERROR                   = 2

    ERROR_NO_GUI                 = 3

    NOT_SUPPORTED_BY_GUI         = 4

    others                       = 5.

 

    P_PATH = L_DIR.

*End of changes

 

*check result

  IF SY-SUBRC NE 0.

    CLEAR SSCRFIELDS-UCOMM.

    MESSAGE E011(PC) WITH 'invalid name / directory not found'(006).

  ENDIF.

 

ENDFORM.                               " GET_DIRECTORY

 

Dump details:

Dump:Runtime Errors         SYSTEM_POINTER_PENDING

Short text:

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

 

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=ZIDXML4X\FORM=GET_DIRECTORY\DATA=L_DIR".

Information on where terminated:::::::::::

    Termination occurred in the ABAP program "ZIDXML4X" - in "GET_DIRECTORY".

    The main program was "ZIDXML4X ".


Mailing PDF Attachment with Password Protected

$
0
0

Hi All,

 

   I have requirement, where i need to send the mail Attachment with password protected. I am using Smartform in my Program to create PDF File.. could any one help me in making this attachments password protected.

 

Thanks

Shashikanth

PDF conversion (otf to pdf) - Problem with Polish character "ł"

$
0
0

Hi Experts,

 

I´ve got a problem with the PDF converion in SAP - otf to pdf. The converted PDF contains some words with a additional space caused of e.g. the character "ł". We use a custom font.

 

The following was the answer of SAP:

___________________ 

Transaktion SE73 – Printer Fonts --> select the used device type and set the cursor on the used font – press „Display Metrics“

 

.. nnn
C 108 ; WX 303 ; N l ; B 55 -12 273 740 ;
C 112 ; WX 544 ; N p ; B 63 -220 513 522 ;
C 116 ; WX 334 ; N t ; B 11 -12 318 667 ;

 

Add:

WX nnn ; N lslash ;

 

And don´t forget to add one to 'StartCharMetrics '.

___________________ 

 

Now my question is what should I write in the line of "lslash"? --> C...;WX...;...;B...;

What stands for C?

        -"-      for WX?

        -"-      for N?

        -"-      for B?

 

Thanks in advance.

 

Best regards

Marc

How to Print Digital Signature in Smart forms.

$
0
0

Hi Experts,

 

Any one please help me how to use digital signatures in SMARTFORMS.?

Which are the tables used to store digital signatures and please any one have any demo program which prints the the digital signature using smartforms kindly let me know.

 

 

Thanks,

 

Sunil kairam.

Different SMARTFORMS from FPR3

$
0
0

Hi all. I need to print 3 differents smartform depending on what kind of correspondence is generating from FPR3.

By now, I have copied the IS_U_CA_INSTPLAN_SF app. form wich is generated for an specific type of correspondence. But now I need that, since the same trx I can select a different smartform but not adding a new parameter to the IMG, but calling it from the exit on the app. form.

 

It's just a question because at last, I don't know if the deffinitive option is to create another app form and configure it on the IMG.

 

Thanks in advance.

Error with Reference Field EINE-WAERS

$
0
0

Hi Gurus / Experts.

 

I have trouble with reference field in smartform. I have a field WA_EINE-EFFPR, it must use reference field I_EINE-WAERS. In my mind, if we use a currency key, it will make the decimals disappear. But when i use this reference key, it become really weird.

 

Example :

 

The real price is = 125.000 IDR

 

When use the reference field it turns out into = 1,250,00

 

Do you all have any suggestion for me ? Please help me, i have search in this community but didn't found the answer.

How to Reduce Space Between Words in SAP Smartform.

$
0
0

Hi All,

 

This one is my first document, so i hope this one will useful.

 

Okay, let's begin.

 

So, do you have a problem with space in smartform ? I believe you will face it when you make a smartform.

 

But how to fix it ? There are 3 steps to fix it.

 

1. You must create a smartstyle with TCODE = smartstyles.

 

When you open it you must create a node in character, which contain font HELVE. Why we must use HELVE ? Because that font is not consume much space, believe me it will work.

 

2. In smartform, you must add (C) in your field

 

For example we have a field called &WA_EKPO-TXZ10&.

 

If you not use (C) it will consume large and much space, believe me, when you add (C) it will reduce more space. " Can you give me the example ? " Ofcourse I do,

 

&WA_EKPO-TXZ10(C)&.

 

Believe me it will work.

 

3. Mix it !

 

When you all use 2 steps above, when you print it,it will look clear, "Beautiful" and "Looks great".

 

Ok this is the end of my first document, i will add the picture tomorrow because tonight i am out of time.

 

 

 

Thankyou.

How to turn off MS word editor in Smartforms

$
0
0

HI

 

How to change from MS Word editor to standard in Smartforms in ECC.

 

I was in i18n but there aren't any checkbox to turn off but only to activete word editor.

 

Edited by: Kosmo on May 6, 2010 11:46 AM


print program needed????

$
0
0

hi experts,

              I need a print program for form QM_INSP_RESULT

pls send me the links and information abt Quality Management.

Error with PO Header Text

$
0
0

Hi Gurus and Experts.

 

I need your help, i was succes to print out PO Header Text, and rightnow, when i am going to print a PO without header text, an error appear like this.

 

Include text 4700000028 does not exist (object EKKO, ID F01)

 

Details : 4700000028   = My PO Number (PO withouot header text)

             Object EKKO = that's and object to print Header Text PO.

             ID F01           = an id that use to print PO header text.

 

In summary, 3 items in top is the identity of Text include in my smartform.

 

Gurus, Experts. Please help me to print a document without po header text with my smartform condition rightnow. Please answer reward is available.

Remove Decimal (.N) Not Work.

$
0
0

Hi Gurus / Expert.

 

I have search about this topic before, i was tried to remove the decimals in my smartforms, for example :

 

120,000 i want just 120. How to remove the ,000 please teach me. Many peoples said that i must use .N in my smartform.

 

For example &wa_ekpo-netwr(.0)& but in case it didn't work. Please help me, how to fix this problem, i need your help.

 

Reward available.

How can one search SmartForms for a particular text or string?

$
0
0

Hello fellow SAP developers,

 

Our client has a need to search for a particular string in all of our Smart Forms and SAPScripts.  For SAPScripts I was able to write a simple Z-Program using function module u201CREAD_FORMu201D to accomplish this.  However, for SmartForms I do not see such an option.

 

Could you kindly give me any advice on a similar function module I could use to search through Smart Forms for a particular string?

 

Thank you so very much,

Chris

Field for Description of PO Order Type

$
0
0

Hi Gurus / Experts.

 

I want to know, do PO have field for PO order type description ? Because when i used field EKKO-BSART, it just spawn the initial of the Order Type.

 

For the example, when my order type is reguler, it will spawn a NB  character. Please gurus help me to fix this problem.

 

Regards,

 

Aldy

Viewing all 1353 articles
Browse latest View live


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