How SAP posts transactions
Hi,
I need to understand how SAP posts transactions (posting logic) that ultimately end up in the trial balance (FMUSFGA table). I figure developers will probably know this.
I need to know the fields (and tables) that together govern how SAP posts transactions. If there are transactions that are used to configure automatic posting processes to the G/L in SAP, I need to know the transaction codes. If there is a process document that describes this in detail, could someone send it to me? << Personal information removed >>.
Thanks,
Kevin
Moderator message - Cross post locked
Edited by: Rob Burbank on Dec 2, 2009 9:44 AM
An update function module has been called for posting the document, it is POST_DOCUMENT
Mode of the update is synchronous
program name : SAPMF05A
Include name : MF05AFF0_FCODE_BEARBEITUNG
if you analyze the source code in the Function Module POST_DOCUMENT, append statements are being used for updating the database.
Edited by: jeevitha krishnaraj on Mar 23, 2010 12:24 PM
Similar Messages
-
How to post an Idoc (INVOICE02) for non-po Invoice (MIRO transaction)
Hi,
I want to Post an Idoc for non-po vendor Invoice through MIRO transaction. I want to use INVOICE02 basic type. In the line item we need to enter G/L account , Cost center and line item amount. But I am not able to enter the same in the INVOICE02 Idoc. It will be nice if you please let me know how to post non-po Idoc through MIRO transaction.
Thanks
Rama
Edited by: Rama Sengupta on Nov 25, 2009 3:57 PMHi Raja,
Check this out.
Inbound IDocs are triggered by either external systems (edi, wms etc) or can be triggered by inhouse applications in SAP to post a application document.
1. EDI_DATA_INCOMING can create a IDoc from a file on the OS layer. It just needs a IDoc flat file containing control and data records, it will create an Idoc from it if the control record successfully matches a inbound partner profile parameters.
2. IDOC_INBOUND_ASYNCHRONOUS can be triggered by external/internal programs to creae IDoc withing SAP, whereas IDOC_INBOUND_SYNCHRONOUS can be used by inhouse SAP programs to create inbound Idoc.
3. WE19 can create and post an existing inbound Idoc to application
Hope this resolves your query.
Reward all the helpful answers.
Regards -
How to post credit memo for a customer usin F-27 transaction using IDOC .
Can somebdy please advise as to how to post credit memo for a customer using F-27 transaction using IDOC ?
Thanks in anticipation ,
Ambar patil .Hi,
https://websmp207.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700001305932005E
https://websmp201.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700000051812008E
Thanks,
Mansoor -
FEBA - How to post two or more transactions at the same time?
Hi,
one of our banks sends the statemets with many lines that belongs to the same transaction. We have to post partially one line, and afterwards the other line. Any of you know how to post two lines at the same time from the bank statement?
Thank you in advance,
MiguelHi,
I'm sorry for replying so late.
The solution I reached was to change the a few things in the standard.
Now I have a new "context menu item". I select two or more transactions and I right-click the mouse. I select that "context menu item" and the next part of the code adds the total amount of the transactions to look for the correct post for the first transaction. Once posted automatically, the next transaction is posted automatically by the system.
I hope you understand my English. I've problem with technical FI terms.
Here you are the code:
First I added a new contextual menu item:
CL_FEBAN_ALV_GRID=============CCIMP
call method e_object->add_function
EXPORTING
fcode = 'BS_POST_ITEMS'
text = text-002.
*{ INSERT DHTK904078 1
*--> Miguel Estu00E9vez - 16/06/2008
* RIPI 24/04/2008 - Conciliaciones
* Permitir conciliar mu00E1s de un apunte a la vez
call method e_object->add_function
EXPORTING
fcode = 'ZBS_POST_ITEMS'
text = text-Z02.
*<-- Miguel Estu00E9vez - 16/06/2008
*} INSERT
call method e_object->add_function
EXPORTING
fcode = 'BS_KILL_ADVICE'
text = text-004.
CL_FEBAN_ALV_GRID=============CCIMP
when 'BS_POST_ITEMS'.
call method cl_feban_propagator=>raise_event
EXPORTING
i_event = 'POST_ITEMS'
i_ref_to_item = l_ref_to_item.
*{ INSERT DHTK904078 2
*--> Miguel Estu00E9vez - 16/06/2008
* RIPI 24/04/2008 - Conciliaciones
* Permitir conciliar mu00E1s de un apunte a la vez
when 'ZBS_POST_ITEMS'.
call method cl_feban_propagator=>raise_event
EXPORTING
i_event = 'ZPOST_ITEMS'
i_ref_to_item = l_ref_to_item.
*<-- Miguel Estu00E9vez - 16/06/2008
*} INSERT
when 'BS_LOCK_ITEMS'.
call method cl_feban_propagator=>raise_event
EXPORTING
i_event = 'LOCK_ITEMS'
i_ref_to_item = l_ref_to_item.
CL_FEBAN_PROPAGATOR===========CM001
when 'POST_ITEMS'.
raise event post_items
exporting i_ref_to_item = i_ref_to_item.
*{ INSERT DHTK904078 1
*--> Miguel Estu00E9vez - 16/06/2008
* RIPI 24/04/2008 - Conciliaciones
* Permitir conciliar mu00E1s de un apunte a la vez
when 'ZPOST_ITEMS'.
data: zvalor(1) value '' .
export zvalor from 'X' to memory ID 'ZFEBA01'.
raise event post_items
exporting i_ref_to_item = i_ref_to_item.
*<-- Miguel Estu00E9vez - 16/06/2008
*} INSERT
when 'LOCK_ITEMS'.
raise event lock_items
exporting i_ref_to_item = i_ref_to_item.
Now, I proceed to calculate the total amount of the selected transactions to look for the correct one to post.
LNEW_FEBAF01
* user parameter
l_feban_position type c.
field-symbols: <items> type item_tab_type.
*{ INSERT DHTK904077 1
*--> Miguel Estu00E9vez - 16/06/2008
* RIPI 24/04/2008 - Conciliaciones
* Permitir conciliar mu00E1s de un apunte a la vez
data: zvalor(1) value '',
zkwbtr type kwbtr,
kwb type kwbtr.
import zvalor to zvalor from memory ID 'ZFEBA01'.
if ( zvalor is not initial ).
if not i_ref_to_item is initial.
assign i_ref_to_item->* to <items>.
loop at <items> into h_item.
select single kwbtr
into kwb
from febep
where kukey = h_item-kukey and
esnum = h_item-esnum.
zkwbtr = zkwbtr + kwb.
endloop.
endif.
export zkwbtr from zkwbtr to memory ID 'ZKWBTR'.
endif.
*<-- Miguel Estu00E9vez - 16/06/2008
*} INSERT
refresh g_picked_items.
if not i_ref_to_item is initial.
assign i_ref_to_item->* to <items>.
loop at <items> into h_item.
move-corresponding h_item to h_picked_items.
append h_picked_items to g_picked_items.
endloop.
endif.
submit rfebbu00 and return
user sy-uname
with anwnd = r_doc->*-anwnd
with s_kukey in s_kukey
with s_esnum in s_esnum
with buber = g_posting_area
with mregel = '1'
with function = 'C'
with mode = g_mode
with p_bupro = g_bupro.
*{ INSERT DHTK904077 2
*--> Miguel Estu00E9vez - 17/06/2008
* RIPI 24/04/2008 - Conciliaciones
* Permitir conciliar mu00E1s de un apunte a la vez
if ( zkwbtr is not initial ).
select single kwbtr
into kwb
from febep
where kukey = h_kukey-low and
esnum = h_esnum-low.
zkwbtr = zkwbtr - kwb.
export zkwbtr from zkwbtr to memory ID 'ZKWBTR'.
endif.
*<-- Miguel Estu00E9vez - 17/06/2008
*} INSERT
refresh s_kukey.
refresh s_esnum.
clear h_kukey.
clear h_esnum.
endloop. "loop over all picked items
call function 'CUSTOMIZED_MESSAGE'
EXPORTING
i_arbgb = 'NEW_FEBA'
i_dtype = '-'
i_msgnr = '110'.
RFEBBU00
* original transaction currency provided and posting area = 2.
ftclear-selvon = febep-fwbtr. "INSERT - mpEURO
ENDIF. "INSERT - mpEURO
CONDENSE ftclear-selvon NO-GAPS.
*{ INSERT DHTK903977 1
*--> Miguel Estu00E9vez - 16/06/2008
* RIPI 24/04/2008 - Conciliaciones
* Permitir conciliar mu00E1s de un apunte a la vez
data: zkwbtr type kwbtr.
import zkwbtr to zkwbtr from memory ID 'ZKWBTR'.
if ( zkwbtr is not initial ).
ftclear-selvon = zkwbtr.
clear zkwbtr.
endif.
*<-- Miguel Estu00E9vez - 16/06/2008
*} INSERT
APPEND ftclear.
** Begin of comment C5053248
* perform druck_buzei_ftclear using ftclear-agkon. -
How to add help splitter in a screen ? (as Sap Enjoy transactions)
Hello,
I would like to create some screens like sap enjoy transactions (me53n, me21n, me22n ...) with the button "i" and the help in the left splitter.
I don't want to change standard help but I want to use the same idea for our specifics transactions.
The mains questions I have are where this help is store and how to manage it ?
So can you explain me the steps I need to follow to do this ?
Thanks in advance for your help.
SimonNot sure if I get you correctly, but I think you need a button to be placed in custom container. Is that right?
For this SAP introduced [Dynamic Documents|http://help.sap.com/saphelp_nw70/helpdata/EN/10/246858055711d4a7410000e83dd863/frameset.htm] which could be embeded into container. They are easy to use and gives nice look and feel.
For adding the buttons please refer standard program DD_ADD_FORM_BUTTON . Also you can see other possibilites it provides (links, forms, pictures etc) . All programs DD* present that.
Regards
Marcin -
How to set up a link between sap fica transaction and cic front office
Hi Guys,
How to configure between SAP FICA transaction (FPR1 for create installation plan) to CIC front office.
I did some changes in FPR1 transaction, same changes which are not reflecting on CIC screen, when i log on to CIC0 and select the create install plan, It is automatically go to FPR1 but it is not showing with that changes.
I checked all the way but it is missing the link some where. plz drop any ideas on this.
Thanks
Venkat.Hi Matt, create a column of type "enhanced rich text." Then in your datasheet view, double click on the field in that column and use your "insert" tab to upload a file. You'll then see the file in this cell and you can open it straight
from the datasheet view.
cameron rautmann -
How to post stock and what transaction codes
Hi gurus
If I created new material how can I post stock in to the material to process.
Ex:MMBE for stock checking.
But what is the t -code to enter some stock at materila.
also how what other transaction I can for stock posting at various scenarios.(I mean what other transaction codes for different things)
Thanks
KrisHi
Enter T.Code: MIGO
Select : Other
Movement Type : 561
In the item Details Entyer the material . enter the quantity. Plant and Storage Location.
Save it. CHekc the Stock In MMBE for that material.
Thanks & Regards
Ram -
How to create an IDOC as an output type for an SAP standard transaction
Hi ,
How to create an outbound IDOC as an output type for an SAP standard transaction.
Regards,
BeenaIn NACE tcode u can create output type with medium as EDI,
u can assign the entry sub routine as ENTRY_EDI in RNASTED -
How to post inbound idoc in sap system?
Dear All,
How to post inbound Idoc in sap system?
Regards,
Amar
Edited by: amar kumar on Nov 23, 2009 2:53 PMHi Amar,
Use the FM IDOC_WRITE_AND_START_INBOUND to post an inbound IDoc. Just build the EDIDD and *EDIDC8 tables and enter a profile for a inbound message type from a partner. It returns a IDoc number. Don't forget to do commit work.
Regards
Abhii -
How to post a reduction of Investment support creted by ABIF?
Hi All,
in 2010 for an asset Iu2019ve posted an Investment support, by t.code ABIF.
In 2011 a part of that Investment support has been revoked.
Could anyone tell me how to post this reduction? Which t.code? Which transaction type?
My investment support measure is u201CZIu201D. For this measure, SAP has created the tree follows transactions type:
- IZI
- JZI
- KZI
My SAP release is 6.0
Thanks for your help.
G.Hi : )
I know this thread is quite old, but I recently had the same problem and was able to change an automatically created transaction Type eg. I, J and K using transaction AO73_INV.
This allowed me to copy transaction type K and I was able to conigure my own transaction type for investment support which now allows posting of investment support refund without the retirement of the asset and reduces the amorisation as expected.
Hope this helps : )
Tanja -
Foreign Currency Translation at Year End - How SAP Works for P&L items?
Hi All,
I wanted to know "How SAP works on Foreign Currency Translation at year end" from Local Currency to Group Currency for P&L Items.
I know how SAP works for Balance sheet items but am really confused with when the translation was done for P&L Items.
Configuration:
We are on ECC 6.0 . Local Currency is CAD and we have 2nd Local Currency as "USD - Group Curr".
We have set up Valuation Method - 4
We have set up Valuation Area - 40
For Account Determination for Currency Translation, GL accounts (Loss, Gain and B/S Adj) were setup for the combination of Chart of Accounts, Val Area and Fin Stmt Ver.
Sales Account Balance
CAD (LC) USD (2nd LC)
1000 920
Using tcode "FAGL_FC_TRANS", we translated our P&L items.
Local Currency is CAD and Group Currency is USD.
CAD 1000 and USD 920 are cumulative balances over a period of time.
Since at the end of year CAD became stronger, exchange rate is 1.11 as an example
Sales Account Balance
CAD (LC) USD (2nd LC) Translated Value in USD
1000 920 900
System passed the following entry in USD:
Debit Balance Sheet Adj A/c 20
Credit Translation Gain / Loss A/c 20
Here are the questions:
1. How does over all translation work? - Should we get any Gain / Loss and have an effect on P&L when all accounts (P&L, B/S) are translated?
2. How can there be a gain entry when USD value has really fallen from 920 to 900 in the current case.
Thanks for your time.
VijayHi,
I had this issue too. The entry was just opposite to what it should be. I just flipped the accounts in table FAGL_T030TR.
Example: 410000 is sales account which normally should have a credit balance. Here are some entries that were posted to sales in 03/2009 and I am running FAGL_FC_TRANS at the end of the month.
March 1, 2009 Cr. Sales CAD 1000- USD 900-
March 2, 2009 Cr. Sales CAD 500- USD 480-
During FC translation transaction, system takes the balance in the account for the period (if you execute it with 'Val. period balance only' checkbox checked) and not the cumulative balance. SAP recommends translating period balance only (and not cumulative balance) for P&L accounts. It sees a balance in LC (this again depends on the config. you have in OB22 - whether the indicator is 1 (TC as source currency) or 2 (LC as source currency for translation)) which is 1500, converts that at month end rate. After conversion, lets say the balance is 1400-.
In this case, we expect a credit entry on sales account
March 31, 2009 Cr. Sales CAD 0 USD 20-
But system was just posting the opposite. I then flipped the accounts in FC translation configuration. I know it is misleading. In that configuration, system says balance sheet adjustment account, but what you should actually give there is your gain/loss account. Our gain/loss a/c. falls in the same GL account range as the main account. For example, for 410000, it is 410999 and for 510000, it is 510999. We report accounts 410000 to 410999 in the same node in the FSV.
Pl. feel free to ask further questions about this. Pl. test in your system and correct me if my above reply is wrong.
Cheers! -
Challenge of the day - "beginner" errors in SAP-delivered transactions
1. Read this post here:
Question on SWUI_SINGLE and SWUI_START
2. Name another SAP-delivered transaction that exhibits the same incorrect behavior as SWUI_SINGLE and SWUI_START.
Note: Assume that the behavior of these transactions at this customer site is not due to an error in system config, but rather to insufficient internal SAP QA/QC.
If the behavior of SWUI_SINGLE and SWUI_START is not due to a config error at this customer site, these are really remarkable transactions. I've never seen SAP transactions delivered with such gross "beginner" errors.
Have you?
djhHi Stephen -
How could I teach them "/nex" when I had deliberately forgotten it myself ... I'm the guy you love to hate when you're standing behind him watching him try to get something done "fast" ... I still go up to the menu bar for copy/paste/cut in Office sometimes ...
It's my way of being old-fashioned - like the engineers who wouldn't give up their rules for calculators ...
As far as EEWB goes, well I can see why nobody cares about it ... remember the old saying:
"Real programmers don't program in wussy languages like LISP ... they program right down to the bare metal" ...
... same goes for any tool that has "easy" and "workbench" in it ...
Just kidding, of course ...
djh -
How to post externally to asset reconciliation account
Hi,
I need to post one entry externally to asset reconciliation account & I dont want to update asset due to that entry. How to do that?
Pl. help. I will award points for suitable answer.
Thanks
VeenaYou are permitted to post the recon account undercertain special circumstances :
USe the transaction codes OAMK and OASV.
Kindly read the SAP on line documentation before making a postings directly to the recon account.
Definition of the Reconciliation Accounts
You are not allowed to manually post to the reconciliation accounts for Asset Accounting in Financial Accounting. Normally, you designate the corresponding General Ledger accounts in Financial Accounting as reconciliation accounts. This change, however, can no longer be made in Financial Accounting, once these accounts already have balances from the legacy data transfer. However, you can use a special report to assign these accounts the status of reconciliation accounts in Financial Accounting (in Customizing for Asset Accounting, choose Preparing for Production Startup ® Production Startup ® Set Reconciliation Accounts).
There is another report for removing this specification (Reset Reconciliation Accounts).
Subsequent Correction Postings to Reconciliation Accounts
Suppose you have already defined the asset G/L accounts in Financial Accounting as reconciliation accounts, but still need to transfer balances to these accounts, or make corrections. You can make correction postings to these reconciliation accounts with a special posting transaction in Customizing for Asset Accounting (Transfer Balances), using posting key 40 or 50. You can only postings to those accounts in a company code with implementation status (Customizing for Asset Accounting, choose Preparing for Production Startup ® Production Startup ® Activate Company Code). -
Good morning,
I should do a little analysis about our G/L accounts definition for transaction key PRD. What I would like to understand is how SAP configures the automatic posting procedure or, in a better way, how SAP determines which transaction keys must be used in a particular situation.
I think that these tables should be involved in the procedure:
T156SC
T156SY
T156X
T156W
Does someone have more information?
Thank you in advance.
Francesco AlborghettiDear Francesco,
Go to T.code - OBYC.
Select the posting key - PRD.
Give the concern chart of Account and go inside.
You will see Valuation modification and Valuation class assigned to GL accounts.
If you want to include the movement types into this, you need the Account modifier. If so, click rules,
select the check box of Account modifier also and save the screen first.
Then go into the trasnaction, where you will find the Account modifier will also be included. You can select the correct account modifier which is in turn assigned with the movement type.
Hope this helps.
Reward points if satisfied.
Thanks.
Augustine Ponraj. -
How to post idoc from r/3 to xi
hi experts i have one doubt abt posting idoc from r/3 to xi
how to post
for vendor master idoc
for sales order idoc
for purchase order idoc
for delivery idoc
is there any inbuilt posting prgms r there or we have to write the prms.
please clear me
regards
babuto add more...
Befor posting IDOCS into XI..we need to do ALE SETTINGS...as fallows..
<b>ALE settings.</b>
<u><b>SAP XI</b></u><b>1) RFC Destination (SM59)</b>
a) Choose create.
b) Specify the name of the RFC destination
c) Select connection type as 3 and save
d) In the technical settings tab enter the details SAP SID/URL and system number#.
e) Enter the Gateway host as same details above SID/URL.
f) Gateway service is 3300+system number#.
g) In the Logon /Security tab, enter the client user & Password details of Destination system.
<b>h) Test the connection and remote logon.
2) Create Port (IDX1)</b>
a) Select create new button
b) Enter the port name as SAP+SID (The starting char should be SAP)
c) Enter the destination client.
d) Enter the RFC Destination created in SAP R/3 towards other system.
e) Save
<b>3) Load Meta Data for IDOC (IDX2)</b>
a) Create new
b) IDOC Message Type
c) Enter port created in IDX1.
<u><b>SAP R/3</b></u>
<b>1) RFC Destination (SM59)</b>
a) Choose create.
b) Specify the name of the RFC destination
c) Select connection type as 3 and save
d) In the technical settings tab enter the details SAP SID/URL and system number#.
e) Enter the Gateway host as same details above SID/URL.
f) Gateway service is 3300+system number#.
g) In the Logon /Security tab, enter the client user & Password details of Destination system.
h) Test the connection and remote logon.
<b>2) Create Port (We21)</b>
a) First Select Transactional RFC and then click create button
b) Enter the destination port name as SAP+SID (The starting char should be SAP)
c) Enter the destination client.
d) Enter the RFC Destination created in SAP R/3 towards other system.
e) Save
<b>3) Create Partner Profile (WE20)</b>
a) Create New
b) Create the Partner no. name as same the logical system name of the destination system.
c) Select Partner type LS
d) Enter details for Type: US/USER, Agent, and Lang.
e) Click on the + button to select the message type.
f) Select Partner no. and LS which ever create above.
g) Select Message type
h) Select Process code related to the Message type.
I) save.
<u><b>In SLD System Landscape Directory</b></u>
TS for R/3 (Logical system):-Assign the client name created in R/3 as Logical system Name.
Ts for Third Party (Logical system):-
BS for SAP R/3 (Logical system):- Assign the client name created in R/3 as Logical system Name.
BS for Third Party (Logical system):-Enter the XI logical system name.
<b>In Transaction SALE</b>
Define and Assign the logical system name.
<b>and coming to the posting, u can go with WE19</b>
Maybe you are looking for
-
Wich version of APEX is included in the ORACLE 11G R1 ON WINDOWS OS ?
APEX 301 OR APEX 3.1 ? MFOConsulting [email protected] www.iec.ch
-
I believe HP Service has almost hit rock bottom.
I recently sent back a Laptop to HP with an issue with no sound... after some trouble shooting with the online tech, it was apparent that it needed to be turned in to be checked out by HP to resolve the issue. Now, for those of you who have HP notebo
-
Accessing COM interfaces in AIR
Is there a way to access Windows COM interfaces through adobe air? I'm working on an app where I need to be able to interact with another Windows program. I want to use methods like WScript.CreateObject() in my code, and I can do this when I run th
-
How do I link them? One I created with my school email to get the discount and the other I created through Facebook. Is there a way to link the two accounts?
-
Using mp4s in FCE-- constantly needs rendering
I had no trouble importing some mp4 files into Final Cut Express, but every time I drop something down into the timeline from the viewer, it needs to be rendered (both audio and video.) This is happening before anything is altered or given transisiti