FB05 - trans to be processed and first line item PK for doc type

Hi all,
Me quite confused of the entry for the following document type in FB05
DG - cust credit memo
DR - cust invoice
SA- gl acc doc
SB - gl acc posting
KG - vdr credit memo
DZ - customer payment
Need the help to let me know for document type above, what radio button to choose in transaction to be processed and also what posting key use at first line item.
Also if i choose the wrong transaction to be processed radio button, any impact?
thanks
rgds

Document type is primarily used to distinguish different various types of transactions. Ultimately, there are only two effects in accouting - debit and credit. Thus, doc type helps distinguish btw various types of accounting entries. It also controls certain field status while document posting and also drives the number range for the accounting document.
Posting keys determine whether a transaction will be a credit or a debit. They also have an influence over the field status of the document entry screen. Posting keys are broadly divided into those belonging to
Customer                             - Acct type C
Vendors                               - Acct type V
GL                                       - Acct type G
Fixed Assets                        - Acct type A and
Material Mgmt. transactions   - Acct type M
For each account type there are both debit and credit posting keys. You can clik on F4 on the posting key field and see the various entries. You will understand.
Thus, which posting key to enter depends on the transaction you want to enter.
Regards,

Similar Messages

  • Delete a line item from Sales Doc type RE

    Unable to delete a line item from a sales order linked to document type RE.  Get a long runtime - no specific error message.  Use the 'Stop Transaction' option to end the transaction.
    Have done thorough testing and can delete line items linked to all other sales document types in our system.
    Researched SPRO to see if there was a line item deletion option that was not created for sales doc type RE - but can find nothing.
    On a critical time line here - this was discovered during Hotpak installation testing which is scheduled to move to PRD June 22.  Question as to why we have not run across this issue before now??  - I don't think we have had an occasion to delete a returns line item before - but I want to have the option if available.
    Any help to resolve this issue would be appreciated.
    Regards
    Patsy

    Thanks for your response.
    After creating document type RE, execute VA02 transaction, select line item, select delete line item icon.  The system goes into runtime and just stays there.  No error message, no abap dump.  To escape the transaction, I have to select 'stop transaction'.
    I have tested all other document types we use in our system,  (including our customized transactions) SO, CR, DR, etc., and the system allows line item deletion.

  • Make changes to the line item depending upon doc type n sp. GL ind in F-48

    I want to make changes to the line item depending upon the document type and special GL indication for the transaction code F-48.
    Depending upon document type and special GL indicator i want to calculate the work contract tax during simulation in transaction code F-48.

    Hi,
    You want to deduct WCT when you use particular document type and special gl indicator.
    I just want to know the reason why you want to determine the WCT based on the above conditions.
    I created WCT as withholding tax types and assigned to vendor master. So when the user booking transactions he will choose the respective WCT tax type and tax code so system will deduct the amount and the same updated in WITH_ITEM.
    Or you made a down payment request through T.code F-47 and when you want to book the actual transaction in F-48 then choose line item from down payment request.
    Give me your requirement in clear if the above is not clear
    Regards,
    Sankar

  • Condition type not getting populated at first line item of Sales order

    Hi Experts,
    We are creating Sales order through IDOC(Inbound function: IDOC_INPUT_ORDERS) for Document type ZXX then condition type is geeting populated at both line item, i have tried creating the Sales order through IDOC for document type ZYY the condition type is not getting populated in first line item, but for secod line item condition is getting populated.
    we also checked pricing procedures related to this document types and we found these pricing types are mentioned in corresponding pricing procedures.
    Let us know  there are any other possible ways to find the same
    please help.
    Thanks!

    Hi Rajani,
    check the user exit in the FM..IDOC_INPUT_ORDERS
    check if any filters kept for condition type field..
    check the belwo user eixuts
    ORDCHG I VEDB0001 Sales Ord. Change
    ORDERS I VEDA0001 Sales Orders..
    Regards,
    Prabhudas

  • TS3048 When I press 1 I get a q and a 1.  When I press q I get a q and a 1.  This carries on all along the numbers and first line of letters. Help!!! Wireless keyboard.

    When I press 1 I get a q and a 1.  When I press q I get a q and a 1.  This carries on all along the numbers and first line of letters. Help!!! Wireless keyboard.

    https://support.mozilla.org/en-US/kb/Hyperlinks-in-Messages-Not-Working

  • Module pool- only first line item data saved, rest disappears??

    Hi Experts,
    I have one module pool that was developed by other developer. It has header details input fields and items details input by table control.
    Now below scenarios occur:
    1) When I enter only one line item, and save it, the data is saved properly
    2) when I enter more than one item data and save it, it only saves first line item data.
    3).When I press ENTER button after every new line item data, it saves all the data properly.
    I tried to debug the report but could not find the exact problem statement as the code is written very badly without any comments.
    I am pasting the flow logic code below for the screen.
    So please help me figure out the problem and solution for it.
    +++++++++++++++++++++++++++++++++++
    PROCESS BEFORE OUTPUT.
    *&SPWIZARD: PBO FLOW LOGIC FOR TABLECONTROL 'IT_MSEG'
       MODULE it_mseg_change_tc_attr.
    *&SPWIZARD: MODULE IT_MSEG_CHANGE_COL_ATTR.
       LOOP AT   it_gp
            INTO wa_gp
            WITH CONTROL it_mseg
            CURSOR it_mseg-current_line.
         MODULE it_mseg_get_lines.
    *&SPWIZARD:   MODULE IT_MSEG_CHANGE_FIELD_ATTR
       ENDLOOP.
    * MODULE STATUS_9001.
       MODULE deactive_screen.
    PROCESS AFTER INPUT.
    *&SPWIZARD: PAI FLOW LOGIC FOR TABLECONTROL 'IT_MSEG'
       LOOP AT it_gp.
         CHAIN.
           FIELD wa_gp-yposnr.
           FIELD wa_gp-matnr.
           FIELD wa_gp-maktx.
           FIELD wa_gp-meins MODULE check_uom ON INPUT..
    *      FIELD WA_GP-DOC_QTY.
    *      FIELD WA_GP-REC_QTY.
           FIELD wa_gp-gp_qty.
           FIELD wa_gp-chall_qty.
           FIELD wa_gp-netwr.
           FIELD wa_gp-remarks.
           FIELD wa_gp-exp_ret.
           MODULE it_mseg_modify ON CHAIN-REQUEST.
         ENDCHAIN.
         FIELD wa_gp-chk
           MODULE it_mseg_mark ON REQUEST.
       ENDLOOP.
       MODULE it_mseg_user_command.
    *&SPWIZARD: MODULE IT_MSEG_CHANGE_TC_ATTR.
    *&SPWIZARD: MODULE IT_MSEG_CHANGE_COL_ATTR.
       MODULE user_command_9001.
    +++++++++++++++++++++++++++++++++++
    Thanks,
    Vishal.

    Hi Aruna,
    Below is the code as you required.
    +++++++++++++++++++++++++++++
    MODULE user_command_9001 INPUT.
       ygp_header_mas-ret_type = v_gpt.
       CASE sy-ucomm.
         WHEN 'MBLNR'.
           PERFORM select_mblnr.
         WHEN 'DEL'.
           PERFORM select_delivery.
         WHEN 'INTI'.
           PERFORM grt_gi_details.
         WHEN 'GENT'.
           PERFORM get_ge_details.
         WHEN 'GP'.
           PERFORM get_returnable_gp.
         WHEN 'SAVE'.
           PERFORM gen_gp_number.
           PERFORM gen_data.
           PERFORM save_data.
         WHEN OTHERS.
           PERFORM get_ge_details_other.
           IF it_gp[] IS INITIAL.
             INSERT INITIAL LINE INTO it_gp INDEX 1.
           ENDIF.
       ENDCASE.
       IF v_entry = 07 .
         PERFORM serial_no1.
         PERFORM insert_row.
       ENDIF.
       IF sy-ucomm IS INITIAL.
         PERFORM calc_amt.
       ENDIF.
       CLEAR:sy-ucomm.
    ENDMODULE.                    "user_command_9001 INPUT
    +++++++++++++++++++++++++++++++
    MODULE it_mseg_user_command INPUT.
       ok_code = sy-ucomm.
       PERFORM user_ok_tc USING    'IT_MSEG'
                                   'IT_GP'
                                   'CHK'
                          CHANGING ok_code.
       sy-ucomm = ok_code.
    ENDMODULE.                    "IT_MSEG_USER_COMMAND INPUT
    ++++++++++++++++++++++++++++++++++
    MODULE it_mseg_modify INPUT.
       MODIFY it_gp
         FROM wa_gp
         INDEX it_mseg-current_line.
    ENDMODULE.                    "IT_MSEG_MODIFY INPUT    
    ====> Above module has some problem i think as while debugging it was not updating IT_GP as the current line number was not matching with IT_GP as it has only one line item and WA_GP was changing. Also WA_GP data was getting changed with LOOP with all line items data.
    ++++++++++++++++++++++++++++++++++++++++++++++
    MODULE it_mseg_mark INPUT.
       DATA: g_it_mseg_wa2 LIKE LINE OF it_gp.
       IF it_mseg-line_sel_mode = 1
       AND wa_gp-chk = 'X'.
         LOOP AT it_gp INTO g_it_mseg_wa2
           WHERE chk = 'X'.
           g_it_mseg_wa2-chk = ''.
           MODIFY it_gp
             FROM g_it_mseg_wa2
             TRANSPORTING chk.
         ENDLOOP.
       ENDIF.
       MODIFY it_gp
         FROM wa_gp
         INDEX it_mseg-current_line
         TRANSPORTING chk.
    ENDMODULE.                    "IT_MSEG_MARK INPUT
    +++++++++++++++++++++++++++++++++++++++++
    If I press ENTER after entering each line item, all records come in IT_GP but if not then only first line item comes. Also if I dont press ENTER after entering the first line item and and add one item (total 2) and then press ENTER then sometimes both the lines disappear.
    Thanks,
    Vishal

  • Derivation of Profit Centers in case of bank and Cash line items

    We are in the process of configuring the Profit Center Accounting functionality. We are in ECC 6.0 but have not migrated to New G/L.
    We understand that Profit center needs to be derived for each of the items for which it does not flow online in realtime. As regards Bank and Cash Line Items, we are not able to understand how Profit Center Derivation will happen.
    We have posted an FI payment document using Tcode F110 and further to which we executed F.5D and 1KEK. Further to this, we have checked the Profit Center Total records report (2KEE). It updates the vendor line items. But it does not reflect the Bank line item. Unless this happens, we understand that our Profit Center wise Trial Balance will not tally.
    Kindly let us know how bank and Cash line items will update in PCA. In our view, it should derive the Profit center from the offsetting entry in the vendor invoice. Pl. correct me if I am wrong.
    Pl. help.
    Venkat Iyer

    Hi Venkat,
    You may define a derivation rule in 3KEH
    Regarda
    Sachin

  • FBCJ LINE ITEM AND FI LINE ITEMS ARE DIFFERENT

    Dear Expert
    FBCJ LINE ITEM AND FI LINE ITEMS ARE DIFFERENT

    Hi,
    It seems from the screen shot you are seeing different documents as in the first screen shot it clearly shows you have booked the multiple expenses under one see the below screen shot we have circled it
    whereas FB03 screen shows different.
    You can do one thing click on circle item and check the expenses involved in it and accordingly go to FBL3N and display documents for that G/L for the date 05.04.2014.
    Hope your issue has been resolved else revert.
    Regards,
    Tejas.

  • How to get First line item in Table control for BDC.

    Hi,
    I have a requirement while creating the return order from the reference Sales order for BOM.
    Once I compare the line items and delete the items not to be returned, I want to read the first line item which in fact is header, to make some changes.
    How to read  this as cursor points to the last line item.
    -B S B

    Hi Bsb,
    What is exactly unclear to you? =POPO will give a popup screen in which you can enter the order position number. This number will then be on the top of the table which means you can refer to it in BDC with "(01)".
    Regards,
    John.

  • Error 'Enter GL Account' while posting and invoice line item in MIRO

    Hello Gurus,
    I am facing a rather wierd issue.
    While posting a PO invoice in Tcode MIRO, its asking to enter the GL account in line items. Everytime I am entering the GL account and pressing the enter key, it wipes off the GL account clean and gives the same error 'Enter GL account'.
    It seems like this error is happening at the very first line item of the invoice. System is able to accept the GL account in 2,3,4th lines. If I delete the first line item, whatever is the first line item in that screen adapts the issue.
    Any help would be great as I have no clue what to do.
    Thanks

    Hello Priyadarshini,
    could you inform the error message number and it complete long text?
    Regards,
    Mateus Grings

  • B2CBasket- Sales Order  How to add Vendor partner and new line item of SO

    Hi,
    I want to add the following BEFORE the sales order creation process starts:
    Add a VENDOR partner
    Add a new line item to ORDERADM_I
    I suspect in BADI CRM_ISA_BASKET_ITEMS and CRM_ISA_BASKET_HEAD. I have user 'HEAD' to add extension fields but cant figure the creation of NEW partners and NEW line item.
    regards,
    Dave

    Thank you for feedback Shantoor,
    The CRM_ORDER_MAINTAIN need not be called as this FM is called immediately following almost all of the CRM_ISA_* BADI's.
    For clarification I just want to expand on the solution..
    In all of these BADI's SAP uses the CT_INPUT_FIELDS parameter. This is where you should enter WHICH fields you have made changes to in the exit. CRM_ORDER_MAINTAIN uses the same parameter.
    However the challenge is .. WHAT do you enter in the CT_INPUT_FIELDS. This is where you have to follow a strategy. I yused the following:
    1. Looked where the structure was used in programs/class to see how SAP used it
    2. Set breakpoints at the call of the BADI. Check what CT_INPUT_FIELDS content is (SAP uses same technique)and try and replicate for your new entries.
    I hope this helps those that, like me, battled a bit with the use of these BADI's.

  • Last line item gets changed to first line item for cs01

    HI experts,
               I have writen a BDC for Tcode cs01.
    I am facing a problem in that.If sucppose there are 4 line items,
    the first three line itmes are getting uploaded correctly but the kast line item gets changed to first line item.
    below is part of my code.
    DELETE ADJACENT DUPLICATES FROM T_MAT COMPARING MATNR.
    SORT T_MAT BY MATNR. "HEADER DATA
    SORT T_BOM BY MATNR1. "ITEM DATA
    *CLEAR : COUNTER, ITEM_NO.
    LOOP AT T_MAT INTO W_MAT.
      REFRESH GT_BDCDATA.
      CLEAR   GW_BDCDATA.
    perform bdc_dynpro      using 'SAPLCSDI' '0100'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RC29N-STLAN'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'RC29N-MATNR' W_MAT-MATNR.
                                 'lejn44001'.
    perform bdc_field       using 'RC29N-WERKS' W_MAT-PLANT.
                                 '4600'.
    perform bdc_field       using 'RC29N-STLAN' W_MAT-BOM_USAGE.
                                 '1'.
    *perform bdc_field       using 'RC29N-DATUV'
                                 '22.06.2010'.
    perform bdc_dynpro      using 'SAPLCSDI' '0110'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'RC29K-BMENG'
                                  '1'.
    perform bdc_field       using 'RC29K-STLST'
                                  '1'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RC29K-EXSTL'.
    perform bdc_dynpro      using 'SAPLCSDI' '0111'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RC29K-LABOR'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    LOOP AT T_BOM INTO W_BOM WHERE MATNR1 = W_MAT-MATNR.
      cnt = cnt + 1.
      CONCATENATE  '0' CNT INTO VAR.
       ADD 1 TO COUNTER.
       ITEM_NO = 10 * COUNTER.
       OVERLAY ITEM_NO WITH '0000'.
       W_BOM-ITM_NO = ITEM_NO.
    perform bdc_dynpro      using 'SAPLCSDI' '0140'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RC29P-POSTP(03)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    CONCATENATE 'RC29P-IDNRK(' var ')' INTO new_mark.
    PERFORM bdc_field USING new_mark W_BOM-BOM_COMP.
    clear new_mark.
    CONCATENATE 'RC29P-MENGE(' var ')' INTO new_mark.
    PERFORM bdc_field USING new_mark W_BOM-QTY.
    clear new_mark.
    CONCATENATE 'RC29P-POSTP(' VAR ')' INTO NEW_MARK.
    perform bdc_field USING new_mark W_BOM-ITM_CAT.
    clear new_mark.
    clear VAR.
      ENDLOOP.
    loop at T_BOM INTO W_BOM WHERE MATNR1 = W_MAT-MATNR.
    perform bdc_dynpro      using 'SAPLCSDI' '0130'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RC29P-POSNR'.
    perform bdc_field       using 'RC29P-POSNR' V_CNT.
                                 '0010'.
    perform bdc_field       using 'RC29P-IDNRK' W_BOM-BOM_COMP.
                                 'PURCHASECOST'.
    perform bdc_field       using 'RC29P-MENGE' W_BOM-QTY.
                                 '20'.
    perform bdc_field       using 'RC29P-MEINS'
                                  'M'.
    perform bdc_dynpro      using 'SAPLCSDI' '0131'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RC29P-POTX1'.
    perform bdc_field       using 'RC29P-SANKA'
                                  'X'.
    V_CNT = V_CNT + 10.
    ENDLOOP.
    CLEAR V_CNT.
      perform screen_data. " IS ALL ABOUT CALLING TRANSACTION......
      ENDLOOP.
    following is The input file format m providing.
    Material     Plant     BOM usage     Item No     Item Cat     BOM component     QUANTITY
    WRJN46106     4600     1     10     z     PURCHASECOST     10
    WRJN46106     4600     1     20     z     SOURCINGCOST     15
    WRJN46106     4600     1     30     z     INVRESERVE     12
    WRJN46106     4600     1     40     Z     INVRESERVE1     20
    in this the first 3 line items are coming correctly but the 4th one gets changed to
    first line item.
    e.g INVRESERVE1 changes to purchasecost.
    plz help.
    Thanks n regards,
    Ashmita singh.

    Hi Suneel,
    I hardly can't believe that. There must be an mistake by your own in the smartform itself. Would you please share some screens or better, the smartform-XML itself. You can pass out everything else and just share the table and a dataset to try this.
    I'm pretty sure that there is something wrong with the settings or even the loop itself. I never faced a problem like that or even heared about such things.
    I would love to have a look inside.
    Before you share it, create a new one with just the table inside and try it with the same data. Perhaps it is just of to much folders or something like that, so the generating comes in trouble.
    Regards
    Florian

  • Difference in GL Balance display and GL line item display

    Dear All,
    Can any one help me why the difference between GL display and GL line items display?
    Thanks in advance
    regards
    Elan

    Hi,
    You can do the following:
    1. carryout gl balance carryforward from previous to current year : Use t.code:F.16
             You can cross check the fs10n balance with FBL3N balance from previous years.  Assume these balance are matching for previous year 2007 and 2008, you have this problem only in 2009, then you can carryforward this balance from 2008 to 2009 once again. Some times users may post some adjustment entries as per the auditors recommendations. If this balance is not matching from 2007 itself, then first carryforward the balances to 2008 then 2009.  You can run this transaction no of times.
    2. check the master data of gl account through t.code:FS04, whether any changes has been done to line item display field?
               If you find any changes to line item display field then run the program "RFSEPA01" to get all the line items.
    3.If your issue was not resolved even after the above two activities, then let me know the  sap version you r working.
    all the best
    Prasad

  • Validation for first line item ( table )

    Dear Friends,
    i have table with multiple line items, i want to validate first line item only, if first line item is initial, it should throw an error message, could any one pls help me with an example
    Thanks
    Vijaya
    Col1
    Col2
    Col3

    Hi Vijaya,
    Method get_static_attributes_table of interface if_wd_context_node will return a table of context elements. You can then either read the first row of that table or loop through it to validate the table's data and issue messages as needed. For example...
    data lo_nd_ctx_node type ref to if_wd_context_node.
    data lt_attributes_table type wd_this->elements_ctx_node.
    lo_nd_ctx_node = wd_context->get_child_node( name = wd_this->wdctx_ctx_node ).
    lo_nd_ctx_node->get_static_attributes_table( importing table = lt_attributes_table ).
    If the row to be validated happens to be the table's lead selection, you can fetch attributes of the lead selection row directly, and again validate and issue messages as needed...
    data lo_nd_ctx_node type ref to if_wd_context_node.
    data lo_el_ctx_element type ref to if_wd_context_element.
    data ls_attributes type wd_this->element_ctx_node.
    lo_nd_ctx_node = wd_context->get_child_node( name = wd_this->wdctx_ctx_node ).
    lo_el_ctx_element = lo_nd_ctx_node->get_element( ).
    lo_el_ctx_element->get_static_attributes( importing static_attributes = ls_attributes ).
    Both of these code patterns to read context data are available through the Web Dynpro Code Wizard.
    Cheers,
    Amy

  • Discount for the first line item

    Hi Folks,
    As i have a requirement from my client to give the discuont for the first line item from two .Pls help me in finding the sol for this following requirement
    My client has two materials Material X and Material y .Client wants to  give 5% discuount on Material X when the the customer buys Material Y also along with material x .So the end customer will recieve the discount of 5% on Material X only when he order material Y along with X.
    Pls contribute your valuable tips in finding the sol for this .

    Hi Avinash,
    As you know already this is not standard functionality and is difficult to implement in SAP ERP.
    IMHO this kind of Business Rules should be managed in a separate CRM, which does not have to be SAP CRM.
    It could be an customer CRM application developed in .Net (Visual Studio) or Java technology, much easier to maintain that in ABAP and that could be used "on the road" by pre-sellers.
    The application would generate the manual discounts when needed and then create the Sales Order in SAP ERP when syncronizing using the standard Sales Order BAPI.
    I am sure that is not the answer you were waiting for ....
    Best Regards,
    Franck

Maybe you are looking for

  • Grouping of data based on user prompt having a list of dimensions

    Hi All, I have a requirement to be able to group data in OBIEE request or Dashboard based on user prompt selection. The prompt should list the Dimensions Available e.g. Dimensions: Product, Region, Employee Fact: Sales The report is to display sales

  • Any ideas on how to do this effect?

    I've got my talent chroma keyed. How may I put him in shadow/silohuette? (Not a complete "reverse" key, but do darken him) Any ideas?

  • Help with viewing raw images in iPhoto 6

    Hi: When viewing raw images from my camera (a Canon 20D) in a large or full screen format, after about 5 seconds I see at least a dozen tiny white dots on the image. These occur 100% of the time. If I "retouch" the image and save it, they go away. Al

  • Google fonts not showing in Greek

    Hi Community: Problem is pretty simple. Google fonts are not displayed in Greek text. English text looks fine. Why is that? How can this be fixed? Font mainly used: Roboto Condensed.

  • Action to be able to save an overlaid graphic with original name of file

    Question - Please help I want an action to keep the name of a file after I have copied it and put it over a new background. It would normally be saved as "unidentified.jpg" Thank you.