Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Doubt In Macros Any one Plz..?

Former Member
0 Kudos

hai

friends , experts, professionals,

first of all thankx fro giving a eye on my article...

i have a small doubt in macros..

which one is correct of both ..below..

rp_provide_from_last p0002 space pn-begda pn-endda.

rp-provide-from-last p0002 space pn-begda pn-endda.

both of them are working fine...

but underscore or hiffen which one is exact..? any one plz..

every guess is rewarded..

regards

satish

Edited by: satish v on Dec 27, 2007 10:42 AM

6 REPLIES 6

Former Member
0 Kudos

There is no difference because rp_provide_from_last or rp-provide-from-last are considered as name of the macro and treated as string.

Awrd Points if useful

Bhupal

amit_khare
Active Contributor
0 Kudos

Both are correct.

The only difference there is related to UNICODE CHECK.

Hyphen are obsolete now so they will give warning in Unicode check. Remember warning and not Error.

So you can continue with them.

Regards,

Amit

Reward all helpful replies.

0 Kudos

i dint feeling satisfaction..so i understoof ghifen is become obsolete so use underscreo..so what i am saying is in all macros..?all underscroe's are preferrable.........?

plz reply my query.

if we all are hr modules..

please we reach at abapsati@gmail.com

regards

satish.v

0 Kudos

yes, either put all hyphen or put all underscores but dont use in combinations.

abdulazeez12
Active Contributor
0 Kudos

Both r correct. You can use either underscores or hiphens there.

Former Member
0 Kudos

Hi,

RP-PROVIDE-FROM-LAST is more suitable.

By deafault it in sap RP-PROVIDE-FROM-LAST will have.

Refer TRMAC data base table.

Regards,

Rama chary.Pammi