Pages

Monday, November 23, 2009

Special Character deletion

Used this Function to remove the special character :

SF_SPECIALCHAR_DELETE

Sunday, November 22, 2009

Function for Spell Amount

CLEAR spell.
CALL FUNCTION 'SPELL_AMOUNT'
EXPORTING
language = sy-langu
amount = w_amt2
filler = space
IMPORTING
in_words = spell
EXCEPTIONS
not_found = 1
too_large = 2.

Selection Screen using parameter statement

selection-screen begin of block a1 with frame title text-001.
selection-screen begin of line.
selection-screen:
COMMENT 1(20) text-tst FOR FIELD p_date2,
POSITION 33.
parameters: p_date2 LIKE T549Q-begda.
selection-screen POSITION 39.
selection-screen:
COMMENT 52(3) text-and FOR FIELD p_date1,
POSITION 58.
parameters: p_date1 LIKE T549Q-begda.
selection-screen POSITION 64.
selection-screen end of line.
selection-screen end of block a1.

Saturday, November 21, 2009

Explicit Page Break: NEW-PAGE

SAPscript automatically inserts a page break when the main window of a page (MAIN) is full. You can use the NEW-PAGE command to force a page break in the text at any point you want one. The text following this command then appears on a new page. The page break is always performed (it is an unconditional page break).

The NEW-PAGE command completes the current page. This means that all the windows that are still on the page are printed immediately. If you use the NEW-PAGE command without parameters, the page defined in the current form as the next page will be taken next. If, however, your form contains a number of different pages, then you can specify any one of these as the next page to be used.

Syntax:


/: NEW-PAGE [page_name]

SAPscript Control Commands

Syntax of Control Commands

SAPscript control commands are entered and edited in the text editor in the same way as a normal line of text. They do, however, differ from normal lines of text:

* Enter the paragraph format /: in the format column to identify a control command.

* Enter the command itself in the text line. You will notice that all key words and other parts of the specification not given as literal values enclosed in inverted commas are automatically converted to capital letters.

* Make sure that a control command, together with any parameters it requires, does not occupy more than a single line.

* Enter only one control command in each line.

* Note that the editor formatting has no effect on lines containing control commands.

If a control command is unknown or it contains syntax errors, the line containing it is treated as a comment line. It is neither interpreted nor printed.

Wednesday, August 12, 2009

SAP Sales and Distribution Processing Document Flow

Document Flow in Sales

The sales documents you create are individual documents but they can also form part of a chain of inter-related documents. For example, you may record a customer’s telephone inquiry in the system. The customer next requests a quotation, which you then create by referring to the inquiry. The customer later places an order on the basis of the quotation and you create a sales order with reference to the quotation. You ship the goods and bill the customer. After delivery of the goods, the customer claims credit for some damaged goods and you create a free-of-charge delivery with reference to the sales order. The entire chain of documents – the inquiry, the quotation, the sales order, the delivery, the invoice, and the subsequent delivery free of charge – creates a document flow or history. The flow of data from one document into another reduces manual activity and makes problem resolution easier. Inquiry and quotation management in the Sales Information System help you to plan and control your sales.

Sales Document
VBAK Sales Document - Header Data
VBKD Sales Document - Business Data
VBUP Item Status
VBAP Sales Document - Item Data
VBPA Partners
VBFA Document Flow
VBEP Sales Document Schedule Line
VBAKUK Sales Document Header and Status Data
VBUK Header Status and Administrative Data
VBBE Sales Requirements: Individual Records

SD Delivery Documemt
LIPS Delivery Document item data
LIKP Delivery Document Header data

Billing Document
VBRK Billing:Header data
VBRP Billing:Item data

Tuesday, August 4, 2009

Need PayPal Cash, Friend?

Hi Friends,

If you have a PayPal account, can follow instructions, and know
how to use a mouse, this is for you.

I teamed up with Vince Tan and Melvin Ng to produce the "dream"
Internet marketing business opportunity.

You know... the type where you do almost nothing and make almost
everything :)

You can see the complete offer and sign-up here:

http://imrenegades.com/?aff_id=2753


You really have to do VERY LITTLE work, which is:

1) Enter your Paypal email address (that's easy, right?)
2) Enter your Aweber / GetResponse autoresponder address
3) Promote these sites on your website or to your list

You get not one, not two, but eight different turnkey websites:

1) "Cash In a Flash" - How to make fast cash online
2) "Millionaire Bloggers" - How A-list bloggers create millions
3) "Social Marketing 3.0" - The next generation of social media
4) "The IM Virus" - How to spread your business like a virus
5) "Copycat Marketing" - How to copy and steal from gurus
6) "Underground Traffic Secrets" - Stolen traffic manual
7) "Web 2.0 Vault" - The ultimate Web 2.0 toolkit
8) "WordPress Toolbox" - Massive collection of WordPress tools

All sales you make go directly to your PayPal account, and all
customer details are sent to your favorite autoresponder service.

It really doesn't get *any* easier than this..

I highly recommend you get your instant businesses right now:

http://imrenegades.com/?aff_id=2753


All the dirty work has been done by SOMEONE ELSE. Your job here is
just to use the websites, collect autopilot payments, and plan for
your next vacation. I highly recommend you take advantage of this
offer.

Friday, July 31, 2009

The Other Side Of ListBuilding

"Discover The 'Secret' List That Can Make You 10X MORE Money
with LESS Effort Than Any Of My Other Lists COMBINED!"


It's the list you won't hear about in ANY internet marketing course,
ebook, or forum. Only a select-few 6 to 7-figure earners know about it
and keep it "hush-hush". Read on to discover how I accidently stumbled
across this "secret" tactic 2 ½ years ago--which motivated me to delete
my 120,000-person list and start over from scratch!

READ MORE

Easy PDF Maker

For frustrated affiliate marketers wanting to break away from the other poor saps
desperately fighting to keep their heads above water and... Unlock the door to big fat commission
checks and say goodbye once and for all to the prison other people call a job.

"Introducing A Quick and Easy Way to Build Massive Profit Pulling Lists,
Get People To Click On Your Affiliate Links Instead of Somebody Else's
Or Instantly Have Piles of Money Deposited in Your Paypal Account "100% Guaranteed"


Click Here

7 Day Profits

Niche Badass Reveals His Simple Step-by-Step System That Bleeds ANY Niche Dry,
The More Competition the Better!... 100% Guaranteed

"If My All Thunbs Brother Can Get Results... Why Not You?"


Click HERE

WordPress Video Tutorials

Sick and tired of watching others make a killing from blogs?
Cheat Your Way to Blogging Riches, Even If You're An Absolute Newbie!
Click here for more detail : Click Here

Kickstart Your First WordPress Blog Now!

Tuesday, July 14, 2009

SAP Tips : Finding a transaction

Always and most times we forget the transaction code for a particular program. How do we find the transaction code quickly. Just remember one transaction SEARCH_SAP_MENU and the table TSTC.

SEARCH_SAP_MENU: This will allow you to search for any transaction if you provide any description to search for. try it out it’s very easy.
Table TSTC : Just go to SE16, give some description and hurray… you have found the transaction you are looking for.

Program name of SEARCH_SAP_MENU please refer the program SSM_SEME.

Monday, July 13, 2009

Type of Select Statement

---------------------------------------------------------------------------
1. SELECT SINGLE INTO VARIABLE :
---------------------------------------------------------------------------

SELECT SINGLE variaA
INTO tp_variaA FROM payslip
WHERE month EQ tp_month.

---------------------------------------------------------------------------
2. SELECT SINGLE INTO TABLE :
---------------------------------------------------------------------------

SELECT SINGLE * FROM t512t
WHERE sprsl = sy-langu
AND molga = cn_molga
AND lgart = p_lgart.

CLEAR mara.
SELECT SINGLE * from mara
WHERE matnr EQ vbdpl-matnr.

---------------------------------------------------------------------------
3. SELECT * INTO INTERNAL TABLE :
---------------------------------------------------------------------------

select * into corresponding fields of table ibkpf
from bkpf
where bukrs = p_bukrs "Company Code
and gjahr = p_gjahr "Fiscal Year
and monat = p_monat "Fiscal Month(Include YTD month)
and budat = p_budat
and ( blart ne 'KZ'
and blart ne 'KW'
and blart ne 'DZ' ).

------------------------------------------------------------------------
4. SELECT SINGLE INTO MORE VARIABLE :
------------------------------------------------------------------------

select single bldat xblnr xref3
into (g_bldat, g_xblnr, g_xref3)
from bsak
where bukrs = in_bsak-bukrs "Company Code
and gjahr = in_bsak-gjahr "Fiscal Year
and augdt = in_bsak-budat
and augbl = in_bsak-belnr
and blart ne 'KP'.

Hide and unhide Selection Screen

How to hide and unhide Selection screen based on radio button you choose?

This is selection based on radio button, based on this selection you want to hide whatever selection screen are not related... so you have to do one perform to unhide this screen...

SELECTION-SCREEN BEGIN OF BLOCK block2 WITH FRAME TITLE text-002.
* Header
PARAMETERS: rb1 RADIOBUTTON GROUP rb1 USER-COMMAND sel DEFAULT 'X'.
PARAMETERS: rb2 RADIOBUTTON GROUP rb1.
SELECTION-SCREEN END OF BLOCK block2.

*detail - here you have to group it e.g likes rb1 & rb2

SELECTION-SCREEN: BEGIN OF BLOCK rb1c WITH FRAME TITLE text-t01.
SELECT-OPTIONS: s_innum FOR vbrk-vbeln MODIF ID rb1,
s_innam FOR vbrk-ernam MODIF ID rb1,
s_indat FOR vbrk-erdat MODIF ID rb1.
SELECTION-SCREEN: END OF BLOCK rb1c.

SELECTION-SCREEN BEGIN OF BLOCK block4 WITH FRAME TITLE text-013.
SELECT-OPTIONS s_aufnr4 FOR vbak-aufnr MODIF ID rb2. "MATCHCODE OBJECT vmva.
SELECT-OPTIONS s_erdat4 FOR vbak-erdat MODIF ID rb2.
SELECT-OPTIONS s_ernam4 FOR vbak-ernam MODIF ID rb2.
SELECTION-SCREEN END OF BLOCK block4.

*----------------------------------------------------------------------------*
* AT SELECTION-SCREEN OUTPUT *
*----------------------------------------------------------------------------*

AT SELECTION-SCREEN OUTPUT.

IF rb1 = 'X'.
PERFORM hide_rb1.
ELSEIF rb2 = 'X'.
PERFORM hide_rb2.
ENDIF.

FORM hide_rb .

LOOP AT SCREEN.
CASE screen-group1.
WHEN 'RB1'.
screen-active = 1.
MODIFY SCREEN.
WHEN 'RB2'.
screen-active = 0.
MODIFY SCREEN.
ENDCASE.
ENDLOOP.

ENDFORM.
FORM hide_rb2 .

LOOP AT SCREEN.
CASE screen-group1.
WHEN 'RB1'.
screen-active = 0.
MODIFY SCREEN.
WHEN 'RB2'.
screen-active = 1.
MODIFY SCREEN.
ENDCASE.
ENDLOOP.

ENDFORM. " HIDE_RB2


You have to modify screen based on selection screen and your declaration on your group...

Monday, June 22, 2009

Step by step learning ABAP...

ABAP stands for Advanced Business Applicatian Programming. The ABAP programming language was originally used by SAP developers to develop the SAP R/3 platform. It was also intended to be used by SAP customers to enhance SAP applications customers can develop custom reports and interfaces with ABAP programming. The language is fairly easy to learn for programmers but it is not a tool for direct use by non-programmers. Good programming skills, including knowledge of relational database design and preferably also of object-oriented concepts, are required to create ABAP programs.


If you are new to ABAP, there are 2 point you should learn first, in following order:
1. Explore Data Dictionary
Data dictionary is a workplace for defining table, define data type, display table content.
Go to transaction code SE11 (SAP Menu->Tools->ABAP Workbench->Development->Data Dictionary).
Then enjoy exploring data dictionary.
2. Create ABAP Report
Go to transaction code SE38 (SAP Menu->Tools->ABAP Workbench->Development->ABAP Editor), and try to write your first program.

*source:http://abap-gallery.blogspot.com

Monday, May 11, 2009

Shopping Online, Need guide or not?

World already changed. You believe? Believe it or not.... World today already entered an new era where trend shopping like traditional already replaced with online shopping. Why this happened? because online shopping very easy, save and does not burden. Now, many people believe on online shopping. Online shopping now secured. So many website that offered their things and sell as online like books, watch, jewelry, shirt, map and others. You can find whatever you need and buy anything that you want in net. So easy!

Before you buy anything in the net, you have or want something that can guide you about the thing that you want to buy.I have found one site that offered that.Clicked here... Maybe you all can go there because at the same time its offered you many item that you can buy and give someone as a gift. so nice!

Its so interesting when you can buy anything that give freedom to you. But please Refer that the site i recommend to you all. Its can help you to do online shopping for more easier and secured. you can find what to do and what is NOT to do when do online shopping. So... for you all...have a nice day.

Wednesday, March 4, 2009

How to transport layout ALV?

1. Click on Manage Layout
2. Select the layouts to be transported
3. Select Transport option from the Layout menu.

Thursday, January 15, 2009

Conver Char To Curr

DATA : Text_Exam(255) TYPE C,
Text_Out(255) TYPE C,
Curr_Value TYPE P DECIMALS 2.

Text_Exam = ' 150.000'.
Text_Out = Text_Exam.
DO 5 TIMES.
REPLACE '.' WITH ' ' INTO Text_Out.
ENDDO.
CONDENSE Text_Out NO-GAPS.
MOVE Text_Out TO Curr_Value.
WRITE : / Text_Out.
WRITE : / Curr_Value CURRENCY 'USD'.

How to find USER EXIT?

1.Goto--->System--->Status.
2.Double click on Program(Screen) name.
3.And again goto that program attributes Goto---->Attributes.
4.Copy the Package, goto Tcode : SMOD.
5.Press F4 option and give the Package and press Enter.

You will get the exits available.