How to do collective/mass posting of documents parked through T-code: MIR7

Hello,
I just want to know if we can do collective posting of documents parked through T-code: MIR7 (Invoice Verification)? If yes, please give me the T-code and teach me how to do it. Right now, we can do mass posting for the direct FI documents only (T-code: FBV0). I tried it several times for documents parked through T-code: MIR7, but the system always prompts an error message saying that "Document cannot be posted since
document balance is not zero". But when I display and post the document one by one the system allows me to do so. Then I thought that maybe because it was created in logistics, mass/collective posting should be done under logistics also.
Thanks & Best Regards,
Odette

I could not see any such mechanism in MIR7. It is not possible to post them in mass. (logistic invoices)
Whereas FI as you said can be done in FBV0. You can even create batch and post through SM35.
Regards,
Ravi

Similar Messages

  • How to determine number range for billing document based on company code ..

    Hi Friends!!
    can anybody tell me how to determine number range for billing document based on company code & tax departure country if required??
    Amit...plz help me!!

    Hi Amit,
    1. Define different Billing Document number ranges in  SPRO -> Sales & Dist -> Billing -> Define number ranges for billing docs. (VN01). Make sure that all are internal number ranges.
    e.g.
    NO.  From number To Number    Current number  Ext
    A1   0930000000    0930999999
    A2   0940000000    0940999999
    A3   0950000000    0950999999
    2. Define a Ztable ZNUMB_RANGE as follows
    Comp. Code | Tax departure country | Billing Doc Type | Number Range
    100                IN                               F2                      A1
    200                IN                               F2                      A2
    200                US                              F2                     A3
    3. In user exit RV60AFZZ (USEREXIT_NUMBER_RANGE)
    Read table ZNUMB_RANGE for Number Range with Comp. Code, Tax country and Billing Doc.
    If found pass this number range value to us_range_intern.
    us_range_intern is a standard SAP variable which tells program which number range use to create the current document which is under process.
    Let me know if you are clear.
    Thanks,
    Mandar

  • Documents parking through Enjoy FV60

    Hi,
    I have to park some documents through Enjoy transaction FV60, and some through FBV1. As I'm using IDOC INVOIC for this interface, I figured out that this IDOC is usingBAtch-Input on FBV0 and with help of implicit enhancement, just before posting, I changed vbkpf-tcode from FBV1 to FV60 for some documents.
    This really has influence on documents, and is just what I needed, that some documents are parked through enjoy transaction. I know this is not SAP standard way, and I shouldn't do it this way, but is only way I could find. What is your opinion? What exactly is the difference between FBV0 and FV60 and how can I make FV60 able for interfaceing?
    br
    mario

    Please note that FV60 is for the Park vendor invoice, whereas the FBV1 is general park document t-code. Thus FV60 will not allow to park any document involving customer line items, where as through FBV1 you can park any combination of line items.
    The difference is the same as F-43 and F-02.
    Also note that FBV0 is for posting the parked documents.
    Ideally, if you are trying to park only the vendor invoice, use t-code FV60 or F-63
    Regards,
    Mamta Sarda

  • Error in Posting  the Entry,  Parked through F-02

    In our company we are using dual concept of Parking and Posting.
    When We are parking a document in F-02 and Posting it through FBV0 (OR) FV60  error message coming.
    I tried in F-43 also
    We are trying to park and post for a Vendor to Vendor Transfer.  We have used the P.Keys 25 and 38 for this.
    ERROR MESSAGE IS : FIELD BSEG-SKFBT does not exist in the screen SAPMF05A0302
    But if directly post the same transaction (i.e. without parking) posting is happening.  No error message.
    I cannot able to understand this.  I referred the same to some of my friends in other companies.  But they are saying that - in their systems they can able to park and post the entries.
    Can any body help me in the matter.  I will be grateful to them. 
    Thanks in Advance
    Regards

    Yes It is possible.  After entering all the line items you need to select the Document - Park.  With this It can be parked. 
    To post the same you have to use FBV0.  There you can select the document and post.
    In my case system allowed direct postings in F-02.  It is also allowing when  I am parking the same line items.  But when I want to post it through FBV0 it is throughing an error.  This is because the mismatch of Filed Status Group of Vendor Recon Account and the Posting Keys(i.e. 27 & 38).  I made them correct and now I can able to solve the problem.
    Hope I clarified your doubt.  If not please revert back.

  • How to change the blog posts view when navigating through categories?

    Hello, currently I've been struggling for a while with the following problem:
    In my SharePoint blog site I have the following default view of posts:
    http://s16.postimg.org/yvmu0j51x/Default_site.jpg
    When I click on a category, I get the following view of posts:
    http://s29.postimg.org/58lm8p993/Category_site.jpg
    Is there any possibility to get the same way of showing post as how it looks on the default site? So with Image, with body etc. But then only filtered based on category.
    Any help would be highly appreciated!
    Regards,
    Danny

    Hi Danny,
    No, my result is like:
    You can do as the followings:
    Edit the page
    Insert the Categories list into the page
    Insert the Posts list into the page
    Edit the Posts web part, and switch the current view to Summary view, click OK
    Click Connections->Get Filter Values from->Categories, like the screenshot below:
    Provide Field Name:Title, Consumer Field Name: Category
    Click Finish
    Then you can filter posts based on a category by clicking Select in the first screenshot.
    I hope this helps.
    Thanks,
    Wendy
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Wendy Li
    TechNet Community Support

  • Mass Printout of Documents viewed through FB03

    I want to print a number of documents from SAP. I am viewing these documents through FB03. In FB03 when I select a range of documents it gives the result as a list. Is it possible to print each of the documents through a single T-Code?
    At present I am having to double click each line item in the list and print the documents individually.
    Any help in this regard would be appreciated.
    Thank You.

    Please use transaction code F.62 to print the documents in mass. Please follow instruction in transaction help for any issues you face during printing.
    Regards
    K.R

  • How to get the filters of Webi document/Report using Java code in XI SDK.

    Hi All,
       I have a requirement where i have to extrcat filters from the Webi Document.using java SDK.
    I am trying to find the class called "filterable"but not able to use in my java code and will get always
    "java.lang.ClassCastException  com.businessobjects.wp.om.OMDocument cannot be cast to com.businessobjects.rebean.wi.Filterable"
    I am using the below java code like
    ReportElement re=document.getStructure()
    FilterContainer flt=((Filterable) re).getFilter()
    I am stuck and need this in uregent.
    Please help.

    Hi Rajeev,
    To retrieve a FilterContainer you will need to traverse the report structure:
    ReportStructure boReportStructure = boDocumentInstance.getStructure();
    ReportContainer boReportContainer = (ReportContainer) boReportStructure.getReportElement(0);
    FilterContainer boFilterContainer = null;
    if (boReportContainer.hasFilter()) {
         boFilterContainer = boReportContainer.getFilter();
    } else {
         boFilterContainer = boReportContainer.createFilter(LogicalOperator.AND);
    Calling boDocumentInstance.getStructure() will retrieve the entire structure for the document.
    Calling boReportStructure.getReportElement(0) will retrieve the structure for the first report of the document.
    Hope this helps.
    Regards,
    Dan

  • How manage IDOC processing IDOC_INPUT_INVOIC_FI (post FB01 or park FBV1)

    Hi,
    i would like use standard FM IDOC_INPUT_INVOIC_FI (and IDOC_INPUT_INVOIC_MM) for processing IDOC invoic02 but i need to manage when i post idoc (using tcode FB01) and when park (FBV1). Default FM IDOC_INPUT_INVOIC_FI read these parameters from T076S but i need change parameter in user-exit(?) dynamicaly.
    form programmparameter_lesen tables para_tab
    if t076s-ediprp = 'X'.
            if verarbeitung = 'FI'.
              para_tab-tcode = 'FBV1'.
            elseif verarbeitung = 'MM'.
              para_tab-tcode = 'EDI4'.
            endif.
          else.
            if verarbeitung = 'FI'.
              para_tab-tcode = 'FB01'.
            elseif verarbeitung = 'MM'.
              para_tab-tcode = 'EDI1'.
            endif.
          endif.
    Thanks

    Hi,
    I have the same problem. Did you find an answer to this?
    thanks

  • How to open other programs (Say MS Office word ) through java code.

    Hi,
    Scenario is...
    When we click a button i need a new (blank) word document to be opened (in MS office).
    MS office is just for an example. It can be acrobat reader,winamp,windows media player
    If you dont know the way to do this, please dont post "It is not possible".
    Thank you
    Ashish P.J

    ofcourse by using "process" and "runtime" and "exec" i can open a notepad,calc....
    exec(notepad);
    exec(calc);but what about excel? or word or other applications...
    exec(excel);wont open a blank excel sheet
    even if i give the path to excel(C:\Progarmfiles\.....what ever)

  • Problem in Document parking through BAPI_ACC_DOCUMENT_POST

    Hi,
       I am trying to park the document using FM BAPI_ACC_DOCUMENT_POST or FM BAPI_ACC_GL_POSTING_POST.
    Here I am making use of the BADI ACC_DOCUMENT to pass the value '2' to C_ACCHD-STATUS_NEW ( C_ACCHD-STATUS_NEW = '2')  by which it should actually park the document.The process is successfull where i am getting the message like "document posted successfully "  and document number generated but I could not see the document through FBV1 or FB01. Can anyone please through some light on this. Thanks in Advance.

    Hi Sarath,
    I have done this let me tell you the approach.
    Step 1: you should implement the BTE RWBAPI01.
    Step 2: Pass value '2' to DOCUMENT_HEADER-STATUS_NEW of the changing parameter of BTE. Now the document will get parked successfully. Please find the sample code.
    TABLES: bsik.
      DATA: w_doc_header        TYPE bapiache09,
            t_accountreceivable TYPE TABLE OF  bapiacar09,
            w_accountreceivable TYPE   bapiacar09,
            t_accountpayable    TYPE TABLE OF   bapiacap09,
            w_accountpayable    TYPE    bapiacap09,
            t_accounttax        TYPE TABLE OF   bapiactx09,
            w_accounttax        TYPE  bapiactx09,
            t_currencyamount    TYPE TABLE OF bapiaccr09,
            w_currencyamount    TYPE  bapiaccr09,
            t_extension2        TYPE TABLE OF   bapiparex,
            w_extension2        TYPE  bapiparex,
            t_extension1        TYPE TABLE OF   bapiacextc,
            w_extension1        TYPE    bapiacextc,
            t_accountgl         TYPE TABLE OF bapiacgl09,
            w_accountgl         TYPE  bapiacgl09,
            w_accountgl_1       TYPE  bapiacgl09,
            t_return            TYPE TABLE OF bapiret2,
            w_lineitems         TYPE zst_vendor_items,
            w_return            TYPE bapiret2,
            l_amount            TYPE char18,
            t_bsik              TYPE TABLE OF bsik,
            w_bsik              TYPE  bsik,
            l_dmbtrp            TYPE bapidmbtr,
    *        l_result            TYPE bapidmbtr,
            l_dmbtrn            TYPE bapidmbtr,
            l_result            TYPE bapidmbtr,
            lv_type             TYPE bapiache09-obj_type,
            lv_key              TYPE bapiache09-obj_key,
            lv_sys              TYPE bapiache09-obj_sys,
            l_fiyrs             TYPE budat,
            l_fiyrt             TYPE allgstid,
            l_index             TYPE sy-index,
            l_belnr             TYPE belnr_d,
            l_datum             TYPE bapi3007-key_date,
            l_message           TYPE char20,
            l_postingdate       TYPE budat,
            l_docdate           TYPE budat,
            l_glacno            TYPE hkont,
            lv_pos              TYPE posnr_acc,
            l_lifnr             TYPE lifnr VALUE '10089',
            l_counter           TYPE posnr_acc VALUE '0000000001',
            l_costcenter        TYPE kostl,
            l_date              TYPE char2,
            l_month             TYPE char2,
            l_year              TYPE char4.
    *---Fill GL details-----*
      CLEAR: w_accountgl,w_doc_header,w_accountpayable,
      w_currencyamount, l_dmbtrp,l_dmbtrn,lv_type,lv_key,lv_sys,
      e_message,w_lineitems,l_year,l_month,l_date.
      REFRESH: t_accountgl[],t_accountpayable[],t_currencyamount[],
               t_extension1[],t_return[].
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
        EXPORTING
          input  = i_vendor
        IMPORTING
          output = l_lifnr.
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
        EXPORTING
          input  = w_lineitems-glacno
        IMPORTING
          output = l_glacno.
      SPLIT i_postingdate AT '-' INTO l_year l_month l_date.
      CONCATENATE l_year l_month l_date INTO l_postingdate.
    *  l_postingdate = i_postingdate.
      CLEAR: l_year,l_month,l_date.
      SPLIT i_docdate AT '-' INTO l_year l_month l_date.
      CONCATENATE l_year l_month l_date INTO l_docdate.
    *  l_docdate     = i_docdate.
    *---Fill Header details-----*
      w_doc_header-bus_act    = 'RFBU'."'RMRP'.
      w_doc_header-obj_type   = 'BKPFF'."'REACI'."'VBRK'.
      w_doc_header-obj_key    = '$'.
      w_doc_header-obj_sys    = 'T90CLNT090'.
      w_doc_header-username   = sy-uname.
      w_doc_header-header_txt = i_hdrtext."'Vendor Invoice '.
      w_doc_header-comp_code  = i_compcode."'3000'."p_bukrs.
      w_doc_header-doc_date   = l_docdate.
      w_doc_header-pstng_date = l_postingdate." l_postingdate.
      w_doc_header-doc_type   = i_doctype."'KR'.
      w_doc_header-ref_doc_no = i_reference."'KR'.
    *---Fill Vendor details---------*
      w_accountpayable-itemno_acc  = '0000000001'.
      w_accountpayable-vendor_no   = l_lifnr.
      w_accountpayable-comp_code   = i_compcode."'3000'."p_bukrs.
      w_accountpayable-pymt_meth   = i_payment_method."'T'.
      w_accountpayable-pmnttrms    =  '0002'.
      APPEND w_accountpayable TO t_accountpayable.
    *------Segregating Positive and Negative Amounts---------------------*
      w_currencyamount-itemno_acc   = '0000000001'.  " gl accou +ve 40
      w_currencyamount-currency_iso = i_currency."'USD'.
      w_currencyamount-amt_doccur   = i_amount * -1."500.
      APPEND w_currencyamount TO t_currencyamount.
      w_extension1-field1       = '000000000131'.  "gl psokey
      APPEND w_extension1 TO t_extension1.
      LOOP AT t_lineitems INTO w_lineitems.
        CLEAR: w_accountgl,w_accountgl_1,l_costcenter.
        l_counter = l_counter + 1.
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
          EXPORTING
            input  = w_lineitems-glacno
          IMPORTING
            output = l_glacno.
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
          EXPORTING
            input  = w_lineitems-costcenter
          IMPORTING
            output = l_costcenter.
        w_accountgl-itemno_acc      = l_counter."'0000000001'.
        w_accountgl-gl_account      = l_glacno."'0000113100'.
        w_accountgl-item_text       = i_hdrtext."'Test'.
        w_accountgl-comp_code       = i_compcode."'3000'."p_bukrs.
        w_accountgl-value_date      = l_postingdate.
        w_accountgl-pstng_date      = l_postingdate.
        w_accountgl-doc_type        = i_doctype."'KR'.
        w_accountgl-segment         = w_lineitems-segment."'SERV'.
        w_accountgl-partner_segment = w_lineitems-partnerseg.
        w_accountgl-cs_trans_t      = w_lineitems-transtype.
        w_accountgl-costcenter      = l_costcenter."'0000000328'.
        w_accountgl-fis_period      = l_postingdate+4(2).
        w_accountgl-fisc_year       = l_postingdate+0(4).
        APPEND  w_accountgl TO t_accountgl.
        IF w_lineitems-credit   = 'H'.
          w_currencyamount-itemno_acc   = l_counter."'0000000002'.
          w_currencyamount-currency_iso = i_currency."'USD'.
          w_currencyamount-amt_doccur   =  -1 * w_lineitems-amount. "500.  " vendor -ve 31
          APPEND w_currencyamount TO t_currencyamount.
          CONCATENATE l_counter '50' INTO w_extension1-field1 .
          APPEND w_extension1 TO t_extension1.
        ELSE.
          w_currencyamount-itemno_acc   = l_counter."'0000000002'.
          w_currencyamount-currency_iso = i_currency."'USD'.
          w_currencyamount-amt_doccur   =  1 * w_lineitems-amount. "500.  " vendor -ve 31
          APPEND w_currencyamount TO t_currencyamount.
          CONCATENATE l_counter '40' INTO w_extension1-field1 .
          APPEND w_extension1 TO t_extension1.
        ENDIF.
        CLEAR :   w_currencyamount,w_lineitems,w_accountgl.
      ENDLOOP.
    *  w_extension1-field1 = 'PARK' .
    *  APPEND w_extension1 TO t_extension1.
      CALL FUNCTION 'BAPI_ACC_DOCUMENT_CHECK'
        EXPORTING
          documentheader = w_doc_header
        TABLES
          accountgl      = t_accountgl
          accountpayable = t_accountpayable
          currencyamount = t_currencyamount
          extension1     = t_extension1
          return         = t_return.
      REFRESH: t_return[].
      CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST'
        EXPORTING
          documentheader = w_doc_header
        IMPORTING
          obj_type       = lv_type
          obj_key        = lv_key
          obj_sys        = lv_sys
        TABLES
          accountgl      = t_accountgl
          accountpayable = t_accountpayable
          currencyamount = t_currencyamount
          extension1     = t_extension1
          return         = t_return.
      READ TABLE t_return INTO w_return WITH KEY type = 'E'.
      IF sy-subrc <> 0.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
        CLEAR: l_message.
        CONCATENATE 'Vendor Invoice'  lv_key+0(10) 'Created' INTO e_message
        SEPARATED BY ''.
      ELSE.
        READ TABLE t_return INTO w_return INDEX 2.
        e_message = w_return-message.
      ENDIF.

  • How to get the external storage card serial no. through j2me code

    hello friends,
    I am developing an application in J2ME, in which i want to know the external storage card information(i.e serial number or its unique id).
    Is there anyway through which i can get this information similar to System.getproperty().
    It is very urgent.
    can someone please help me???????

    Hi Jason,
    I wasn't able to find a C# function that would obtain the serial number for a PXI card. However, I believe you could use the VI_ATTR_MODEL_NAME function to get the model name of the device. Therefore, you would know whether it was the PXI-8430 or the PXI-8431. If this does not work, your workaround will work like you said. I know that this is not your desired way of achieving this, however, it will work. I can continue looking though and see if I can find a function that will return the serial number. 
    Thanks,
    Kevin S
    Applications Engineer
    National Instruments

  • Non PO documents parked in FV60 cannot be posted through FBV0.

    Hi,
    I am trying to post  a document parked through FV60 in FBV0 Tcode, but the system says that the document is already posted in that compnay code even though it is in parked condition.. I tried posting some other parked documents but the system is showing the same error. It is only happening to documents parked through FV60. The documents parked though FV50 can be posted.
    Can anybody help me solve this issue.
    Thanks,
    Vardhana Reddy.

    Please check the database of deriving the actual state of the document.
    Check the table VBKPF and VBSEG whether the entry is there in the database of not.
    Unless and until we get to know the state of document at the data base level , it would be difficult to comment.
    Cheers,
    Dewang

  • Adjustments in CO for posted FI documents/invoices

    Dear,
    We are posting FI documents/invoices through an interface, using a BAPI. This BAPI allows us to enter the Foreign currency amount and the exchange rate.
    Because the external application creates FI documents with minor exchange rate differences, we also take over the Local currency amount via a workaround.
    This means: for example, that an invoice is posted with
    foreign currency amount = 1500
    exchange rate = 1,5911
    local currency amount = 2387,13
    (while calculated correctly, the local currency amount should be 2386,65)
    Each FI (finance) posting generates a posting in CO (controlling).
    The problem now is the Controlling document that is posted (controlling document always posted in local currency): SAP recalculates the local currency amount, via the foreign currency amount and the exchagne rate...
    Result: the local currency in controlling is 2386,65, while it should be 2387,13 to be in line with FI.
    Anybody has any idea how/if we could change the local currency amount posted in controlling document somehow?
    Because it is strange that FI is not in line with CO... this should not be the case of course, reporting is to be done based on CO, not on FI so this creates... problems.
    Is there any way that someone would know that we can fix it so that also controlling takes over these local ánd foreign currency amounts during the posting to CO instead of recalculating them itself?
    Many thanks in advance!

    Yes, that is true.
    But the idea is that they want to display the exchange rate that is "used"/valid that day or period, yet taking over the amounts as they are.
    So it would have to stay like this:
    - Local currency amount taken over
    - Exchange rate from the document taking over (this value can be divergent from the local/foreign curr amount, due to rounding differences).
    - Foreign currency amount taken over
    In CO, we would also need to adjust the amount to the local currency amount of the invoice instead of the recalculated amount by SAP.
    Is it in any way possible to adjust this amount?
    The solution would be to still use our custom built program to read in the information and make the postings and after the posting was done, adjust the CO document (if this is possible...) by an update of the program.
    As each posting in FI of either an invoice, credit note or GL document automatically creates a CO document.
    Anyone an idea on how to adjust an (automatic posted) CO document please?
    Thank you very much

  • Posting FI documents

    i want to post FI documents from old company code to new company code using these functions:POSTING_INTERFACE_START
                           POSTING_INTERFACE_DOCUMENT
                            POSTING_INTERFACE_END
    Can somebody show me how i can implement it in abap code

    Hi,
    DATA: ftp east TYPE ftp east OCCURS 0 WITH HEADER LINE.
    * Internal accounting cut place initialize
    CALL FUNCTION “POSTING_INTERFACE_START”
    EXPORTING
    i_function = “I”
    more i_user = “”
    EXCEPTION
    client_incorrect = 1
    function_invalid = 2
    group_name_missing = 3
    mode_invalid = 4
    update_invalid = 5
    OTHERS = 6.
    * Head
    PERFORM fill_ftpost USING “K” “1” “BKPF BUDAT” “31102006”.
    PERFORM fill_ftpost USING “K” “1” “BKPF BLDAT” “31102006”.
    PERFORM fill_ftpost USING “K” “1” “BKPF BLART” “MD”.
    PERFORM fill_ftpost USING “K” “1” “BKPF BKTXT” “LALELU”.
    PERFORM fill_ftpost USING “K” “1” “bkpf belnr” “20808599”.
    PERFORM fill_ftpost USING “K” “1” “BKPF XBLNR” “123”.
    * IF EMERGENCY control identifier IS INITIAL.
    PERFORM fill_ftpost USING “K” “1” “BKPF XMWST” “X”.
    * ENDIF.
    PERFORM fill_ftpost USING “K” “1” “BKPF BUKRS” “1000”.
    * PERFORM fill_ftpost USING “K” “1” “BKPF MONTH” wa_mhnk-ausdt+4 (2).
    PERFORM fill_ftpost USING “K” “1” “BKPF WAERS” “EUR”.
    * Pos1 (debtor)
    PERFORM fill_ftpost USING “P” “1” “BSEG BSCHL” “01”.
    PERFORM fill_ftpost USING “P” “1” “BSEG KUNNR” “10926014”.
    PERFORM fill_ftpost USING “P” “1” “BSEG WRBTR” “116,00”.
    * IF EMERGENCY control identifier IS INITIAL.
    PERFORM fill_ftpost USING “P” “1” “BKPF XMWST” “X”.
    * PERFORM fill_ftpost USING “P” “1” “BSEG MWSKZ” control identifier.
    * ENDIF.
    PERFORM fill_ftpost USING “P” “1” “BSEG ZTERM” “1003”.
    PERFORM fill_ftpost USING “P” “1” “BSEG ZFBDT” “31102006”.
    PERFORM fill_ftpost USING “P” “1” “BSEG SGTXT” “LALELU”.
    PERFORM fill_ftpost USING “P” “1” “BSEG ZUONR” “LALELUKOPF”.
    * Pos2 (revenue account)
    PERFORM fill_ftpost USING “P” “2” “BSEG BSCHL” “50”.
    PERFORM fill_ftpost USING “P” “2” “BSEG HKONT” “409600”.
    PERFORM fill_ftpost USING “P” “2” “BSEG WRBTR” “100,00”.
    * IF EMERGENCY control identifier IS INITIAL.
    PERFORM fill_ftpost USING “P” “2” “BSEG MWSKZ” “A1”.
    * ENDIF.
    PERFORM fill_ftpost USING “P” “2” “BSEG SGTXT” “LALELU”.
    PERFORM fill_ftpost USING “P” “2” “COBL PRCTR” “NETPHONE”.
    PERFORM fill_ftpost USING “P” “2” “BSEG ZUONR” “LALELU”.
    PERFORM book TABLES ftp east.
    FORM fill_ftpost USING p_stype
    p_count
    p_fnam
    p_fval.
    ftp east type = p_stype.
    ftp east COUNT = p_count.
    ftpost fnam = p_fnam.
    ftpost fval = p_fval.
    CONDENSE ftpost fval.
    APPEND ftp east.
    END FORM. “FTPOST_FIELD
    *& form BEECHES
    * text
    * --> P1 text
    * <- p2 text
    TABLES ftp east books FORM.
    DATA: blntab TYPE blntab OCCURS 0 WITH HEADER LINE,
    fttax TYPE fttax OCCURS 0 WITH HEADER LINE.
    DATA: msgid LIKE system-msgid,
    msgno LIKE system-msgno,
    msgty LIKE system-msgty,
    msgv1 LIKE sy-msgv1,
    msgv2 LIKE sy-msgv2,
    msgv3 LIKE sy-msgv3,
    msgv4 LIKE sy-msgv4.
    CALL FUNCTION “POSTING_INTERFACE_DOCUMENT”
    EXPORTING
    i_tcode = “FB01”
    IMPORTING
    e_subrc = system-subrc
    e_msgid = msgid
    e_msgty = msgty
    e_msgno = msgno
    e_msgv1 = msgv1
    e_msgv2 = msgv2
    e_msgv3 = msgv3
    e_msgv4 = msgv4
    TABLES
    t_ftpost = ftp east
    t_fttax = fttax
    t_blntab = blntab
    EXCEPTION
    account_missing = 1
    company_code_missing = 2
    posting_key_invalid = 3
    posting_key_missing = 4
    record_type_invalid = 5
    transaction_code_invalid = 6
    amount_format_error = 7
    too_many_line_items = 8
    company_code_invalid = 9
    screen_not_found = 10
    no_authorization = 11
    OTHERS = 12.
    IF system-subrc <> 0.
    MESSAGE ID SYSTEM-MSGID TYPE SYSTEM-MSGTY NUMBER SYSTEM-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    REFRESH ftp east.
    REFRESH fttax.
    END FORM. “BEECHES
    Regards
    Sudheer

  • Posting  with document splitting

    What is posting with document splitting ?  Transaction code for document splitting..
    <b>Helpful 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.

Maybe you are looking for