Sitemap

Amicuk Programming Answers

If statement is too long in sap scripts.

2015-10-11   Views:2

Advertisement

Hi all, My requirement is to check vendor and  print accordingly, but  i am unable to write complete statement in single line. i used page left and right option even though it is not fitting in that line. please help. Regards, Ramprasad <<Moved by m

Hi all,
My requirement is to check vendor and  print accordingly, but  i am unable to write complete statement in single line. i used page left and right option even though it is not fitting in that line.
please help.
Regards,
Ramprasad
<<Moved by moderator to correct forum>>
Edited by: Matt on Nov 6, 2008 11:48 AM

The replay answer
Advertisement
you can create  one loacl varivale and assing your vendor varible to this local varible and check...
Ex : /:  lv_lifnr to lifnr.
   lv_lifnr =  your long variable..
if not lv_varible is initial.
condition
else.
condition
endif.

Go to See the other 4 answers

If Statement in SAP Scripts

Category:DefaultRelease time:2015-10-11Views:130

Hi All, I have written the below If statement in  SAP scripts but when i execute the same the controll doent check the second line entries. If firtst line doesnot satisfy it goes to the else part. Kindly suggest what is wrong in this.. /:           I[More]

How to print last page in sap script in ladscape format?

Category:DefaultRelease time:2015-10-11Views:130

Hi all, can any 1 tell me How to print last page in sap script in ladscape format? Thanks In advance. PravinHi Pravin Sherkar, we can do this in SAP Scripts. we need to create two pages, one of landscape and another of potrait. now after filling the[More]

How to print the text in points wise in sap script

Category:DefaultRelease time:2015-10-11Views:130

hi friends, how to print the text in points wise in sap script. ex: if suppose paragraph consists of 15 lines. then according to one sentence or one fullstop (.) it should give point 1. like that... 1. hai how ru. 2. what r  u doing. 3.where r u. lik[More]

How to print Special Characters in Sap-Scripts

Category:DefaultRelease time:2015-10-11Views:130

How to print Special Characters in Sap-Scripts Thanks, RaviHi if u want print special characters we can use hot codes i.e '  '  (single inverted commas). in between these hot codes insert u r special characters. write    '    [email protected]#$%^&*( )  '. for the[More]

In SAP Script how to hard code my Company address in footer window

Category:DefaultRelease time:2015-10-11Views:130

Hi All , In SAP Script how to hard code my Company address in footer window . Ex : in YB_F140_ACC_STAT this script i want to keep my company address, i want to hard coad , i dont want to use any field from table. Please give me step by step. Thanks S[More]

What is the diff b/w Sap Scripts and Smart Forms

Category:DefaultRelease time:2015-10-11Views:130

Hi,       Whats the diff b/w SAP Scripts and Smart Forms..          I need the internal explanation for both Smart Forms and SAP Scripts mean when we execute what happens whether Print Program r Forms starts execution 1st  and SIMILARLY FOR SMARTFORM[More]

SAP SCRIPT code problem

Category:DefaultRelease time:2015-10-11Views:130

521 - Heading for trans. w/out sp.G/L indicators (item sorting method 2)- Transactions without special G/L indicators 522 - Heading for trans. with sp.G/L indicators (item sorting method 2)- &T074T-LTEXT& 523 - Heading for open item list of line i[More]

Use of IF statement in SAP Scripts

Category:DefaultRelease time:2015-10-11Views:130

Can u tell me how to use IF statement in SAP Scripts. The problem is if &sy-tabix& eq '1' total else total1. endif. this sy-tabix is not workingi think sy-tabix will not work here.... do like this.. data : vtabix type i. loop at itab. vtabix = sy-[More]

Internal table in sap script

Category:DefaultRelease time:2015-10-11Views:130

Hello All , I  have got a internal table with tracking numbers and I want to print all the numbers in that internal table on sap script. Please advise. Thanks Moderator message:  please search for available information before asking. locked by: Thoma[More]

In sap scripts how to display the driver program

Category:DefaultRelease time:2015-10-11Views:130

Hi,     I Want to know the sap scripts How to display the output to driver programHi, Go to NACE Transaction. Select application for ex: if sales V1. Click on output types. Select the output type for ex : BA00 Double click on Processing routines. The[More]

In SAP Scripts How to write the fields 90  Degrees to regular format

Category:DefaultRelease time:2015-10-11Views:130

Hi , I am working with SAP Scripts . Sometimes you may want to print text vertically. I have got a requiremnt in which there we have to write some data which is to be written 90 degres to regular output. please let me know if there is any printer set[More]

Hot
Hi, Here is my dilemma. I have values inserted to a pl sql table which I have gathered from a web page. Now I need to add these same values to a database table. I see the values as 1-'AA', 2='BB' etc. I use the following code to insert to a outside t [More]
I found a lot of themes that I would like to use but they look dumb when I put them on because the toolbar isn't big enough. I would just like to know if there is any way to fix this.You can use the Classic Theme Restorer extension to have one extra [More]
I always come to these forums for answers and I've always found them, so I thank you in advance for everything you do. Unfortunately, I can't find an answer for this one... My Macbook Pro 13" (early 2008?, maybe mid-2008?) had a weird thing happen th [More]
I noticed others are having the same issue. However, none of their plug-in issues seem to apply to me. I'm guessing it may be an extension? I'm really not a fan of firefox or chrome, but it's getting to the point where I am thinking of switching over [More]
Hello I have the following line of code:    SELECT-OPTIONS: p_matnr FOR mara-matnr. The users would like to use the multiple selection button to paste/upload from the clip board but unable until at least one entry is entered before the multiple selec [More]
Hi All, I am using Database version 10.2. I would like to schedule a SQLPLUS script job using Database control (Not using Grid Control!). The following is the script. ======================================================== define OEM_FRIENDLY=1 defi [More]
I have a MacBook Pro, I want to copy Itunes files to an SD card to play in my car, the SD Card doesn't appear in Itunes when I insert it, and I don't know how to convert the files to the correct format, can anyone help? Thank youSo it seems from read [More]
I have my original software CD and serial number but understand that I need to use the downloaded program because Adobe no longer supports the activation code required for installing from the disc.  I was under the impression that I was to use the or [More]
hello i am having major trouble installing itunes. i had itunes working fine and i went to update it as it told me there was an update which i thought i did. i went on my laptop the next day and it said "itunes was not installed correctly error 7 win [More]
Hi everyone! In 2007 i bought a laptop a HP Pavilion dv8315nr with the hope that the stickers in his keyboard saying "Vista Compatible" was true and the promise of that the AMD Turion processor can handle a 64bit OS. Today i realize that was not [More]