Enter Transaction code FB50 in the SAP Command Field.
In the next screen , Enter the following header data
Enter the Following Line Item Data
After Enter the Line items ,
In the next detail line item screen, Enter the Profit Center
Press 'Save' button from SAP standard toolbar to post the document
Check the status bar for the Document number for the confirmation of posting