Assignmnt num population(BSEG-ZUONR) in all line of Acc doc for Cr Memo(G2)

Hi,
Our business process is we create Credit memo request with reference to Returns Sales order and create Credit memo with reference to Credit memo request.
When creating Accounting document from Invoice Assignment number(VBRK-ZUONR) is copied to BSEG-ZUONR of customer line item as well as GL Account line items in the Accounting document.
When creating Acc Doc from Credit memo Assignment number(VBRK-ZUONR) is copied to BSEG-ZUONR of Customer line item only but not GL Account line items in the Accounting document.
The same Customer & GL Account is used in both cases.
Please hlep us to resolve the issue.
Thanks in advance.
Regards,
Rahul

Dear Rahul,
I think It's SAP standard behaviour that field BSEG-ZUONR is not filled in     
accounting item lines when you transfer a billing document to          
accounting. Please have a look at program LV60BF00,                    
form accounting_item:                                                  
Felder, die nur in den Steuerzeilen vorkommen                        
  clear xaccit-kbetr.                                                  
  if vbrk-vbtyp ca vbtyp_reli.                              "WIA       
    clear xaccit-stceg.                                                
  endif.                                                    "WIA       
  clear xaccit-vbeln.                                                  
  clear xaccit-xblnr.                                                  
  clear xaccit-zuonr.                               ' <    here !!!    
  clear xaccit-gjahr.                                                  
If you want to have this field filled for all item lines in accounting,
then you have to use userexits to fill XACCIT-ZUONR. E.g. you can use  
FUNCTION EXIT_SAPLV60B_004 to set XACCIT-ZUONR = VBRK-ZUONR in the     
line items.                                                            
I hope this helps.
Balazs

Similar Messages

  • Populating BSEG-ZUONR for GL Line item

    Hi experts,
    I need the system to copy field VBRK-ZUONR to BSEG-ZUONR when posting a billing document.  The situation is as follows:
    - When I post the billing document to accounting BSEG-ZUONR is populated for the customer open item but
    - BSEG-ZUONR is BLANK for the Sales Revenue line item
    This only seems to occur when I define SORT KEY 000 against the G/L Account Master (SKB1-ZUAWA).  Sort Key 000 is for Allocation number (which points back to ZUONR).  If I use a different SORT key (such as posting date) it works perfectly (copies the posting date to BSEG-ZUONR).
    Is there something I am missing in configuration/user exits that need to be switched on?
    There was a mention somewhere about using function module EXIT_SAPLV60B_004 but i cannot find this program in program SAPLV60B.
    Other information:
    - I am in SAP 7.0
    - There is no FI consultant on site to help
    - I have search through WIKI to find a suitable answer for this problem but do not seem to get the exact information.
    Your help is very much appreciated.
    Thanks,
    Rubi

    Hi,
    Lakshmipathi and Shiva are right. The easier manner to solve it is with OB16.
    If you want know more about the exit that you try to use, see Note 301077 - User exits for the interface to accounting. Use the table MODSAP to find the link between enhancement and components (function modules EXIT_*).
    Regards
    Eduardo

  • Hi all can anyone send docs for Report Designer bi7.0

    hi all,
    Can anyone send me the documents for report designer bi 7.0.
    regds
    hari

    hi hari,
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/910aa7a7-0b01-0010-97a5-f28be23697d3
    http://help.sap.com/saphelp_nw2004s/helpdata/en/b2/e50138fede083de10000009b38f8cf/frameset.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/4487dd91-0b01-0010-eba1-bcd6419
    /people/michael.eacrett/blog/2006/06/07/whats-new-in-sap-netweaver-702004s--an-introduction-to-the-functionality-deltas-and-major-changes
    http://searchsap.techtarget.com/cgi-bin/rd.pl/ftID-1121728-ctID-1064004?//expert/KnowledgebaseAnswer/0,289625,sid21_gci1064004,00.html
    http://help.sap.com/saphelp_nw04s/helpdata/en/9d/24ff4009b8f223e10000000a155106/content.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/10564d5c-cf00-2a10-7b87-c94e38267742
    http://wiki.ittoolbox.com/index.php/Upgrade_BW_to_Netweaver_2004s_from_v3.0B
    http://help.sap.com/saphelp_nw70/helpdata/en/88/4d354277dcb26be10000000a155106/frameset.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5c46376d-0601-0010-83bf-c4f5f140e3d6
    http://help.sap.com/saphelp_nw2004s/helpdata/en/a4/1be541f321c717e10000000a155106/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/b3/05154219fce12ce10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/b3/05154219fce12ce10000000a1550b0/frameset.htm
    hope this helps..

  • Which BAPI to update assignment number(BSEG-ZUONR)

    Hi All,
    I need to update a BSEG-ZUONR.
    I guess update is not the best way since i want to update in all related tables.
    Could you please let me know the BAPI through which besg-zuonr field can be updated.
    Regards,
    Dash

    Hi,
    This field you can control in Copying Control for Billing Doc(header) as target.
    Check Tcode VTFL(Delv to Bill), VTFA (order to bill) & VTFF (Bill To Bill)
    You can find the assignment/allocation number under additional information in the (document) line item that is forwarded from SD to FI. If the field was not filled in the order, you can determine the content of the field in this step:
    1. A:Customer purchase order
    2. B:Sales order number
    3. C:Delivery number
    4. D:External delivery number
    5. E:Actual invoice number
    If you do not make an entry and the field is not filled in the order, the field remains empty.
    If you would like to link the delivery to invoices in accounting (which is necessary in the self-billing procedure), enter 'C' for the relevant invoices.
    I hope this can assist you.
    regards,
    Ravi

  • Which all tables suffice all line item GL data requirements

    Please clarify this requirement for Line Item Data from  New GL. my client BMW Inc have configured  New GL in ECC 6.0  if i pull all the records to BW from FAGLFLEXA (Line Item Table) is that sufficient to meet the <b>all line item GL data</b> or is there any other tables missing that also shall be combined to bring the Line item GL  data. Please help me for this if u can check with any of your friends in FICO.  
    2. I have seen that BSEG AND BKPF are used earlier in old FI  versions so what is there now in New GL ECC 6.0 that will suffice for these BSEG AND BKPF  or still i have to pull records by using these tables. for GL Line Item Data.
    If you can help me to give the short  overview of  New GL posting process it would be great.
    Thanks
    Regards
    Soniya Kapoor

    Hi Soniya,
    FAGLFLEXA & FAGLFLEXT would contain all FI line item
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/a8/e26840b151181ce10000000a1550b0/content.htm
    Pls assign points as way to say thanks

  • BSEG-ZUONR can't change by BTE 1120

    Hi, gurus,
            I want to change the field BSEG-ZUONR with the DN number,  I use BTE 1120  to implement it, but it doesn't work. I refer https://www.sdn.sap.com/irj/sdn/nw-development?rid=/library/uuid/207835fb-0a01-0010-34b4-fef1240ba9b7  and follow it step to step, but the demo aslo doesn't change the field. Is there any customizing issue I need to revised?
    Thanks advance

    Hi,
    I wouldn't have used BTE for that, but rather substitution program RGGBS000.
    You need to make a Z_ copy of that program, affect it (GCX2 and OBBH), do some customizing steps (SM30 on VWTYGB01)in order to open the fields for substitution.
    Then create your own subroutines in ZRGGBS000 and set them in customizing (GGB1 for Financial Accounting).
    NB: read carefully F1 helps provided, since amonst the 3 substitutions (document header, line item and complete document), 'Complete document' has now some severe restrictions.
    Regards,
    N H

  • Display all line items.

    Dear Friends,
    I develop to new screen in this screen having table control.  Table control fields I taken a table fields of ZMDISP_ITEM table fields. but I call to this table control I want to directly display ZMSAMP_ITEM fields in our table control table. I given below coding. In this coding only one line item displayed. what can i do please help me any body.
    SELECT SINGLE * FROM ZMRECIPT_ITEM  "INTO TABLE IT_REC_ITEM
                              WHERE ( BUKRS = P_BUKRS AND ZYEAR = P_YEAR AND RECREFNO = P_RREFNO ).
              IF SY-SUBRC = 0.
                ZMDISP_ITEM-RECREFNO  = ZMRECIPT_ITEM-RECREFNO.
                ZMDISP_ITEM-BUKRS     = ZMRECIPT_ITEM-BUKRS.
                ZMDISP_ITEM-LOTNO     = ZMRECIPT_ITEM-LOTNO.
                ZMDISP_ITEM-SMPCODE   = ZMRECIPT_ITEM-SMPCODE.
                ZMDISP_ITEM-CDDATE    = ZMRECIPT_ITEM-CDDATE.
                ZMDISP_ITEM-LOTQTY    = ZMRECIPT_ITEM-LOTQTY.
                ZMDISP_ITEM-MEINS     = ZMRECIPT_ITEM-MEINS.
                ZMDISP_ITEM-VARCD     = ZMRECIPT_ITEM-VARCD.
                         clear zmrecipt_header.
                CALL SCREEN '0001'.
    populating Dispatch item details
        SELECT * FROM ZMDISP_ITEM INTO TABLE IT_DISP_ITEM
                       WHERE ( BUKRS = P_BUKRS AND ZYEAR = P_YEAR AND RECREFNO = P_RREFNO ).
        CLEAR P_RREFNO.
       V_RREFNO = ZMDISP_HEADER-RECREFNO.
        IT_DISP_ITEM-RECREFNO  = ZMDISP_ITEM-RECREFNO.
        IT_DISP_ITEM-BUKRS     = ZMDISP_ITEM-BUKRS.
        IT_DISP_ITEM-LOTNO     = ZMDISP_ITEM-LOTNO.
        IT_DISP_ITEM-SMPCODE   = ZMDISP_ITEM-SMPCODE.
        IT_DISP_ITEM-CDDATE    = ZMDISP_ITEM-CDDATE.
        IT_DISP_ITEM-LOTQTY    = ZMDISP_ITEM-LOTQTY.
        IT_DISP_ITEM-MEINS     = ZMDISP_ITEM-MEINS.
        IT_DISP_ITEM-VARCD     = ZMDISP_ITEM-VARCD.
    APPEND IT_DISP_ITEM.
    Regards
    Sreelakshmi.

    Dear Friends,
    I develop to new screen in this screen having table control. Table control fields I taken a table fields of ZMDISP_ITEM table fields. but I call to this table control I want to directly display ZMRECIPT_ITEM fields in our table control table. I given below coding. In this coding only one line item displayed. what can i do please help me any body.
    SELECT SINGLE * FROM ZMRECIPT_ITEM "INTO TABLE IT_REC_ITEM
    WHERE ( BUKRS = P_BUKRS AND ZYEAR = P_YEAR AND RECREFNO = P_RREFNO ).
    IF SY-SUBRC = 0.
    ZMDISP_ITEM-RECREFNO = ZMRECIPT_ITEM-RECREFNO.
    ZMDISP_ITEM-BUKRS = ZMRECIPT_ITEM-BUKRS.
    ZMDISP_ITEM-LOTNO = ZMRECIPT_ITEM-LOTNO.
    ZMDISP_ITEM-SMPCODE = ZMRECIPT_ITEM-SMPCODE.
    ZMDISP_ITEM-CDDATE = ZMRECIPT_ITEM-CDDATE.
    ZMDISP_ITEM-LOTQTY = ZMRECIPT_ITEM-LOTQTY.
    ZMDISP_ITEM-MEINS = ZMRECIPT_ITEM-MEINS.
    ZMDISP_ITEM-VARCD = ZMRECIPT_ITEM-VARCD.
    clear zmrecipt_header.
    CALL SCREEN '0001'.
    populating Dispatch item details
    SELECT * FROM ZMDISP_ITEM INTO TABLE IT_DISP_ITEM
    WHERE ( BUKRS = P_BUKRS AND ZYEAR = P_YEAR AND RECREFNO = P_RREFNO ).
    CLEAR P_RREFNO.
    V_RREFNO = ZMDISP_HEADER-RECREFNO.
    IT_DISP_ITEM-RECREFNO = ZMDISP_ITEM-RECREFNO.
    IT_DISP_ITEM-BUKRS = ZMDISP_ITEM-BUKRS.
    IT_DISP_ITEM-LOTNO = ZMDISP_ITEM-LOTNO.
    IT_DISP_ITEM-SMPCODE = ZMDISP_ITEM-SMPCODE.
    IT_DISP_ITEM-CDDATE = ZMDISP_ITEM-CDDATE.
    IT_DISP_ITEM-LOTQTY = ZMDISP_ITEM-LOTQTY.
    IT_DISP_ITEM-MEINS = ZMDISP_ITEM-MEINS.
    IT_DISP_ITEM-VARCD = ZMDISP_ITEM-VARCD.
    APPEND IT_DISP_ITEM.
    ZMRECIPT_ITEM table data strored 5 line items. but i want to getting in my table control ZMRECIPT_ITEM table data of all line items. Table control fields are in zmdisp_item fields.
    zmreceipt_item fields and zmrecipt_item_fields are same.
    Regards.
    Sreelakshmi.

  • Substituting BSEG-ZUONR value in MIRO with PO details.

    Hi All,
    I need to substitute the value of the assignment field (BSEG-ZUONR) with ebeln and ebelp details. I have coded a substitution exit
    at call point 2 in FI at item level. When i debug and check my code BSEG document no has no values(actually it is $       1) and ebelp and ebeln values are blank. Does any have an idea how to get the values for PO order no and item no.
    I am using transaction MIRO. The sort key 010 and this requrement is for document type RE.
    Regards,
    Vanita.

    Hi,
    maybe this can help:
    ( FI Enhancement Technique - How-To-Guide on the Usage of Business Transaction Events (BTE) )
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/207835fb-0a01-0010-34b4-fef1240ba9b7
    Best regards.
    Edited by: Pablo Casamayor on May 10, 2010 11:38 AM

  • BSEG-ZUONR to Update COPA

    Hi All, We are trying to update COPA-KNDNR with the value posted into BSEG-ZUONR. The scneario is from the F104 transaction, posting of doubtful debt provisions where customer number is updated into BSEG-ZUONR and we wish to update COPA with this value so that the provision appears at customer level. Can anyone help?
    Thanks

    Hi Richard
    I have not done this with an automatic transaction like F104, but you can post through Fi to PA directly.  If it is the expense account, not the provision acc.
    In transaction OKB9, tick the PSG (profit segment) on the relevant account.  Create a field status variant for the account to post to the profitability segment mandatory and assign to account master data in FI
    Then create a derivation rule in PA.  Select new rule, select table lookup. Table BSEG enter
    In the assignment section fill in ZUONR = CO-PA - KNDNR
    If this doesn't work, you can create a characteristic group in PA  and assign the transaction for FI and select the relative fields that can be filled by the FI entry without intervention from the user.
    Hope this helps.  Please assign rewards if it does.
    Kind regards
    Dawn

  • Delta on BSEG-ZUONR

    Hi All,
    SAP offers the field BSEG-ZUONR in the extractor 0FI_GL_4. However the delta-mechanism does not work for this field. Am I doing something wroin? Is this a bug and has anyone experience with this? Or a workaround?
    Any help is appreciated.
    Regards, Guus

    Hi Guus,
    Please check the reason for the same in the below oss note :
    http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bw_bct/~form/handler
    -Vikram

  • FIELD BSEG - ZUONR NON EDITABLE IN FB02

    Hi guys,
    I went to "Document Change Rules, Line Item" in SPRO inserting BSEG-ZUONR as Field Name and put a tick on "Field can be Changed".
    Unfortunatly nothing happened in FB02 and the field is still non-editable.
    Could you suggest me a solution?
    Thanks a lot

    HI,
    As mentioned in note 827413 there is a golden rule regarding the changeability of fields in FI documents:
    When the field is used in Special Ledger field movement then it    is not possible to change this field in FI using transaction FB02.
    The reason is that Special Ledger is only updated when the document is created. For other components like profit center accounting or special ledger a subsequent change in an FI document is only local. Special Ledger does not get the information about the change. Thus, in order to avoid inconsistencies between SL and FI those fields are not changeable.
    Please check the follwong field movements for Special Ledger which contain the field ZUONR in the field movement (tr. GCL3).
    Regards
    Ravinagh Boni

  • Updating exist FI document BSEG-ZUONR data element.

    Hi there,
    We're trying to update ZUONR field on an FI document  (BSEG) after it has been posted.   I looked for a "change  fi document" BAPI and have not been able to do so.  Is a BDC for FB02 the only choice for such a requirement or is there a FM suitable for this task?

    First, thanks for the replies, second my apologies for not being more specific.
    Here is the scenario: I have new custom data element added to MIRO, which is eventually stored in the RBCO table (at the line item level.)   Our requirement is have this data element moved into the BSEG-ZUONR field.
    I am aware of BTEs and have attemped to do so using the 1120 process, but the problem is I don't have access to the original data as entered in MIRO in the tables available in that BTE.  It appears that the RBCO table is not even update until after 1120 process is executed.
    Once again, thanks for responses.

  • Can it not possible that i can retrive it for all line items in a single qu

    I have to make report for my application in which I am facing a following problem:
    In the application there are multiple suppliers and each supplier having multiple line items and each item having multipale events. each evant having three status GREEN,RED and BLUE.
    When a user select 'all suppliers' to show the the status time span for a supplier (i.e. for a supplier how many parts and upto how much time parts are in blue, red and green status)
    to show the cumulative status time span I have to find out a event for each line item which is having nearest lower entry time from the lower part of the given time span.for this i have write following query
    SELECT * FROM parts_events
    WHERE vendorid = ? AND partid = ?
    AND visible = 'visible' AND active = 1
    AND entrytime = (SELECT MAX(entrytime) as
    entrytime from parts_events
    WHERE vendorid = ?
    AND partid = ?
    AND entrytime < ?
    AND visible = 'visible'
    AND active = 1)
    the problem is that i have to fire this query for each line item, can it not possible that i can retrive it for all line items in a single query?

    maybe if you can post some sample data and output will help us analyze more youre requirement.

  • ASCP should plan production of all lines of a Sales Order in the same IO

    Requirement details:
    1) We are running an ECC plan in OPM environment (Constrained Classic)
    2) There are 20+ manufacturing plants – all are equally capable of manufacturing any item
    3) Sourcing rules define the sequence in which plants should be loaded (first plant X, go to plant Y when capacity in plant X is full. Go to plant Z when capacity in plant Y is full… and so on.)
    4) Sales Orders are entered in a fashion where 1 SO = 1 container.
    5) There are 5-20 lines per sales order (for items A, B, C, D etc). Together, these items constitute a full container load (FCL)
    6) The composition of this FCL will vary from one Sales Order to another (e.g., customer 1 takes items A,B,C; customer 2 takes A,B,D; customer 3 takes A,B,C,D)
    7) To avoid transfers between plants, all lines of one SO should be assigned to same plant for production – even if that means delaying the shipment. The container will be loaded in that plant itself – instead of transferring it to a distribution center.
    As per our understanding, ASCP does not support such a requirement. We attempted the following:
    1) Defined following profiles:
    MSC: Maximum number of planned orders per demand = 1
    MSO: Maximum Demands per Group = 1
    MSO: Maximum Demands per Slice = 1
    2) Defined Demand Priority Rules:
    Schedule Date – 1
    Sales Orders, Forecasts & MDS Entries Priority – 2
    3) If there are 10 SOs with the same Scheduled Ship Date, they were given Planning Priority as 1, 2, 3 … 10
    4) All lines of a sales order were assigned the same ship set.
    With all the above settings, we could not achieve our goal. Any suggestions from the ASCP Gurus?

    Hi Navneet,
    Thank you for your reply. To answer your queries:
    (1) We have a dummy inventory org mentioned as ship-from org in all SOs (calling it 'dummy' - as physically there is no such IO). This is done because the marketing team does not know from which IO material will be shipped (we do not have GOP in scope).
    (2) Sourcing rules mention that a demand in the dummy IO can be met by orgs X, Y, Z etc (each one with 100% allocation, ranks 1, 2, 3 etc). There are no sourcing rules for transfers between X, Y and Z.
    (3) The intent is to fulfill a SO from single org with none of the items internally sourced from other orgs.
    Regards,
    Parikshit

  • Open status of Credit Memo after rejecting all line items

    Dear Gurus
    I am facing a problem. In my company we are using 2 credit memo types. One is CR and other ZCR (Copy of CR). I have tried both but both have same problem. I have also tried creating credit memos with reference to billing document, sales document and without reference also but the issue is same.
    Problem is this we create credit memo with VA01 and post it with VF01. After posting if we cancel its posting with VF11 and reject the line items in VA02 the status of credit memo remain open. Cancellation documents are ok and completed but only credit memo in VA02 remain open even after rejecting all line items.
    I have checked incomplete log of sales document type (CR and ZCR) in VOV8 and item types (G2N) in VOV7. All fields which are defined in incompletion log are there in document header and item.
    Following is the copy paste data of Header Status tab
    Overall status       Open
    Rejection status     Everything rejected
    Credit status        Not performed
    Bill.stat.order-rel. Not invoiced
    Overall blkd status  Not blocked
    Header data     Complete                   Item data       All items complete
    Header dlv.data Complete                 Item deliv.data All items complete
    Header bill.dat Complete                   Item bill.data  All items complete
    please help.

    dear sir
    if you mean to say to check Reason for rejection's settings in OVAG i have checked it and all rejection reasons are being in use in all other sales documents too. They are working fine in all other sales document. Issue is only in these two credit memos types.
    Assigned by the System (Internal)
    Delivery date too late
    Poor quality
    Too expensive
    Competitor better
    Guarantee
    Unreasonable request
    Cust.to receive replacement
    Transaction is being checked
    These are reasons and Stat column is empty for all. Other 3 columns have no tick in any reason.

Maybe you are looking for

  • Java web start unable to auto download java 1.6.0_14

    Hi, My application runs on java 1.6.0_14 and i want clients to use either 1.6.0_14 or higher while running the application. In the JNLP file i have mentioned j2se version as 1.6.0_14+ If the client machine has a java version lesser than 1.6.0_14, Jav

  • Desktop Icons have vanished, have tried many solutions offered in forums with no results

    I'm at a complete loss as to what to do after searching high and low for answers to this problem. My desktop icons have mysteriously vanished as I switched it on last night. I had been using it with no issue earlier that day, but for some reason, swi

  • Satelite A100 Series: Replace Keyboard

    Can anybody perhaps give some guideline how to replace the keyboard - is there some Worksho\Technical manual avaiable, describing the operation?

  • Cheque: Printing problems: Tcode F110

    Hi We are having problems to print cheques with a new userid. We can view the cheques in the spool list, but can't print to it. The new user are copied from a user which are currently printing it sucessfull. If the new user have the same authorizatio

  • How do I fill in data electronically.

    I received a PDF form that I needed to fill out. Since I did not know how to fill out the form electronically I just printed it and filled in the information. Besides Adobe Reader 9.x I have Adobe Acrobat 6.x but I don't know how to use these program