BAPI_ACC_DOCUMENT_POST line item text SGTXT not updating

Hi,
We have copied following LSMW for opening balance upload from ECC 5  to ECC 6.
When we upload through LSMW (BAPI_ACC_DOCUMENT_POST ) which is used for uploading opening balances of G/L accounts field Long Text (Tech Name: ITEM_TEXT) not updating.
Form Vendor and Customer Opening balances LSMWs  Long Text (Tech Name: ITEM_TEXT) field of G/L line item is not updating. According to my observation data field  SGTXT of BSEG table. not getting updated through this LSMW. I have tried same transaction through  T Code F-02 and it is updating field SGTXT of BSEG  table. As per confirmation from business same LSMWs  are working fine in ECC 5.
Jigar

hi experts,
no body faced this situation?
Any suggestions ?
kindly give me any inputs
thanks & regards,
Raghul
Edited by: Raghul Gandhi on Aug 11, 2009 11:32 AM
Edited by: Raghul Gandhi on Aug 11, 2009 12:56 PM

Similar Messages

  • XVBAP has the new line item but does not update Sales Order

    Hi
    I need to update the sales order with a new line item when the line item has a base unit of measure as the sales unit. I need to then convert the base unit to sales unit with a whole figure and the rest can be in the base unit.
    I am able to see the update in the xvbap but the line item doesn't get updated.
    I am puting this code in a perform within
    MV45AFZB  within   Form  USEREXIT_CHECK_VBAP
    But I guess I am doing something wrong can someone please take a look at it and tell me what is wrong with the coding.
    *&  Include       ZSD_CREATE_NEW_LINE_ITEM              *
    *&      Form  create_new_line_item
          text
    -->  p1        text
    <--  p2        text
    FORM CREATE_NEW_LINE_ITEM .
      CONSTANTS: C_MEINH LIKE MARM-MEINH VALUE 'CSE'.
    Variables Used
      DATA: WS_WMENG LIKE VBEP-WMENG.
      DATA: INPUT  LIKE VBAP-KWMENG,
            WS_EA  LIKE VBAP-KWMENG,
            WS_CSE LIKE VBAP-KWMENG.
      DATA: WS_MVKE_VRKME LIKE MVKE-VRKME.
    Internal Tables and Structures
      DATA: WS_XVBAP LIKE XVBAP.
    DATA:
    it_vbap  LIKE vbap OCCURS 0 WITH HEADER LINE,
    it_vbep  LIKE vbep OCCURS 0 WITH HEADER LINE,
    it_xvbap LIKE vbapvb OCCURS 0 WITH HEADER LINE.
      DATA: BEGIN OF WS_MARM,
              MEINH LIKE MARM-MEINH,
              UMREZ LIKE MARM-UMREZ,
              UMREN LIKE MARM-UMREN,
            END OF WS_MARM.
      CLEAR WS_MVKE_VRKME.
      SELECT SINGLE VRKME INTO WS_MVKE_VRKME
        FROM MVKE
        WHERE MATNR EQ XVBAP-MATNR
        AND   VKORG EQ XVBAK-VKORG
        AND   VTWEG EQ XVBAK-VTWEG.
      IF VBAP-VRKME <> WS_MVKE_VRKME.
       LOOP AT XVBAP.
          SELECT SINGLE MEINH UMREZ UMREN
            FROM MARM
            INTO WS_MARM
            WHERE MATNR = VBAP-MATNR
            AND   MEINH = WS_MVKE_VRKME.
          IF XVBAP-MEINS <> WS_MVKE_VRKME.
            IF NOT XVBAP-KWMENG = 0.
              WS_WMENG = XVBAP-KWMENG / WS_MARM-UMREZ.
              IF WS_WMENG > 1.
    This means that the line item needs to be split into CSE & EA
                  INPUT  = XVBAP-KWMENG.
                  WS_EA  = INPUT / WS_MARM-UMREZ.
                  WS_CSE = WS_EA.
                  WS_EA  = WS_CSE * WS_MARM-UMREZ.
                  WS_EA  = INPUT - WS_EA.
    Now we have the qty. split into EA & CSE. Now to
    assign it to xvbap
                  XVBAP-KWMENG = WS_EA.
                  XVBAP-VRKME  = WS_MVKE_VRKME.
              READ TABLE XVBAP WITH KEY POSNR = XVBAP-POSNR.
                MODIFY XVBAP INDEX SY-TABIX.
                  WS_XVBAP = XVBAP.
                  WS_XVBAP-KWMENG = WS_CSE.
                MOVE-CORRESPONDING WS_XVBAP TO XVBAP.
                INSERT XVBAP INDEX SY-TABIX.
              ENDIF.
            ENDIF.
          ENDIF.
      ENDIF.     " IF xvbap-vrkme 'EA'.
    ENDFORM.    " create_new_line_item

    Hi Clark,
    Pls check the Include MV45AFZZ instead of the one which you are using . Here in this include MV45AFZZ you can have access to the Header and Line items data .
    Here in this include
          FORM USEREXIT_SAVE_DOCUMENT                                   *
          This userexit can be used to save data in additional tables   *
          when a document is saved.                                     *
          If field T180-TRTYP contents 'H', the document will be        *
          created, else it will be changed.                             *
          This form is called at from form BELEG_SICHERN, before COMMIT *
    form userexit_save_document.
    Endform.
    Either you can write the code you want to update the XVABP table here or you can use the form .
          FORM USEREXIT_MOVE_FIELD_TO_VBAP                              *
          This userexit can be used to move some fields into the sales  *
          dokument item workaerea VBAP                                  *
          SVBAP-TABIX = 0:  Create item                                 *
          SVBAP-TABIX > 0:  Change item                                 *
          This form is called at the end of form VBAP_FUELLEN.          *
    form userexit_move_field_to_vbap.
    endform.
    This are the 2 performs in this include where you can do you code and it will defnitely solve your problem.
    Good Luck to you . Let me know if your problem get solved.
    Thanks & Regards,
    Naidu.

  • Line item net price not updated in overview screen net price&line item

    Hi ,
    We have down payment order with 10 line items
    In orders with billing plan, the sales line item net price, if we entered manual condition price (ZPNP) ,gets updated in item condition net value. But it does not simultaneously gets updated at once in 1) Sales order overview screen net value 2) Billing plan header 3)Sales order overview screen line item condition  net value. Updation at these three places happens only after clicked on header conditions.
    However, in case of the last item in the sales order, the updation happens simultaneously in all the 3 places i.e. 1)    item condition net value. 2) Sales order overview screen net value 3) Billing plan header 4) Sales order overview screen line item condition net value.
    This is also true for the order with only single line item. We are faced a information popup message every time we change the item net price u201CItem 000100(100 is last line item number in sales order) exists already; the entry ignored u201C. This happens in case of all line items except the last line item. Also this does not happen in case where there is a single line item in order.
    Our requirement: The moment the net price of an item is change manually, it should get updated at all the 4 places mentioned above like it does in case of the last line item.
    Kindly help me to fix this problem.
    Regards,
    Adikesav

    Hi,
    Can u elaborate ur query ?
    By this FM you cannot create a SO . Use FM --> BAPI_SALESORDER_CREATEFROMDAT2
    Regards,
    MAdhukar Shetty

  • Reservation line item text - non update issue

    Hi,
       We have a custom BDC (call tran) to create reservation. One of the fields for the reservation is line item text. We had this program from July 2008 onwards and we have no issues. All of sudden from 01/15/09 , the line item text is not being populated in the reservation, but reservation creation is working as before. We checked our system, there is no change to that program and infact we had only 2 transports on that day and they are related to FI and not related to MM or reservation at all.
    We did all our debugging, but this is inside a wrapper RFC and the RFC is called from EAI subsystem. (Tibco) The SQL trace and RFC trace shows all data of RESB being updated except this text. We are going crazy on this since it is such a simple BDC program and working fine so far and stopped all of sudden.
    My question is, are there any config which all of sudden made this field not available for input or something like that? I tried in config, but I couldn't find anything.
    Can you help on this? Thanks,
    The other crazy parts are,
    1. We tried writing the BDCTAB into a unix file, but the file is not created - one of the reason could be the user is CPIC user and may not have authorization to write to unix inspite of this user has sap all access
    2. We tried writing the dump into a custom table, but even that is not working. But when we execute this in SE37 manually, it is creating both unix file (in development) and updating the table as well.
    Regards,
    Sundar.

    It's sure that something changed between the last run and 01/15/09. A few ideas :
    - When the program is run, start an authorization trace, and give missing authorizations to CPIC until there is no more authorization problem (this is the most important thing to do first !)
    - Make sure that you program displays correctly all CALL TRANSACTION messages and exceptions also.
    - Analyze customizing imported between the 2 runs of this program (look at transport requests in the import queue log).
    - "Save" importing parameters so that to redo the test (with CPIC user) :
    -- change the program to write the BDCDATA to a batch input session (BDC_OPEN_GROUP, etc., SM35), and so test it later.
    -- save them to test data as indicated by [note 517767 Automatically generate test data at function module call|http://service.sap.com/sap/support/notes/517767]

  • Reservation line item text non - update

    Hi,
       We have a custom BDC (call tran) to create reservation. One of the fields for the reservation is line item text. We had this program from July 2008 onwards and we have no issues. All of sudden from 01/15/09 , the line item text is not being populated in the reservation, but reservation creation is working as before. We checked our system, there is no change to that program and infact we had only 2 transports on that day and they are related to FI and not related to MM or reservation at all.
    We did all our debugging, but this is inside a wrapper RFC and the RFC is called from EAI subsystem. (Tibco) The SQL trace and RFC trace shows all data of RESB being updated except this text. We are going crazy on this since it is such a simple BDC program and working fine so far and stopped all of sudden.
    My question is, are there any config which all of sudden made this field not available for input or something like that? I tried in config, but I couldn't find anything.
    Can you help on this? Thanks,
    The other crazy parts are,
    1. We tried writing the BDCTAB into a unix file, but the file is not created - one of the reason could be the user is CPIC user and may not have authorization to write to unix inspite of this user has sap all access
    2. We tried writing the dump into a custom table, but even that is not working. But when we execute this in SE37 manually, it is creating both unix file (in development) and updating the table as well.
    Regards,
    Sundar.

    It solved by itself

  • FI Document line item text

    Hi Guru's,
    I try to copy the sales line item from the billing document to the FI document in line item text (SGTXT).
    I know that I have to use an user-exit      (EXIT_SAPLV60B_006 or BADI BADI_SD_ACCOUNTING) but I don't know how to find the link between them and if there is a function module to do that.
    Anybody could explain how please?
    Thanks,
    M.

    Hi,
    Solution given by Brad is correct.  This exit is triggered when the billing document is saved and released to accounting.  Put the break-point in this exit and save the Billing document in VF01.  The control will stop at this exit.
    Regards
    Vinod

  • Line Item Text not updated in SPL

    Hi All,
    Can anyone help me in this regard.
    When we change the Line Item Text in FI document the same has not been updated in SPL. Can anyone know the required configuration to be done in order to populate the changed items in SPL.
    Any help is highly appreciated.
    Thanks,
    Srini

    HI,
    a text change in general ledger line item will not be forwarded to spec. ledger automatically (as the change of a line item text triggers no posting to spec. ledger).
    But as you know the document relationship from GL doc. to SL doc go to the corresponding SL doc. and change the text if this is really needed (don't understand why the line item text is that important).
    Best regards, Christian

  • Line Item text to updated automatically with current month

    In this trxn, we have to always set the Posting variant every month, in spro.(set up line item text).
    spro->payroll india -> Reporting for Posting Payroll Results to Accounting->Activities in the AC System->Set Up Line Item Text.
    1000     Salary for the month of  June08
    Whatever text, we give at ID 1000, it gets updated in the accounting entries. What we require, that can it be automated , based on the payroll area/period. I mean, if I give Novu201907, then the text should be u201CSal for the month of Novu201907u201D.
    PC00_M99_CIPE - Execute run
    Document Date
    Posting variant                 SAP    Standard variant

    HI,
    a text change in general ledger line item will not be forwarded to spec. ledger automatically (as the change of a line item text triggers no posting to spec. ledger).
    But as you know the document relationship from GL doc. to SL doc go to the corresponding SL doc. and change the text if this is really needed (don't understand why the line item text is that important).
    Best regards, Christian

  • Line item text field from MIGO are not copied into FI line item text field

    Hi all on SCN, please, I need a help.
    It was created as required by the user a field status group with the text field required.
    This field status group was assigned to some accounts, in order to make my unit tests.
    u2003
    In development envirionment was made some tests directly in FI area, and it works properly.
    u2003
    But the user made a test using MIGO transaction, choosing in this transaction an account that he changed its field status variant to the one created in development environment, that make the text fiels required. So, to start, he donu2019t fill the text item of MIGO, and a message error appear stating that he needs to enter values in this field.
    After fill in the text fiels, he can save his work.
    u2003
    But the FI document generated donu2019t receive the line item text typed in MIGO, but receives the values on Reference document and Document Header text entered in the header of MIGO, what is missing, donu2019t is automatically copied MIGO text line items to FI documents line Items, does there is some additional configuration missing?
    Hope someone help me with this issues.
    Thanks in advanced!

    Hi,
    Material document will get updated in reference field in FI by default.  If for any reason, want to get this updated in text field, you need to define a subsititution in GGB1.
    Best Regards,
    Madhu

  • From line item text field in Fi not posted to COPA characteristic field?

    How do you create the link from the Line item Text field in FI to a characteristic field in COPA?
    I tried to create a characteristic field Text. from the domain VBELN in COPA.
    Although I can post from CRM the contract number to the Line itemText field in FI posting,
    I can't get this contract number to post to a characteristic field in COPA.
    Thanks,
    Sony

    program a bdc to tcode fb09
    A.

  • Item text is not appearing in the print output through IDOC?

    Hello ,
    I am changing the PO through IDOC. When ever there is change in the quantity ,net price and delivery date  the print out put is generated autoamtically and changes are appearing the print output.
    when ever there is change in the item text of PO print output is not generatiing but item text is updated in the PO.
    If i change manually print out is generating for item text also but through IDOC print output is not generated . please help to slove this isuue.
    i am passing the value as :
        idoc_data-segnam = 'E1BPMEPOTEXT'.
        e1bpmepotext-po_item = Po line item number .
        e1bpmepotext-text_id = txtid.
        e1bpmepotext-text_form = textform.
        e1bpmepotext-text_line = line item text .
        idoc_data-sdata = e1bpmepotext.
        APPEND idoc_data.
        CLEAR idoc_data.
        CLEAR e1bpmepotext.
    please help me it is urgent
    Thanks
    Venkatesh

    Hi Venkatesh,
    Check the condition record in transaction NACE. Whether the print output field is present in the condition record.
    Regards,
    Gajendra.

  • How to add the line item text in the Ledger line item report

    Hi SAP Gurus,
    I having one requirement from the user. He wants the line item text which we will enter in FB60/FB70/FB50 has to be shown in the Ledger line item report. Right now this field is not available. Is there any possible we can make this line item text in the ledger line item report i.e. FBL1N/FBL3N/FBL5N?
    advance thanks for the help.
    Regards,
    Deva.

    Hi,
    You can do the below to get this. (You can change the names of the function modules as per your wish/ organization naming convention):-
    Step 1:-
    Create function module Z_GET_SGTXT as below:-
    Import:-
    BELNR LIKE BKPF-BELNR
    BUKRS LIKE BKPF-BUKRS
    BUZEI LIKE BSEG-BUZEI
    GJAHR LIKE BKPF-GJAHR
    Export:-
    PRCTR LIKE BSEG-SGTXT
    FUNCTION Z_GET_SGTXT.
    ""Local Interface:
    *" IMPORTING
    *" VALUE(BELNR) LIKE BKPF-BELNR
    *" VALUE(BUKRS) LIKE BKPF-BUKRS
    *" VALUE(BUZEI) LIKE BSEG-BUZEI
    *" VALUE(GJAHR) LIKE BKPF-GJAHR
    *" EXPORTING
    *" VALUE(SGTXT) LIKE BSEG-SGTXT
    SELECT SINGLE SGTXT FROM BSEG INTO SGTXT WHERE GJAHR = GJAHR
    AND BELNR = BELNR
    AND BUKRS = BUKRS
    AND BUZEI = BUZEI.
    ENDFUNCTION.
    Step 2:-
    Then create the Function Modules as below:-
    Z_LINE_ITEMS_GET_SGTXT (Copy of SAMPLE_INTERFACE_00001650)
    FUNCTION Module Z_LINE_ITEMS_GET_SGTXT.
    ""Local Interface:
    *" IMPORTING
    *" VALUE(I_POSTAB) LIKE RFPOS STRUCTURE RFPOS
    *" EXPORTING
    *" VALUE(E_POSTAB) LIKE RFPOS STRUCTURE RFPOS
    Initialize Output by using the following line
    E_POSTAB = I_POSTAB.
    E_POSTAB = I_POSTAB. "<-- important
    CALL FUNCTION 'Z_GET_SGTXT'
    EXPORTING
    BELNR = I_POSTAB-BELNR
    BUKRS = I_POSTAB-BUKRS
    BUZEI = I_POSTAB-BUZEI
    GJAHR = I_POSTAB-GJAHR
    IMPORTING
    SGTXT = E_POSTAB-SGTXT
    EXCEPTIONS
    OTHERS = 1.
    ENDFUNCTION.
    Step3:-
    Transaction FIBF:-
    Settings -> Products -> of a Customer
    SGTXT Text in Line Item Display Active
    Settings -> P/S Module -> of a Customer
    00001650 SGTXT Z_LINE_ITEMS_GET_SGTXT
    Step 4:-
    Create the layout for FBL*N with display of the TEXT.
    Regards,
    Gaurav

  • To display line item text in FBL3N as it is displayed in FBL1N

    Hi Experts,
    Though the subject line presumes it to be a redundantly asked question but I could not comprehend the exact solution of this. So posting my entire scenario in a hope to get an effective response.
    Scenario: -
    We are not able to see the text when we run GL account balances. The text is maintained in the field text (in Basic data) and PO text (in fields PO Reference) . Now when you use transaction FBL1N to see vendor Open items, you can see the text (line item text) but the same is not seen when we run FBL3N (GL Account Line Items).
    In Technical (simpler) terms: -
    When we display an invoice using MIR4 say invoice number is 123456 (Vendor - 4567, GL account - 78946) , we can see line item text maintained there in field "Text" in Basic data tab. Now run transaction FBL1N for vendor 4567, text (BSEG-SGTXT)  is displayed in line item text. But when we run FBL3N text (BSEG-SGTXT) is not seen.
    How to display the line item text in FBL3N as well ?? In my initial manouver of SDN forum, i found solutions like BTE and pointers to substitutions. Kindly let me know a probable solution.
    Thanks a lot in advance.
    ~
    Shreya

    Hi,
    program RFITEMGL calls fm FI_ITEMS_DISPLAY thus:
      call function 'FI_ITEMS_DISPLAY'
        exporting
          caller_repid  = c_repid_gl
          acctype       = c_koart_gl
          x_opvw        = x_gl_opvw
          x_change      = x_change
          i_u_save      = gd_alvsave
          is_u_variant  = gs_variant
          it_u_fieldcat = gt_fieldcat[]
          it_kontab     = it_accts[]
          it_slbtab     = it_comps[]
          it_t001       = it_h_t001[]
          it_skat       = it_h_skat[]
          it_skb1       = it_h_skb1[]
          x_grid        = x_grid
          x_inet        = pa_inet
        tables
          it_items      = it_pos.
    where c_koart_gl     like bseg-koart  value 'S'.
    BSEG-SGTXT has value when BSEG-KOART = 'K' and this might be the reason why it is not displayed.
    It seems the report only displays records with BSEG-KOART = 'S'.
    Best regards.

  • Can't modify line item text in financial document

    Dear all,
    In some cases I'm not able to modify line item text field in financial documents, and I don't know why.
    I've checked customizing and BSEG-SGTXT appears as modificable field in any case.
    As far as i know text field is not a relevant field, so the system should let me modify it if the customizing is right.
    Does anyone know if there could be any other customizing that affects this transaction (FB02)?
    Thanks

    Hi
    Since you indicated the entry is from goods receipt, I understand that you are trying to change the line item text in a GL line item.
    If so, please ensure the following:
    1. in OB32, for Account type S and Field name BSEG-SGTXT, the trasaction type is blank, "Field can be changed" is ticked and "Posting period not closed" and "Line item not cleared" are not ticked. 
    2. In OB32, for Account type S and field name BSEG-SGTXT, no other entry is there along with company code which has a different rule.
    3. You can enough authorization to change the document.
    4. If you can change the text, but cannot save it, then please check whether any validation/BTE is in place which is not allowing to do so.
    Regards

  • Document line item text in Clearing document

    Dear All,
    Document line item text
    My client want the vendor invoice line item text(BSIK-SGTXT) to be captured in the corresponding clearing document line item text field(BSAK-SGTXT).
    (i.e) The vendor invoice and its payment clearing document should have the same text in the document line item text filed.
    According to me i can use  a substition rule and a user exit to assign the values. but here comes a problem* i have one clearing document against 3 to 4 vendor invoice documents* so my programming logic has got stucked here? like which vendor invoice line item text the clearing document should pick up?
    is there any other enhancements possible or can some one help me with the programming logic to be applied here.
    Thank you
    Regards,
    Vasanth D

    like which vendor invoice line item text the clearing document should pick up?
    is there any other enhancements possible or can some one help me with the programming logic to be applied here
    Why don't you discuss the issue with your client?  As you said, if you pay 5 invoices in a single run, the payment document item text can't carry all of those texts unless you use the long text.  What is the reason for the requirement?  Perhaps there's another solution.

Maybe you are looking for

  • Need Working Drivers for Macbook 2,1 running Windows 8 (64-bit) using Boot Camp 5 (Mountain Lion)

    So I found my old Macbook 2,1 on Leopard the other day and decided to make it my dedicated Windows computer. I wanted to run Windows 8 on it, so I figured out I needed Boot Camp 5. Then I realized Boot Camp 5 only runs on Mountain Lion, so I went tho

  • How do I get photos from my PC to my I-Pad?

    How do I get photos from my PC to my I-Pad?

  • AP Power difference between WEP and WPA

    Can someone tell me what to look for? I have two SSIDs on an AP: one is WEP and the other is WPA. I have 5 bars on WEP ssid, but only 2 on the WPA side and eventually down to one. Thanks, John

  • Date Field Formatting

    Hi All, I'm back already! Learning Flash is beginning to get to me again so I returned for yet more help! I've written the following AS code to get tomorrow's date . . // Calculates today's date and tomorrow's date var dToday:Date = new Date(); dToda

  • Using a reserved name in a structure.

    I am using CF9's fast way to create a structure, ie: <cfset myStruct = { keyName = {     innerKey1 = "value",      innerKey2 = "anotherValue" }> One of the keys I want to make is called "mod", however that is a reserved function (Modulus).  Is there