Do you Know ?

SAP ECC Error on VMware || VMware Authorization Service is Not Running.


SAP ECC  6.0 shortcut not working ? SAP VMware power ON not working?!

If  you are running SAP ECC software on VMWare machine, you may encounter an error saying “vmware authorization service is not running” don’t get panic, thinking that SAP ECC got crashed :).

Here is the simple way to resolve this issue.

Solution :


  • Go to Run and type “services.msc”  and click OK.
           Then a services window will appear on screen.
  • Type ‘V’ letter from keyboard or scroll down till you find “VMware Authorization Service”.
  • Then right click and select “Start” to start the process.
  • If everything is fine then it should show status as “Started” (as shown in picture below). 

That’s it you are done J.

If you still facing issue then you need to Google harder to get things done.

Package Creation in SAP ABAP.

Creating a Package in SAP ABAP.

To create Go to TCode SE21.


Provide the Package name as shown in screen shot.

Provide the Application component ,let’s say MM ( Material Management).

And click on Create button.


Press ENTER.


Again Press ENTER.

Done !!

That’s all folks J.

Foreign Key creation in SAP ABAP.

Foreign key relationship in SAP ABAP.

How to define foreign key relationship in SAP ABAP
How to create foreign key in SAP ABAP?

Here it is !

Before we just kick start with foreign key creation, let me tell you the basics  you need to know about the foreign key relationship.

3 simple steps no big deal.

1)  In order to have a Foreign key relationship you need 2 tables.
2)     A common field in both the tables.
3)     Foreign key acting on one table is actually a primary key in another table

Okay, lets create the table with primary key in it.

Goto TCode SE11, and select  database table and keep program as let say ZEmployee_F
As per naming standard/conventions provide table name with starting letter ‘Z’.


And  select option “Create”.

Maintain short description : Demo on Foreign key
Delivery class : A.
Table view maintenance : Display maintenance allowed.

Then select fields tab, provide field name say EMPNO and check [X] the key, i.e nothing but 
You are telling it’s a primary key.

Provide data element ( if you don’t know how to create data element and domain jump to this post HERE ) ,hope you would have learned the data element and domain creation J,

Activate the domains and data elements.

Similarly create all the required fields.

Once you are done with this part, save the program, if you wish to save it in your local package then click on local object or simply provide “$tmp” and save it.

If you wish to save your program in custom package, then before saving you should know how to create a package , click here to know how to create a package.



You would have encountered with window saying “Application table should be client-sepecific” ,don’t worry it is not an error J , as you have not maintained mandt ( Client)
That’s why it is informing you same.

In SAP, if you go to any table (almost) every table will have mandt field as composite key (allows duplicate values).

Just ignore and click on right arrow or ENTER.

Now  select “Goto” option in the menu bar and select “Technical Settings” as shown below.


APPL0 -  Master data,transparent tables
Size category – 0 (zero)

Save!

Tip: In SAP Zero will have dot inside the circle,where as alphabet it won’t.

That’s it you are almost done J.

Activate the table, CTRL+F3 and ENTER.


Now you will see this window just click on “No” to ignore the warnings, this is because you are not saving the program in package.

Now you are done with Table creation.

Go ahead and provide the table entries.


Select “Create Entries” option to provide details.


Similarly, create required entries and click on save.


You are done with table 1 now lets create table 2.

Go to SE11 and create table with name let say “Zdept_f.”

Provide the basic things like short description , Delivery class as you are already would learned this while creating table 1.

First provide the deptno field and check the primary key box.

Note: Every table must and should have at least one primary key.

Keeping deptno primary key here in this case ,

Here comes the difficult part of this entire theme of foreign key , provide empno which is gonna be the foreign key in this table.



Note: provide the same data element which is provided in zemployee_f table.

Select the empno as shown in picture and then select foreign key symbol as shown in picture.


Now provide the table name and click on Generate proposal .

Press ENTER or click on “Copy” button.


It should show this message at the bottom of the SAP screen.

Settings:

APPL0 -  Master data,transparent tables
Size category – 0 (zero)

Save!

That’s it your almost done, activate the table now with CTRL+F3.

Select utilities è table contents è create entries.


Save !

Now provide the empno number which it doesn't exists in Zemployee_f table,


At bottom of the screen it shows this.


If you observe keenly ,when you are started entering the wrong empno which is not existing in the table1 ,it turns in RED color.


That’s all folks J.

SAP Login Process

Once the difficult part i.e installation is done, its calk walk to kick start the SAP system.

Open SAP Management Console => Console Root => ECC 6 (differs your version)
Right click on the ECC 6 and Start it will ask you password (password which has been set during installation) provide password then move onto ABAP WP Table try to refresh the screen with F5 status will down to wait to run.

Once it shows run staus,open SAP Logon screen ,under systems tab select ECC 6.0 and
Login with username and password.

That’s it J

Changing your SAP password:

Open SAP system and provide username and password and select “new password” option at top left.

Note: You can change your password only once a day.

SAP Logout Process:

  • Click on close option [X] on top right.
  • Provide Tcode : "/nex" to log off without prompting.
  • Tcode:  "/nend" , Logoff with prompt.

Table creation in SAP.

Unlike in Oracle,table creation in SAP is not possible with code, only with the screens you can create table in SAP.

With ABAP Dictionary, table creation can be done, to open.provide transaction number SE11 and then select “Database table” option.

Note: In SAP user defined/custom applications names should always start with letter
          ‘Y’ or ‘Z’.
         ‘Y’ generally used for test of application and not passed to development client.
Whereas ‘Z’ is preferred for custom applications and will be transferred for testing and finally into production.

If you trying to create any application with following naming conventions let say program name “Firstprogram.report” then it requires the access key to save the application.


Here I’m giving table name as “Zemployee” as show in picture.

Click on create button to start creating the table.


Provide short description and maintain
Delivery Class : A ( Application table (master and transaction data)
Keep Table View Maint. as Display/Maintenance Allowed

Next click on Fields tab , provide the fields required for the table.

In order to create the data element , provide the name and double-click on the data element then it will ask you ,Save before ..? click Yes to continue.
Then it will ask you the save the table , click on Local Object to save in $tmp.
Then it will ask you whether you want to create data element..? then click Yes/Ok.

Provide short description and give domain name, and also maintain field label
give medium length 20 and field label name : empno. Save.


Double click on zdomain to create ,it will ask you do you what…..? click yes.


Maintain short description say “demo” and provide datatype as “char” ( char supports both int values and character type) you can also give “int1” ,generally char is best option to go with.


Save!


Now important thing to carry on , you need to activate the domain in order to transfer .

You can activate by using command CTRL+F3 or by clicking the icon as shown here.

Once command is issued, it will display a window just click ENTER or Right arrow.

Now at the bottom of the screen you should see message “Objects Activated”.

If it doesn't see the message, it means something has gone wrong L.

 Once the objects got activated and come back to data element screen, you can do it by simply clicking the  or F3.

Now its turn to activate data element ,CTRL+F3 to activate.

Again F3 to move to fields area.


Similarly create other required fields of your wish ,make sure your table has got one primary key ,you can define it by checking the Key  option.

Now  select “Goto” option in the menu bar and select “Technical Settings” as shown below.
APPL0 -  Master data,transparent tables
Size category – 0 (zero)

Save!

Tip: In SAP zero will have dot inside the circle,where as alphabet it won’t.

That’s it you are almost done J.

Activate the table, CTRL+F3 and ENTER.


Now you will see this window just click on “No” to ignore the warnings, this is because you are not saving the program in package.

Now you are done with Table creation.

Go ahead and provide the table entries.


Select “Create Entries” option to provide details.

Similarly create required entries and click on save.

Then  goto “Utilities” => “Table Contents” and select “Display”.

Then click on “F8” to execute the table.


That’s it you are done J.

Privacy Policy

Privacy Policy for www.sapfirst.com 

If you require any more information or have any questions about our privacy policy, please feel free to contact us by email at sapfirstofficial@gmail.com

At www.sapfirst.com, the privacy of our visitors is of extreme importance to us. This privacy policy document outlines the types of personal information is received and collected by www.sapfirst.com and how it is used. 

Log Files
Like many other Web sites, www.sapfirst.com makes use of log files. The information inside the log files includes internet protocol ( IP ) addresses, type of browser, Internet Service Provider ( ISP ), date/time stamp, referring/exit pages, and number of clicks to analyze trends, administer the site, track user’s movement around the site, and gather demographic information. IP addresses, and other such information are not linked to any information that is personally identifiable. 

Cookies and Web Beacons 
www.sapfirst.com does use cookies to store information about visitors preferences, record user-specific information on which pages the user access or visit, customize Web page content based on visitors browser type or other information that the visitor sends via their browser. 

DoubleClick DART Cookie 
.:: Google, as a third party vendor, uses cookies to serve ads on www.sapfirst.com.
.:: Google's use of the DART cookie enables it to serve ads to users based on their visit to www.sapfirst.com and other sites on the Internet. 
.:: Users may opt out of the use of the DART cookie by visiting the Google ad and content network privacy policy at the following URL - http://www.google.com/privacy_ads.html 

Some of our advertising partners may use cookies and web beacons on our site. Our advertising partners include ....
Google Adsense


These third-party ad servers or ad networks use technology to the advertisements and links that appear on www.sapfirst.com send directly to your browsers. They automatically receive your IP address when this occurs. Other technologies ( such as cookies, JavaScript, or Web Beacons ) may also be used by the third-party ad networks to measure the effectiveness of their advertisements and / or to personalize the advertising content that you see. 

www.sapfirst.com has no access to or control over these cookies that are used by third-party advertisers. 

You should consult the respective privacy policies of these third-party ad servers for more detailed information on their practices as well as for instructions about how to opt-out of certain practices. www.sapfirst.com's privacy policy does not apply to, and we cannot control the activities of, such other advertisers or web sites. 

If you wish to disable cookies, you may do so through your individual browser options. More detailed information about cookie management with specific web browsers can be found at the browsers' respective websites. 

Contact Us


For suggestions/improvements/queries or any other related things do reach us on

SapFirstOfficial@Gmail.com .

We will try our super best to reply you as soon as possible.







Team,





About Us


SAPFirst.com is the one among the best site to kick start your SAP ABAP learning process , as we keep things very simple with screen shots that would really help the newbies to understand the concepts crystal clear.

We will try our super best to include as many concepts as possible on SAP ABAP, so that you can learn all
 the concepts in ABAP.


Note: SAPFirst .com is the unofficial site of SAP AG.