Posting document with profit segment values (FB01)

Hi Experts,
I have a req. to post a document with profit segment parameters in FB01. Please help me if any BAPI or FM exists for the same.
I have searched for profit segment parameters in bapi_acc_document_post, but i didnt find any fields to pass
BL , sales office,  curr, customer status and service fields in BAPI.
Thanks and regards,
Ravi

You can use the strcuture EXTENSION1 of BAPI_ACC_DOCUMENT_POST alongwith the implementation of BTE "RWBAPI01". See the Wiki post [Business Transaction Event - RWBAPI01 - For Accounting Document Interface|http://wiki.sdn.sap.com/wiki/display/ABAP/BusinessTransactionEvent-RWBAPI01-ForAccountingDocument+Interface] for reference.

Similar Messages

  • How to Post BAPI_GOODSMVT_CREATE with profit segment?

    Kindly advise how we can post profit segment with BAPI_GOODSMVT_CREATE?
    Thank you.

    Thank you for your prompt reply
    Btw, In case which we are in userexit to create sales or material document, what is the best approach to get profit segment no?

  • How to update profit center in posted document without profit center ?

    HI,
    I want to know,
    How to update profit center in posted document without profit center ?
    So that i can get my profit center accouting report proper.
    Thanks
    Nilesh

    There is a long story about profit center accounting. I assume you are using Classic PCA, this means you can see the PCA documents.  And the solutions is below:
         For P/L account, even you don't maintain cost element for it, if you maintain the profit center in the application (Frontend transaction), then PCA line items will be generated for this account.
        For B/S account,  if you maintain the default Profit Center with transaction 3KEH/3KEI, the PCA line items will generated for this account also.
      Hints, don't maintain default profit center for AR/AP accounts, these accounts to be treated in periodic processing.
      First, calculate the distribution/adjust by F.5D, then transfer it by 1KEK. for others account rather than AR/AP, use F.5E
    For you case, if this account is P/L account, but you don't maintain profit center in the transaction, you can maintain default profit center as B/S account in 3KEH and 3KEI, then transfer it subsequently by transaction 1KE8.
    Good Lucky!
    Flex Yang

  • How to update the posted documents with Business Area wise

    Dear experts
    Please suggest me how to update the posted documents with Business Area wise
    Ajeesh.s
    Moderator message: please do more research before asking, show what you have done yourself when asking.
    Edited by: Thomas Zloch on Nov 2, 2011 2:26 PM

    Hi,
    Select all your folders in Disco Administrator,ALT+ENTER to go to properties, then change the database from the default database to the remote database.
    Hope that helps,
    Rod West

  • Posting documents with in f110

    Dear gurus:
                        I am new to SAP Financial accounting module and a learner. I have IDES access and i faced the follwoing difficult situation while posting outgoing payment in F110 by executing a payment proposal. The system is posting document with document dates entered in them but i want that system should post the documents with posting date at proposal run date. Can expert throw some light on this how to accomplish this.
    Regards

    HI
    Link is Atif told is as Under
    partial payment in f110
    Mann

  • Mismatching of HR posting document with ZSAL Report

    Can anyone tell me how to resolve this issue. Actually when i am running the posting run its happening quite fine but there is a mismatch of the figures in the HR posting document with the Zsal report. Kindly help me resolve the issue at an earliest.
    Regards
    Jainab Fatima

    Dear Jainab,
    There might be a few heads that are missing in your ZSAL Report, For accuracy take help of PC00_M99_CWTR and compare the amount picked from this report.
    Thanks,
    Bhabagrahi

  • FI posting performed for profit segment without cost element

    Dear Gurus,
    We have accounts defined as balance sheet account. There are no cost elements created for that account.
    Anyway we can perform postings for cost object profit segment.
    Why we 're still able to post for profit segment if there are no cost elements created?
    With best regards,
    Kamila.

    Hi,
    To be able to post entries to Profitability segment, the GL accounts should also be a Cost element in CO of category 1, 11 and 12.
    Balance sheet accounts cannot be created as cost element exception is Material and asset accounts with Cost element category 90, though they cant be posted to Profitability segments.
    COPA is only meant with expenses and revenue analysis. Hence not possible.
    Thanks,
    Ravi Kumar

  • Reversing a document with MR8M diff value in GR/IR

    When reversing a document with MR8M, differrent amount is posted to GR/IR account and PPV account
    Actual Transaction
    Vendor 123 = 100
    GR/IR account = -80
    PPV account = -20
    After Reversal:
    Vendor 123 = -100
    GR/IR account = 78
    PPV account = 22
    Please let me know what could be the reason?
    Edited by: Rickyy on Apr 27, 2011 9:33 PM

    This sap note explains exactly my problem, but now how do I clear GR/IR account?
                         GRIR Account       PPV account
    CreditMemo     39,319.31        17,834.96
    MR8M             57,294.48     
    So I cannot clear GRIR account because of the amount difference :-S
    Thanks

  • Posting document with 4 eyes review

    Dear  SAP-GURUS,
    has anybody experience with 4eyes-review roles in the accounting (posting document) procedure.
    Our client from the USA wants to realise the G/L postings with the following criterias:
    - someone has a right only to edit/park and change a posting
    - someone else is able to display and release the document. In case changes are needed, the document can only be changed by the person who created the posting.
    Our question is: has anybody already realised a concept having similar criterias?
    Has anybody had a similar request?
    If yes, could you apply the standard roles or did you have to develop some extra roles? (02,77 and 01,03)
    Thanks for your help in advance.
    Kind regards,
    Ildiko Kustan"

    Hi,
    Thanks for Your answer, I would have a question regarding the details of this issue.
    My problem is if the person who can release the document has the right 01 then he can not see the details of the draft posting just the overview or a list with limited information on the posting details.
    If he has a right 77 then he also can change the draft posting - which would not be ideal for our client.
    So- with these conditions does anyone have idea how this concept could be realisable.
    Thanks and kind regards,
    Ildikó Kustan

  • ERP Sales Order with Profit Center value mandatory in ECC side!

    Hi Experts,
    I'm working with a scenario using SAP CRM 7.0 and ECC 6.0 EHP4, using ERP Sales Order and ERP Quotation.
    The sales order transaction type in ECC side is set up to use profit center at item level as mandatory and I can't find this attribute at Item Details in CRM Webclient. I can't save my order, because this error and the AB Incompletion Log always shows this error.
    Any ideas? Is it possible set profit center value in CRM?
    Best Regards
    Heber Olivar

    Hi Heber!,
    I hope you are doing well.
    We have the same issue, please could you share us how did you resolve this issue?
    We have SAP CRM 7.0 EHP2 and SAP ECC 6.0  and for the creation to ERP Orders correctly in SAP CRM is necessary the profit center value.
    Thanks in advance.
    Best Regards!

  • Profit segment value field

    hi,
    may i know a profit or profitability segment is only a set of characteristic or set of characteristic *** value?
    why the profit segment example below without value field? value field like price difference, cost, freight, etc.
    E.g. Cocd 1010, customer 0001, product ABC, division a1 is a profit segment whereas CoCd 1010, customer 0002, product ABC, division a1 is another profit segment.
    thanks

    Hi,
    I think you got my question incorrect.
    What I am asking is whether profit segment is referring to characteristic only or combination of characteristic and value.
    In the example below, I can see only characteristic but no value like freight, cost, etc as part of the profit segment.
    So I would like to know profit segment is only characteristic?
    E.g. Cocd 1010, customer 0001, product ABC, division a1 is a profit segment whereas CoCd 1010, customer 0002, product ABC, division a1 is another profit segment.
    thanks

  • Write off FICA documents with no segments after New GL has been activated

    Hi Gurus,
    The scenario we are facing is as follows"
    The client had already implemented FICA as part of its legacy, but SAP FICO was not implemented. As part of the new framework, we are implementing SAP FICO as well, while at the same time New GL is now being activated.
    All ancillary configurations have been maintained for deriving profit center/segment information on main and sub transactions through use of CO Account assignment key.
    Issue:
    The issue we are facing now is that, while writing off (FP04) any FICA document which has a profit center/segment information, we are able to write it off. But any FICA document which does not have segment information, we are getting the error "Segment Missing"
    Probable Solutions:
    1) Tried maintaining the  value as "2" (Account Assignment) at the following node:
    FICAIMG-->Business transactions--> Define specifications for Write-offs
    This solution did not help us in writing off the FICA document
    2)Custom logic in event 5030?
    Custom logic can be maintained in the FM at event 5030, where we should be able to derive the profit center/segment info. based on the business area
    Please let me know if any other options can be tried and also if the custom logic at event 5030 should help us resolve the write off issue?

    Hi, I have the same laptop and had the same problem.
    I have solved it by adding the following arguments to the kernel command line:
    acpi_osi=Linux acpi_backlight=vendor
    Note: acpi_osi only did the trick, but then the backlight service fails. acpi_backlight fixes the service.

  • Posting document with splitting

    What is posting with document splitting.
    Please explain me clearly.
    <b>Valid posts will be rewarded</b>

    Hi
    I have had this problem when there are multiple profit centres in a GR. We did try some configuration options like adding Expenses category to 600 but found that the GR IR line was also being split and that was not the requirement. It is in the Document Splitting Configuration that you will find the answer to this issue, though the results after configuration may not be exactly what you want.

  • Any Report or Trx to see the posted documents with MR11?

    I want to see all documents which were posted (compensated) by MR11.
    I know there is the MR11SHOW but is not the one I want.
    Suppose three months ahead I want to see which documents were done by MR11. How can i get this information?
    So, I need a report or a way to see documents done by MR11 between two specific dates for example.
    Regards !

    There are many reports available with selection of document type as "KP"
    1. You can get the report from FBL3N with dynamic selection for document type as "KP"
    2. You can get the report from FAGLL03 with dynamic selection for document type as "KP"
    3. You can get the report from MR51 with selection for document type as "KP"

  • Post document with BAPI_ACC_DOCUMENT_POST with withholding taxes

    Hi everyone!
    I have to post some documents that I got from an Excel file. At first, they were G/L documents, so I only filled the table parameter ACCOUNTL of BAPI_ACC_DOCUMENT_POST to set the "account data" (without using ACCOUNTRECEIVABLE, ACCOUNTPAYABLE, ACCOUNTTAX or ACCOUNTWT).
    After a few, another Posting Keys were allowed in the lines of the documents obtained from the excel file, so the documents can be G/L documents, receipts, etc.But, I still put every account data in ACCOUNTGL, and the created documents were right (at least nobody complained about them :P ).
    No, 3 fields have been added in the excel file:
    - QSSHB: Withholding Tax Base Amount
    - QSFBT: Withholding Tax-Exempt Amount (in Document Currency)
    - QSSKZ: Withholding Tax Code
    As I understood, this BAPI is ready to allow withholding taxes, and I suppose I should have to fill this fields that I receive into some tables that are used as parameters in the BAPI. For example,
    ACCOUNTWT-WT_CODE = Withholding Tax Code
    ACCOUNTWT-BAS_AMT_LC = Withholding Tax Base Amount (Local Currency)
    I think I should use this table (I don't know where I could "put" the other one). My question is, can I do that without using tables ACCOUNTRECEIVABLE and ACCOUNTPAYABLE? My feeling is that is not completely right not to use these tables if the documents are vendor or customer documents... If that's possible.. is it right to put the 2 fields that I have used in the last example (*) to fill that? Where I should put the third field??
    I hope I have explained myself clearly, thanks in advance,
    Victor

    Dear Sreeraj,
    The situations would be multiple, but to be precise I'll provide you one scenario where this BAPI would be failing to do the posting. The scenario is like this:
    1. If you consider GL posting using F-02 by changing any of the reference fields XREF1, or XREF2, the BAPI has to consider the varying screens of each of the line items which internally depends on Transaction Variants of different screens of the Document, which the BAPI will fail to do so.
    2. Also, if there is a Taxation to be done for each Item, still it should consider the above scenario and fill the WITH tables accordingly.
    Hope this helps,
    Regards,
    -Wahid Hussain.

Maybe you are looking for