Posting of Transaction by Copying the Sample Document Number
Path: Accounting - Financial Accounting - General Ledger - Posting - General Posting (Transaction code is F-02)

Step 1) From the menu Select Document -> Post with reference

Step 2) Give the Document no, Company Code and Fiscal Year
Activate the Display line items checkbox
Step 3) Change the Document date and Posting Date
Enter
Ignore the Warning message

Step 4) Update the Salaries to 600000 from 500000
Text : Salaries for the month Feb
Enter

Step 5) Update Rent and Text
Enter

Step 6) Populate the following fields : Amount, Text and press enter
Select the save button

We get a popup window Document is posted in the company code
Path: Accounting - Financial Accounting - General Ledger - Posting - General Posting (Transaction code is F-02)
Step 1) From the menu Select Document -> Post with reference
Step 2) Give the Document no, Company Code and Fiscal Year
Activate the Display line items checkbox
Step 3) Change the Document date and Posting Date
Enter
Ignore the Warning message
Step 4) Update the Salaries to 600000 from 500000
Text : Salaries for the month Feb
Enter
Step 5) Update Rent and Text
Enter
Step 6) Populate the following fields : Amount, Text and press enter
Select the save button
We get a popup window Document is posted in the company code