POSTING G/L account documents through custom program

While posting the documents through the tcode fb01,
when I tick at PA segement button ASSIGNMENT TO
PROFITABILITY SEGMENT screen opens, DERIVATION
BUTTON is activated/enabled . But through a custom program when session is
processed and when PA segement button is ticked on
ASSIGNMENT TO PROFITABILITY SEGMENT screen, DERIVATION BUTTON is not visible. I can only see Continue, Next Page, Delete Assignment, and Cancel buttons. Where do I need to check this problem?

Hi,
Nope, in standard SAP you can not do that.
You would need to develop your custom program for it.
Regards,
SDNer

Similar Messages

  • How to print custom documents through custom program

    Hi,
    I am printing custom documents like Commercial Invoice, Shipper's Letter of Instructions,  Shipper's Export Declaration , using communication tab of custom declarations. SInce user wanted output with a changed layout( different from standard), so new Activity messages ( like ZP100 in place of standard P100) are created to call Z forms ( new PDF from created using SFP and called for this Message type). This part is done our fucntional team. This customize message type is calling my custom Z forms. But all these Z forms are not allowing printing of the document from Preview of PDF. Print Icon become disabled in the preview. Used wants to print from preview of PDF itself.
    There is a parameter in BADI  DOC_PERSONALIZE_BCS method parameter 'NOPRINT', which is passed with value 'X' in the function module to create PDF. SInce this is set to 'X' it is not letting us print from preview.
    So, can anyone help me in finding what can I do to get this print enabled from preview. If I need to change this method, then what are the steps and how standard configurations will be changed to call Zprogram in place of standard.

    Hi Swati,
    The Badi you mentioned should help you, try changing the importing parameter in your local structure and pass this local variable, instead of the imported (IS_outputparams-noprint = 'X' ) to the function below. This is an example, you`ll need to declare data as well :
    Method IF_EX_DOC_PERSONALIZE_BCS~PERSONALIZE_PDF_DOC_PDFIF
    ls_output_options = is_outputparams.
      IF NOT ls_output_options-preview IS INITIAL.
        ls_output_options-noprint = ' ' .    " Allow printing
       ENDIF.
    call function '/SAPSLL/PRN_FORM_PROCESS_PDF'
        exporting
          iv_guid_cuhd       = lv_guid_cuhd
          iv_function_name   = ip_function_name
          iv_form_name       = ip_form_name
          iv_appl_log_handle = ip_application_log
          is_output_options  = ls_outputparams " put your LOCAL structure here ....
        importing
          es_formoutput      = es_formoutput
          es_joboutput       = es_joboutput
        changing
          cs_docparams       = cs_docparams
        exceptions
          output_canceled    = 1
          others             = 2.
    Hope this helps,
    Regards,
    Branislav Petricek

  • BTE while posting accounting document through MIRO

    Hi All,
    I am doing MIRO posting with PO,while MIRO posting accounting document is getting created for it.  I need a BTE while posting accounting document through MIRO to trigger workflow(through event).
    For direct accounting document posting I found the BTE 1030 to trigger workflow.
    Thanks
    Sree

    Hello !
          The BTE required is "00001120     DOCUMENT POSTING:  Field substitution header/items".
          Double click on this entry at FIBF transaction and you will find the function module SAMPLE_PROCESS_00001120
          Take a copy of this function module and go ahead.It is not possible to change the tables T_BKPF and T_BSEG. So, use the tables T_BKPFSUB and T_BSEGSUB.
    Regards,
    S.Suresh

  • Parking Document  Through ABAP Program

    Dear Experts,
    I need to Park the Account Documents Using ABAP program,
    Please Suggest Any FM or Any Example.
    please suggest how to use RFBIBL00 program in my abap program. or if any other better way to post document using custom program.
    Sincerely

    Answered through sdn forums.

  • How to update Assignment field in Accounting Document through BAPI ?

    I need to change Assignment field in already posted accounting document through bapi or some other automatic method. Please tell me exactly which bapi I should use and how can I pass the changed assignment field?

    Hey,
    I couldnt find any BAPIs which update an accounting document. I think the safest way is to record FB02 and use BDC/Call Transaction.
    -Kiran
    *Please reward useful answers

  • POSTING DATE in Accounting Document

    Hi All,
    I am facing the problem with POSTING DATE in Accounting Document.
    Sales Order               25/10/2008
    Delivery & PGI           29/10/2008
    Billing Doc                05/11/2008
    Accounting Doc Date 05/11/2008.
    The system picks the PGI Date 29/10/2008 as POSTING Date of Accounting document. It should be 05/11/08.
    Please let me know the reason.
    Thanks & Regards,
    Hemant Patil

    Hi
    if you are looking accounting document of PGI it must be on 29th because material movement have done on 29th through PGI (it is accounting document for material movement not for invoicing)
    if helpful then give points

  • Error: While posting a G/L document through TC F-02

    Hi Friends,
    i am trying to post a G/L document through TC F-02 its giving the following Error
    "There is no item category assigned to G/L A/C No 20020/COA BCS.
    can any one help me out,
    Thanks
    RK

    Hi,
    When you are working in ECC 6.0 for the first time you will get this error.  Just go to SPRO search for Document Splitting and deactivate in new G/L
    If OK please assign points !!!!
    Srinivas Kommu.

  • Depreciation posted,but no accounting document generated

    Dear Experts,
    i have run the depreciation, it is sowing in AW01N posted, but no accounting document generated with document type AF.
    Please Suggest!!!!
    Many thanks
    Naru

    Hi Naru,
    I'm not sure what version of SAP you are on however you could try and identify the documents posted from the depreciation run from transaction AFBP.

  • How to change Posting Date in Accounting Document

    Dear All,
    Query: While Releasing Invoice Document (BL) for Account Posting, How can we change the Posting Date for Accounting Document (AB)?
    Explanation: User has created one Invoice on 26.02.2009. that time, Because of Missing Foreign Trade Data, No Accounting Document had been generated. Now, if today i.e. 10.03.2009, I maintain Foreign Trade Data and Release Invoice for Account Posting, The Accounting Document will be posted as on Today's Date, i.e. 10.03.2009.
    User's requirement is the Invoice Document (BL) Date and Accounting Document (AB) Date must be same, i.e. 26.02.2009.
    It shouldn't be like Invoice is getting generated on 26.02.2009 and Accounting Document is getting posted on 10.03.2009.
    Thanks in Advance.
    Amit

    Dear Michael,
    It was a User confusion with Creation Date of Invoice, Billing Date of Invoice and Posting date of Accounting Document.
    User had created Invoice on some 01.03.2009 but Kept Billing Date as 26.02.2009. So, while released Accounting Doc. on 10.03.2009 (Releasing date and not Posting Date), It gets Posted on 26.02.2009, only, and not on 10.03.2009.
    The whole confusion was:
    When User refers Document Flow (for Invoice in VF02), System shows Invoice Date as 01.03.2009, against Accounting Posting Date 26.02.2009.
    Whereas,
    When I showed FBL5N to user, BL Document and AB Document both get posted on 26.02.2009 only.
    Its Clear now.
    Best Regards,
    Amit

  • Attach Documents to Custom Program Using Generic Object Services

    Hi There,
             I created Object type ZGOS and used in the custom program, when i try to attach documents it allows and then shows in attachment list.
            But When I use that program next time that document attached is not available.
    Is there any separate save Class or FM available for saving the document to the specified custom program.
    I am using following code in the program,
      CLEAR obj.
    SET OBJECT TYPE TO 'ZGOS'
      obj-objtype = objtype.
    SET OBJECT KEY = REPORT NAME
      SELECT SINGLE name
      FROM trdir
      INTO obj-objkey
      WHERE name = sy-repid.
    CALL GOS MANAGER WITHOUT CONTAINER (WILL BE DISPLAYED IN THE TOOLBAR)
      CREATE OBJECT manager
        EXPORTING
          is_object = obj
        EXCEPTIONS
          OTHERS    = 1.
    Thanks in advance.

    Check the Naimesh Patel Blog he explain very well
    http://help-abap.blogspot.com/2009/02/generic-object-services-gos-toolbar.html

  • Error in Posting Excise Invoice - Accounting document not generated !

    Hi,
    We have done the GR using MIGO-Only Part I, captured in the Excise Invoice using J1IEX and these two transactions are OK.
    While we are trying to post the Excise Invoice, the system is displaying the following error:
    Accounting document not generated!
    Message no. 4F186
    Please guide.
    Please note that we are running the transaction in the Pre-production server for the very first time.
    Also would like to know what all reports I should run related with Excise. Someone told me that I should run the T Code J1I5 & J2I5 to update the RG23 register the next day of the transaction the entry related with excise is not updated on the same day. I think the updation of register should be automatic 
    Regards,

    Hi,
    I am repeating my Process/Question:
    We have Created a Purchase Order with Tax Code (JMOP) related with Excise (Cenvatable).
    We did the Goods Receipt (MIGO-> Only Part 1)
    We did the Capture Invoice (J1IEX).
    Till here every thing is OK.
    While Posting the Excise Invoice (J1IEX), the system is giving the follwoing error:
    Accounting document not generated!
    Message no. 4F186
    On Simulation window, the System is displaying the following CENVAT Posting:
    24820020           Dr.      1,058.00
    24820000           Dr.      105,840.00
    24820010           Dr.      2,117.00
    13113920           Dr.     109,015.00
    But when we click on the Post CENVAT Button, the system is displaying the message "Accounting document not generated !" and exits.
    Please guide.
    Please note that we are running this Transaction on the Pre-production Server; On the Development Server it is working fine.
    Regards,

  • Getting sales region using accounting document and customer no

    Hi Forum
    I am facing problem in getting exact Sales region for a customer , for which there is accounting document in BSID table.
    Actually i am using BSID table for open item against a customer.
    Now i also wants the region for which that entry has been done.
    Now i am getting region from KNVV table for a customer, but there are multiple record for the same customer.
    Now i need to get the exact region for which there is entry in BSID table.
    Regards
    Sukhi

    I just want to know when we done PGI against sales order it genetrate an acconting document .
    Can any one tell me in which  fi and sd tables this entry filled.

  • Accounting document through MR21

    Dear Experts,
    My user just performed price changed through MR21.
    My question is, why no Accounting document created after executed.
    There was only 'price change document appears after checked through CKMPCD.
    Please advice.
    Thank you in advance.

    Hi,
    Kindly check if there are existing stocks. You may use tcode MMBE.
    Regards,
    Darrel

  • How to create accounting document in customer consignment process?

    Hi,
        We have one kind of business like customer consignment process. We want to use sales document KB + KE to achieve. But we need to create one accounting document like below when we transfer goods from our stock to customer consignment stock, i.e. movement type 631
    Dr: Consigned finished goods
        Cr: Goods sold in stock
    and when using movement type 633, we want to create accounting document like below,
    Dr: Operation costs
        Cr: Consigned finished goods
        How can i manage to configure it?
    Thanks,
    Wesley

    Hi Wesley
    Consignment having 4 steps which includes
    Consignment Fill up - Order , Delivery Only
    Consignment Issue - Order , Delivery , Billing & Accounting Document
    Consignment Pickup - Order , Delivery only
    Consignment Return - Return Order , Return Delivery & P.G.R., Credit Memo Request, Credit Note & A/C Doc.
    So in Consignment Issue & Consignment Returns Accounting document are generated.
    When you transfer the goods it comes in Consignment Issue so accounting documents are also been generated.
    I thik so it will be helpful for you.
    Thanks
    Shobhit Gautam

  • Invoice Posting with two accounting documents for Service PO

    Hi Gurus,
    We have created one service (GR based Invoice verification) PO for which we have assigned a costcenter which has been created for different company code(rather than what company code we have mentioned in PO).
    Now during Invoice creation out of 6 invoice entries only one Invoice has been created with two accounting documents for two different company codes, when we found this and canceled the same only basic entries has been reversed.
    I just wanted to know how this single invoice has been created with two different accounting documents for two different company codes.
    Please guide me in this regard.
    Thanks and Regards,
    Ravindra C.M

    Hi Aasif,
    Thanks for your reply, if that would have been case then each Invoice created for that PO should have two accounting documents but out of 6 invoice created only one invoice has been created with two accounting documents.
    I am completely agree with you that it has posted as inter-company transfer but why only one invoice has been created with two accounting documents.
    In addition to the above I just wanted to know if for GR-based invoice verified PO if we create a Invoice before creating service entry sheet whether two accounting documents will be created as we have mentioned different company code costcenter.
    Please guide me in this regard.
    Thanks and Regards,
    Ravindra C.M

Maybe you are looking for

  • Date and time only shows in menu bar

    so before i upgraded to leopard i was able to have my time and date in my desk top now it only shows in the menu bar I have tried to change the sitting system preferences but no change how can i have it he way had it

  • Personal Laserwriter NTR and Leopard

    I would really like to use my laserwriter with Leopard, but I can't seem to get it going. I have an asantetalk so I would be connecting the printer to the computer via the ethernet port. Is there any place that has step-by-step instructions in how to

  • Error message 3014 when trying to restore ipod touch

    error message 3014 when trying to restore ipod touch, i have tried everything, any suggestions?

  • How to enforce Internet explorer to use existing JRE to open ESR and ID

    In my pi server, we installed jdk. C:\>java -version java version "1.4.2_19-rev" Java(TM) Platform, Standard Edition for Business (build 1.4.2_19-rev-b07) Java HotSpot(TM) 64-Bit Server VM (build 1.4.2_19-rev-b07, mixed mode) We can also see below fo

  • MacBook Pro did not shut down (hang)...

    Good Afternoon, About 2 days ago I upgraded to Mac OS X Lion (clean install), and I haven't had any major problems so far in term of system freezes or missing user files. However, today when I shuted down my MacBook Pro it went to a white shutdown sc