Updating bseg and bsis table ...

Hello,
I want to update bseg and bsis table. I guess i will have to use BAPI_ACC_DOCUMENT_POST.
how do i go on using this BAPI ? any starter code snippet ...!!

Functionality
Using this method you can create a posing in accounting for certain business transactions.
Possible ( Business Transactions):
Postings that generally only affect the general ledger. (RFBU)
Billing: For billing in Sales and Distribution, accounting is supplied with the relevant billing data. (SD00) Billing Document
Accounting can use the data of a logistics system that result from an Invoice Receipt. (RMRP)
Goods Movement are triggered by transactions in Sales and Distribution or by inventory postings. Within logistics, they lead to a change in the warehouse stocks of
<DS:GLOS.Inventory Management>Inventory Management. This results in a posting in accounting. This is why accounting is supplied with the relevant data from logistics. (RMWA)
Example
Billing document:
By selling goods in accordance with targets, revenue is generated. The revenue is posted in billing and forwarded
to accounting.
Invoice receipt:
Raw materials are purchased in accordance with targets. The invoice receipt is posted in a logistics system. The data from the raw materials is forwarded to accounting.
Goods Movment:
The use of raw materials leads to a change in stock in inventory managment. The posting of raw material consumption is forwarded to accounting.
G/L Account Posting:
Provision posting for an expected warranty service. This can refer to acquisitions or retirements belonging to stocks that are not in subledger accounting relevant to inventory management. This is particularly the case if such materials are not displayed as vendor/customer, materials, loans etc. or cannot be displayed in this way. This can also refer to write-ups or depreciation that contain higher aggregations of values than are maintained in a corresponding subledger that is relevant to inventory management.
The conversion of foreign currencies for receivables/payables due to large exchange rate changes that should not lead to an update of the accounts payable or accounts receivable accounting. A similar transaction can arise for the revaluation of raw materials if this revaluation takes place at a correspondingly aggreagated level.
Reclassification of inventory of P&L statement accounts that are only used for reconcilliation purposes in the general ledger (this rearranges values for balance sheet items).
Balance reclassifications of stocks to receivables with different return times.
Notes
If the parameter CurrencyAmount is filled with the currency fields, a complete document check including characteristics and value components of profitability analysis (CO-PA). Otherwise, the account assignment objects are checked.
Messages are returned in the parameter Return. In the parameter documentation you can find the return values and their meaning.

Similar Messages

  • Any problem using bseg and bkpf tables

    For fico details i using  bseg  and bkpf  tables.
    I noted that programming is very difficult because of these tables are cluster table.
    plz give me other tables
    if i using these tables any problem will come?

    >
    mysvijai197715 wrote:
    > Hi Aniesh,
    >
    >            BSEG and BKPF are cluster tables. It contains transperant tables like BSIS, BSIK etc. For example to take vendor details usr the BSIK.If you use BSEG and BKPF it will take long time search. suppose your concern having lot of data means may be your server will get shutdown. So use only trasnperant tables like BSIS, BSIK etc.
    >
    >
    > Regards
    > R.Vijai
    Incorrect.  BKPF is a transparent table and not a cluster table and you can use it just like any other transparent table.  BSEG is a cluster table but there is no problem selecting from it so long as you use the key of BUKRS, BELNR, GJAHR - unless you are selecting a very large amount of data, but then this can cause problems when selecting from any type of table.
    The advantage of using BSEG over the other FI line item tables such as BSIS and BSIK is that it holds all the lines of an FI document while the others will hold only a subset eg BSIK will only hold lines that contain a vendor reference and BSAS holds only cleared GL account lines.  Though you can only use it when you have the key.  If you need to search on vendor, you can use BSIK as a starting point, but since I usually need to get hold of all the lines on an FI document, I then have to select from BSEG anyway.

  • No Update FMIOI and KBLP tables with purchase order

    Hello,
    We have un serious problem : No Update FMIOI and KBLP tables with purchase order
    System :  SAP ERP 6.0 /7.0 - EHP 4
    Note 965633 was read.
    1) First case: The purchase order 4510000673 does not reduce the funds reservation.
    Purchase order 4510000673 should consume the funds reservation 1200000193 because all post of the PO charge the funds reservation 1200000193.But the consumption history of the funds reservation 1200000193 donu2019t show this consumption.
    In table FMIOI, we do not have lines with amount type 0200 (reduction) but whe have the lines with the post of PO with amount type (0100).  The Purchase order 4510000673 should consume the funds reservation 1200000193.
    In table KBLP, the fields are :
    Total amount (LC) - HWGES  = 53.409,40
    Amount used u2013 WTABB = 0,00
    Reduction amount u2013 HWABB = 0,00
    Open amount u2013 CWTFREE =    53.409,40
    Reduced amount u2013 WTABG = 0,00
    Reduced amount u2013HWABG = 0,00
    To solve the problem, we executed the transactions : FM4N et FMN5 and the program RFFMRC20 but no result.
    2) Second case : Delete a item of a purchase order does not release the budget
    The single item of the purchase order 4510000597 is deleted but in the display of consumption History of the funds reservation 1200000137, the amount of the purchase order is not to zero.
    To solve the problem, we executed the transactions : FM4N et FMN5 and the program RFFMRC20 but no result.
    Somebody already had a similar problem ?
    Thank you
    Fabian

    Hello Fabian
    There are two known notes dealing with missing update on reference Earmarked Funds, I am listing them for future references:
    1376800  Earmarked funds: Incorrect open amount         
    1438487  RFFMRC20: Missing KBLE records are ignored     
    These notes correct some errors within the Standard.
    However, in your scenario, problem has to do with an incorrect execution of a Commit work inside a customer user-exit. After elimination of this commit work, new Po's are working correctly.
    Remaining task is the correction of old PO's. Manual correction via small changes with ME22N (for instance, adding a '.' to the line item text/s) will force the correct update and fix your database
    If you agree, we can close this thread (?)
    Kind regards
    Mar

  • Updating Q and P table of master data using ABAP program

    Hi All
    I have a requirement to update Q and P table(non key and non date fields) of master data using an ABAP program.
    Is this something recommended?
    Will there be any issues if I do that?
    Thanks
    Deepak

    Thanks Vikram. Ok. My look up is on some other master data Q table and that is the reason why I asked about ABAP custom program.
    Look like I will have to do the following approach.
    Load the required supporting master data to BW.
    Execute Attribute change run process for those master data objects.
    Load the actual master data and look up on supporting master data.
    Execute attribute change run process.
    This process takes me long time and I am trying to reduce the overall execution time. let me know if you have some good suggestions.
    Thanks
    Deepak

  • Updating BSEG and BSID in RFEBLB00

    I checked the program RFEBLB00 for the code where it is updating the records in tables BSEG and BSID with the assignment numbers and reference numbers. I tried checking the forum for any inputs, but couldnt find any. I just need the part where its inserting the records into these tables. Any help would be greatly appreciated.

    There is no Direct Insert/update statements in the RFBIBL00.
    This program helps you to create a BDC either Call transaction or Session method to post the entire FI Documents Like in FB01, FB05 etc.
    You can't just update the half part like BSEG or BSID using the RFBIBL00.
    Regards,
    Naimesh Patel

  • How to update parent and child tables while updating parent table

    I have a parent table EMPLOYEE which includes columns (sysid, serviceno,employeename...) sysid is Primary key, serviceno is Unique key and I have child table DEPENDENT includes columns (sysid,employee_sysid,name,dob...) here again SYSID is primary key for DEPENDENTS table, employee_sysid is Foreign key of EMPLOYEE table.
    Now I want to change SYSID (using sequence) in EMPLOYEE table which need to be update in DEPENDENTS table as well
    Note: I have 10000 records in EMPLOYEE table as well as I have 5 more child tables which need to update new SYSID.
    please help me

    first disable the FOREIGN KEY Constraints.
    you can update Parent as well as Child record also with help of trigger.
    here i am giving you one examlpe..it may help u.
    create table parent(id number primary key,name varchar2(100))
    create table child_1(id number primary key,p_id number,dob date,
    CONSTRAINT FK_id FOREIGN KEY (p_id) REFERENCES parent (ID))
    create table child_2(id number primary key,p_id2 number,addr varchar2(1000),
    CONSTRAINT FK_id2 FOREIGN KEY (p_id2) REFERENCES parent (ID))
    insert some test data to parent and child tables.
    alter table child_2 disable constraint FK_id2
    alter table child_1 disable constraint FK_id2
    CREATE OR REPLACE TRIGGER delete_child
    BEFORE UPDATE ON parent
    FOR EACH ROW
    BEGIN
    UPDATE CHILD_1
    SET P_ID=:NEW.ID
    WHERE P_ID=:OLD.ID;
    UPDATE CHILD_2
    SET P_ID2 =:NEW.ID
    WHERE P_ID2=:OLD.ID;
    END;
    then Upadte parent table primary key col and check the child tables.
    then enable the constraints...

  • Idoc for bsid ,bseg and bkpf tables

    hi ,
    i have extrated the data from 4.7 and uploading into ecc 6.0.
    is there any IDOC for uploading data coming from BSID , BSEG AND BKPF tabels?
    i checked bapi , i could not find some fields in bapi .pls.advise if any IDOC
    As it is very urgent , pls.help me in this regard .
    Regards ,
    Kiran.

    Hi,
    There is some IDOCs which related to the bseg, bkpf etc table
    FIDCC1,FIDCC2.
    <b>Reward with points if helpful.</b>
    Regards,
    Vijay

  • What is the program name to update vbrp and ce1beka tables

    Hi experts,
                    when i do vf01 transaction and i press save then the table ce1beka and the table vbrp is updating.How i can find from which program these tables are updating.Is it possible to check in sql trace?.from where the data is coming to those tables. please help me.
    Thanks.

    Hi Bharat,
    For any given transaction you can find the relevant program very easily.
    Enter the Tcode in command prompt.Goto menu path System->Status.
    In SAP data section you can view the Tcode and the corresponding Program name.
    For Tcode: VF01, the program name is SAPMV60A.
    Also, using Tcode: SE49, you can see what are the tables being updated through a program or transaction.
    Hope this helps.
    Please reward if helpful.
    Thanks,
    Srinivas

  • Update S066 and S067 tables after changing the credit horizon

    Hi,
    I have changed the credit horizon which was previously month to day through OMO1. However after making this change, all the contents of credit management in the table S066 and S067 were deleted. Is there a way to update the the tables after this change has already been made? I tried using the programs RJ-JANEU and RJ-JFNEU, by slelcting the checkbox Reorganize credit data, however I get a message stating No orders/Billing documents to be updated were found.
    I would appreciate if someone could guide me through the process that needs to be followed. Thank you for your help in advance.
    Regards,
    Sandeep

    Success
    The connection test was successful.
    =============
    Information from Review Screen:
    Name Value
    Oracle home path /u01/app/oracle/product/11.2.0/dbhome_1
    Monitor Username dbsnmp
    Monitor Password ******
    Role NORMAL
    Listener Machine Name urora2t.unioncentral.com
    Port 1526
    Database SID finapp1t
    Preferred Connect String
    Edited by: sawright on Mar 29, 2012 11:24 AM

  • Linkage for RSEG and BSIS tables for tax item

    Hi,
    How to find corresponding tax line item in BSIS or BSAS table for a RSEG line item. 
    In case of BSET table I could find the linkage by BSET-TXGRP and RSEG-BUZEI.

    The obvious link I can see is on bukrs/belnr/buzei/mwskz fields.
    All available in all tables.  The company code and accounting document number is normally enough but if there are multiple line items use the buzei fields as well.  The tax field on is MWSKZ. 
    Same on both BSIS/BSAS and RSEG. 
    BSAS is almost the same table as BSIS but has the clearing items as well.
    Message was edited by: Barry Neaves

  • Adding Custom Fields to BSEG and BKPF Tables

    Hi All,
    My customer would like to add around 5 fields to BKPF table and 6-7 fields to BSEG table. Can you all suggest me whether it would be a good idea to add any custom field to these tables ? I would like to mention that standard fields available in these tables will not be used for the requirements of the customer and he is insisting on adding custom fields. I need your expert advice on this matter.
    Regards,
    Rohit

    Hi Friend,
    Please do not add any custom fields in those tables.
    These two tables are pillar of accounting entries in SAP, if you want to push them then it is OK, otherwise find some other way.
    Regards
    Krishnendu

  • Update -Graph and Pivot Table model.DataControls.dcx of type null not found

    Now Solved.
    I upgraded to the new Jdeveloper release and the Preview works.
    Update
    I created a new application and the graphs work ok.
    Now, why in my current project won't the graphs work???
    Chuck
    This just occured today 6/22/09.
    When ever I preview a graph or pivot table i receive this message:
    oracle.jbo.NoDefException: JBO-25002: Definition model.DataControls.dcx of type null not found
    I drop the query on a form as a table and it works fine.
    I have used Graphs before, and ahve never recieved this error.
    I just remenbered, I was using the previous release of Jdeveloper when I built the graphs.
    Probably nothing !!
    In the developers manual this message is mentioned:
    +29.3 Correcting Simple Oracle ADF Runtime Errors+
    Failures of the Oracle ADF Model layer cannot be detected by the JDeveloper
    compiler, in part because the page’s data-display and method-execution behavior
    relies on the declarative Oracle ADF page definition files. The Oracle ADF Model layer
    utilizes those declarative files at runtime to create the objects of the Oracle ADF
    binding container.
    To go beyond simple schema validation, you will want to routinely run and test your
    web pages to ensure that none of the following conditions exists:
    +■ The project dependency between the data model project and the user interface+
    project is disabled.
    By default, the dependency between projects is enabled whenever you create a
    web page that accesses a data control in the data model project. However, if the
    dependency is disabled and remains disabled when you attempt to run the
    application, an internal servlet error will be generated at runtime:
    oracle.jbo.NoDefException: JBO-25002: Definition
    model.DataControls.dcx of type null not found
    To correct the error, double-click the user interface project, and select the
    Dependencies node in the dialog. Make sure that the ModelProjectName.jpr
    option appears selected in the panel.
    I checked and the model.jpr is there.
    I re-installed jdeveloper but the same error occurs.
    I have no idea on how to proceed.
    Chuck
    Edited by: user634580 on Jun 24, 2009 11:59 AM
    Edited by: user634580 on Jun 24, 2009 12:02 PM
    Edited by: user634580 on Jul 4, 2009 8:23 AM

    Well, Shay
    I search my entire C drive for datacontrol.dcx and *.dcx and no files found.
    I am usiing ADF.
    The new application that I created that works in preview does not have this file.
    I unstalled jdeveloper, downloaded a new copy, deleted Oracle directory, installed jdeveloper and results are the same.
    Is the datacontrol.dcx file the same as the "datacontrol in the Data Controls Folder "?
    The datacontrol is present the Data Controls Folder (model.jpr model.appmodule)
    There are 3 messages in the log pertaining to DVT listed below.
    **WARNING: A duplicate definition for the feature "AdfDvtGraph" has been found at*** zip:C:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.52.05/DefaultDomain/servers/DefaultServer/tmp/_WL_user/NBCV3/1k9n8d/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 3. A feature with the same name was originally defined at zip:C:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 3. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
    Jun 26, 2009 7:53:29 AM oracle.adfinternal.view.faces.partition.FeatureUtils _addFeatures
    WARNING: A duplicate definition for the feature "AdfDvtGauge" has been found at zip:C:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.52.05/DefaultDomain/servers/DefaultServer/tmp/_WL_user/NBCV3/1k9n8d/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 7. A feature with the same name was originally defined at zip:C:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 7. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
    Jun 26, 2009 7:53:29 AM oracle.adfinternal.view.faces.partition.FeatureUtils _addFeatures
    WARNING: A duplicate definition for the feature "AdfRichPivotTable" has been found at zip:C:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.52.05/DefaultDomain/servers/DefaultServer/tmp/_WL_user/NBCV3/1k9n8d/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 11. A feature with the same name was originally defined at zip:C:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 11. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
    A

  • BAPI/FM to update LIKP and VTTK tables

    Hi All,
      I need to update certain fields in the delivery tables LIKP and VTTK. Can anyone suggest how can I do that . I think i need to use certain BAPI or FM.
    Thanks in advance,

    Hi,
    check out this :
    CSO_P_DLVRY_GOODS_ISSUE_CREATE,
    MAP2I_BAPISHIPMENTDLVITEM_LIPS,
    MAP2I_BAPISHIPMENTDLVHDR_LIKP.
    'SD_SHIPMENT_POST_GOODS_ISSUE'
    BAPI_SHIPMENT_CHANGE
    BBP_INB_DELIVERY_CREATE
    RV_DELIVERY_CREATE
    BAPI_INB_DELIVERY_SAVEREPLICA
    <b>*Reward points</b>
    Regards,
    Message was edited by:
            skk
    Message was edited by:
            skk
    null

  • Update LIKP and VBSK table

    Our requirement is to set staging lane ( LGBZO ) and Shipping door ( LGTOR ) for an entire delivery group. For this the VBSK table is appended with the above fields.
    A new program is to be created where in the user assigns staging lane and shipping door to a delivey group. At the same time the fields(LIKP-LGBZO) and (LIKP-LGTOR) are to be updated for the deliveries contained within that group.
    Are there any function modules to update these tables (LIKP,VBSK)with the values of LGBZO AND LGTOR.
    Please reply ASAP.

    hey saquib,
    The function module dat you suggested gives us the existing values of LGBZO and LGTOR but i'm looking for a function module which would overwrite the existing values
    thanks,
    Arun.

  • Difference between the data in BSEG and BSIS.

    Hi,
    When i give select the data from BSEG for an account number i am geting 100 documnets.
    But when i give the same document number in BSIS i am geting only four documents.
    On what basis data is stored in BSIS.Why the number of documents is reduced.
    Can any one tell me wht data is stored in BSIS.How it is different from BSEG.
    Thanks
    Ansari.

    BSIS is only for Customer Items , So here u wont get all item of a FI enttry.
    where from BSEG  u will get All items which are in that FI accouting entry inlcuding all G/L code.
    for more info check ur prev.post , i given simple example.
    Regards
    Prabhu

Maybe you are looking for

  • Screen is green when using 9400M graphics card

    I was wondering if anyone knew why when I turn on the battery saving mode and use my 9400M graphics card as opposed to the higher quality one that my screen has a green tint to it. If anyone knows how to fix this without going to the store, that woul

  • How do you change the name of macbook pro

    How do you change the name of the MacBook Pro (not with Retina Display) ????                                                                       David

  • Various errors when a subworkflow is performed

    Good day Friends. I'm new in WorkFlow. I'm getting following errors when a subworkflow is performed. Any clue ? Error handling for work item 000000009262 Work item 000000009262: Object FLOWITEM method EXECUTE cannot be executed Error when processing

  • I can send iMessages but not send texts?

    I don't know why but for some reason my phone will let me send iMessages but it won't let me send texts. Also, when I send an iMessage it uses my e-mail and not my number?

  • Airport Utility on iphone ipad ios8 often shows internet disconnected while macbook connects just fine

    Hi, I need help with this problem that just arose after updating my devices (iphone 5 and ipad air) to ios8. Every now and then the internet disconnects, and in Airport Utility the Internet is shown disconnected (orange bar), while it is perfectly fi