Details from Billing doc line item in COPA

Hi,
We are posting billing docs with multiple ship-to parties on the different line items. In COPA I need to get hold of the ship-to party. There are no sales orders created in the process.
In neither the derivations (KEDR) nor in the user-exit am I able to get hold of the billing doc line item nr, as that is what I need to determine the ship-to party from the VBRP table.
Any ideas on how I can pick up the ship-to party from the billing doc?
Thanks in advance
Piet Strydom

HI,
Thanks for your response.
Yes, we have ship-to party at the line-item level. Technically it is stored on VBPA, but the access into VBPA is the billing doc and line item number.
I have not been able to find good (SAP) documentation for exit COPA0005, but what I did find warned against changing characteristics? That should be done in COPA0001. However, the RBELN and RPOSN fields are not populated yet.

Similar Messages

  • How to grey out the Account Assignment Group Fld  in Billing Doc Line Item

    Hi SD Guru's
    I have a small doubt.
    I have maintained account assignment group in material master. Now when i create an order , the account assignment group gets picked from material master into this sales order.
    Now i go to VF01 for doing the invoicing.
    Now i can still go to billing document line item against the material and change its account assignment group before raising the invoice. When i change this field, i can still post to accounts.
    I want to know is there any way in which we can restrict the way in which this field is greyed out and is made non-editable, so that only correct entries with account assignment group maintained in material master are posted.
    Answers will be appreciated.
    Kind Regards
    Ravi

    Hi,
    Sandeep can you please give me step by step process of using SHD0 in this case.
    Now if i apply this to transaction VF01 and VF02, would it apply for all billing document types? I dont want that, i want it to work for a specific billing type
    Kind Regards
    Ravi

  • Business Area is not flowing to Billing Doc Line item

    Hi,
    Since recently we have observed that in some billing document creation, the business area in sales order line item is not flowing to the billing document line item.
    VBRP-GSBER remains blank due to which we face problem in J1IIN txn.
    This is not happening in all the cases. There are very few instances where business area is becoming blank in billing document line item.
    But when the same billing document is reversed and new billing document is created, the business area flows properly to billing document line item (in VBRP).
    Can anybody suggest why such erratic behaviour? And how to resolve the issue?
    Thanks and Regards
    Ratna

    Dear Shiva Ram and Srinath,
    Thanks for your reply
    I had checked the settings in SPRO. These are OK. The sales order line item is deriving business area properly. But in some cases (not in all the cases) the business area is not flowing to Billing Line Item during billing document creation. It is happening in production server and not in development server.
    I intend to use user exit userexit_fill_vbrk_vbrp to fill the VBRP-GSBER col with VBAK-GSBER if VBRP-GSBER is blank during saving the sales bill thro VF01..
    Pl. suggest.
    Regards
    Ratna

  • Changing condition type values in Billing Doc Line Items

    Hi All,
    I want to change the value of condition types JLST and JCST to zero in the line items of proforma invoices. How can I do this?
    Any function module or BAPI? Should I go for BDC?? I tried to find user exits. What can be the optimal way to do this?
    Please help.
    Thanks in Advance
    - Neha.

    Hi Neha,
    You pass 0 (zero) to the field COND_VALUE in CONDITIONSIN table alongwith other relevant data.
    And pass 'X' to the field COND_VALUE in CONDITIONSINX.
    hope it helps.
    saroj

  • Customer Invoice/Billing Document  Line Item Details

    I have be trying to get the line item details incuding Description, Qty, Ea pricing, etc., for an invoice for several days.   I am successfuly able to us the RFC FI_DOCUMENT_READ  to get a plethora of data back in several tables,  but none that contain the details I need.  I can see the informationI need usinf VF03 and the Document Number.  
    Here is the call I am making (Output tables defaulted in the .net connector wsdl file)
                Dim sAWORG As String = ""
                Dim sAWREF As String = ""
                Dim sAWSYS As String = ""
                Dim sAWTYP As String = ""
                SapBillingProxy1.Fi_Document_Read("", _
                     Me.txtDocNumber.Text, _
                    "VBRK", _
                    "MPMP", _
                    sAWORG, _
                    sAWREF, _
                    sAWSYS, _
                    sAWTYP)
    Am I asking for the wrong information or ??? 
    Please help or point me in the right direction.
    Thanks in advance for the help!

    Hi,
    If you are looking for Billing document line item details and if you have range of sales document reference numbers try using 'BAPI_BILLINGDOC_GETLIST' function module.It is remote call enabled.
    Regards,
    Sreekanth

  • Clear from Vendor open line item (FBL1N).

    Dear,
    I have Posted the Invoice and cancelled the same invoice which was in the Blocked status without Release.So its showing in Vendor open line item (FBL1N).
    Now we can not release these two docs in MRBR bcz the invoice was cancelled and also it can not be cleared in F.13 bcz which was blocked for paymentu2026
    Kindly help me how can i solve this issue and my user is askinig me to clear the same from the vendor line items.
    Also suggest how the same will affect the business impact.
    regards,
    Kannan B

    Pl post it in ERP Financials,to get faster replies SAP ERP Financials

  • Credit memo request from Billing Doc.

    Hi All,
    I am creating Credit memo request from Billing Doc.(both having Same Pricing procedure)
    Now i dont want JVAT condiion in Credit emo Request.I have created one user exit.
    But now, JVAT is mandatory condition in Pricing Procedure, which is giving error of incompletion.
    How to Proceed.
    Regards,
    Antaa21

    Hi Ajit,
    I have assigned new pricing procedure for Credit memo request,which is not getting determined when you create credit memo request with reference to Billing doc.
    Reg,
    Amol

  • How Billing Document line items are generated during Schema Execution

    Hi,
    I have noticed that some of the schema steps (that were executed) do not appear as line items in Billing Document but some do.
    I want to know how it is determined? Is there any specific check or entry in the billing schema lines/steps that determines which Billing Schema line items can appear on Billing Document?

    Hi:
    The "schema" is composed of "rates", an "rate" have "rate steps", each "rate step" is a variant program it uses controls, by setting these controls you can write lines of additional information in the billing document. Anyway, some variants are always writing lines (ex. QUANTI01), in other cases are variants that write lines of consumption DBERCHV (Ex. QUANTI22).
    I hope this helps.
    Regards,
    David

  • COPA : Drive Item Category from billing doc. / without sales order

    Dear All ,
    I need to drive item category directly from billing document ( billing without sales order - POS inbound doc. )
    i tried to drive it from table VBRP but the derivation failed as table VBRP need the billing doc. number & i can't get it from COPA
    POS does not create any sales order , the in coming inbound doc. create billing directly ( billing type : FP  ).
    Edited by: Ahmed Hassan on May 25, 2011 2:28 PM

    Hi Jat
    This is not the screen I  am looking for .Please go to condition tab and look for Analysis .Let me know on what excess you are looking system to find your pricing .
      Below are are reference for u.
    Regards

  • SD billing Accounting document Profit center not coming from billing doc

    Hi Expert,
        I have stuck with the accounting doc entries. Issue is that accounting document should have
        the same profit center as billing document. Actually i have created profit center for my each of
        my divisions and want the same profit center whenever that particular division  is selected. But it
       is not  working.
        I have tried with substitution  method also by t-codes 0KEL and 0KEM. It works correctly till
       billing document means division wise profit center is coming in order,delivery , and billing but
       when we check accounting document,Profit center doc. Controlling Document and Profitab.
       Analysis  in Delivery and Bill it is coming from what i have maintained in material master.
       But it should come from what is in the delivery and billing document.
        Please share your ideas.
       Thanks &  Regards

    Hi SAP Consultant
    I would not agree with the first reply above.
    When you define a substitution in 0KEL and 0KES, it is intended to overwrite the PC from Material Master. It is a wrong notion that this Substitution will only impact FI, and not CO / COPA
    1. Are you able to see the over-written PC in Sales Order? (I think YES)
    2. Are you able to see the over-written PC in Billing doc? (I think YES)
    3. If in FI doc you are not able to see that, then see where is the problem. Probable reasons would be a Substitution written in OBBH, You are having a CO Object in the line item, a user exit written in the exit SDVFX008
    Ask your ABAP to check on these lines, if 1 and 2 is YES
    Br, Ajay M

  • ZUONR field in billing doc to item texts in Accounting Doc

    I have a client who wants to have the contents of the ZUONR field in the billing document appear in the line item texts of the resultant accounting document. Does anyone know how I can achieve this?
    Cheers,
    Ross Goodman

    Thanks,
              I know where the data lives The process involved is WPUBON idoc from POS inbound in SAP retail automatically creates 3 documents for a sale of article
    1] Article document
    2] Billing document
    3] Accounting document created from the billing document
    This is all automatic.
    So I will look into the use of the user exit to get the ZUONR content from the billing doc to flow through to the accounting document also.
    Many thanks, will let you know if ity works.
    Ross

  • In billing document line item coming in different way

    Hi folks,
    When am creating billing with reference to contract to billing  line itmes are coming  20 and 21.
    Where as in the contract the line are 10 and 20 what is the reason for that?
    Thanks & Regaerds
    rack29

    Hi rack29,
             If you want to keep the same item number in the copy control between Billing document and contract tilde the check bock Copy item number, in this way in the Billing you will have 10 and 20 as in the Contract, if not in the Billing document the item numbers are taken from the Billing type field Item no.increment.
    Thanks,
    Mariano.

  • Dates getting wiped from Service Plan line item

    Hi All,
    We are currently facing an issue in the dates management on the service contracts. When we create a service contract and without saving if we change start date at the header we come across the following issues
    1) Date rule gets wipes out from the service contract items.
    2) All the dates maintained at the service plan line item are empty.
    Contract header and Contract item has the same custom date profile .
    For the service plan line item its a standard date profile SRVPLAN.
    It will  be helpful in getting some pointers towards the issue or if someone has faced similar problem before.
    Regards
    Sohit

    Hello Moises,
    Can you give some details on how you managed to get this solved?
    Thx
    Nicolas

  • Profit center derivation from sales order line item  - R/3 4.7

    Hi,my scenario is below
    FI document generated from billing is as
    DR:GL1 - its not customer AR,because i post amount to one GL instead customer  (profit center is dummy)
    CR:GL2  (profit center is correct)
    i can see profit center in sales order line item and billing line item,why that profit center not copy to GL1?can someone advise,thanks
    Best regards
    renhua

    Hi phaneendra Reddy ,
    The substitution rule is to determine profit center in sales order line item,not for FI document.right?
    because i can see correct profit center in sales order.
    i know if i post debit site to customer AR,will execute a periodic run to transfer AR to profit center,but now i post debit site to a GL,dont know how to get profit center

  • How to: Reference fields XREF1/2 to be displayed in Acc Doc Line Item

    Hi Experts,
    May I know how to display the fields in the Line Item Level that can also be changed.
    What I already did was the configuration OB32, OB41, FI>GL>Master Data>G/L Accts>Line Items>Define Special Fields for Line Item Dsiplay.
    But it still not working. What is the proper way to configure these fields?
    Thanks

    In the Line item Display list in FBL*N follow this menu path: Settings
    -> Special fields, and add the fields you want from relevant table.
    The fields are later available for display, and you can choose them from
    the Line item Display list following this menu: Settings -> Display
    variant -> Current. From the hidden list you can now choose the fields
    you want to have shown. If the technical name is shown for the fields,
    the special fields are all starting with '1-U_'. It's important, that
    you add the Special field, if the field also exist as Standard field.
    The Special fields are shown in the bottom of the Hidden list.
    Review the solution part of note 215798 the detailed steps.
    XREF1 / XREF2 do not exist in the index table (BSIS/BSAS) for the G/L
    account. Therefore you should create XREF1/2 as special field for
    display via FAGLL03/FBL3N.
    SPRO - ... - Define Special Fields for Line Item Display
    There you should also include the field and store the change.
    You do not have to run the RFPOSXEXT again, because the related
    structure is generated automatically within the storage of the data.
    After you have stored the 'new' field, you should run the report
    BALVBUFDEL. This report will reset the ALV buffer, because the old
    definition of the fieldcatalog does not have the needed fields, and
    so it might happen that these are not displayed in the fieldlist of
    the FAGLL03.
    Please refer to the attached 984305 and 215798 Point 3.
    Regards,
    Fernando

Maybe you are looking for

  • How can I delete all javascript code from a file

    We need to delete all the javascript code from our illustrator files. Right now I need to click on each element and check my SVG interactivity window for any javascript code, then trash it from that window. Very time intensive. Any ways to make a com

  • How to cancel downloading process in JAVA ftp?

    I tried to write a java ftp client to transfer files within our network. One of very usefully function I want to add is to cancel the transfer while files are downloading or uploading. I can do this on file uploading by closing "ftpclient.put(filenam

  • Ipod shows up on PC but not Mac?

    Hi there, I've got a strange problem with my year-old Ipod video 30GB. I accidentally unplugged it from my computer before ejecting it last week. Everything was erased, and since then it won't show up on my Mac at home or at work. It doesn't pop up o

  • For XML as PIVOT

    Thanks for reading. I need to export data via SQL to XML. But I need the XML format in Row/column and the output must be a Pivot table. I know that it can be done with AS pivot. But I don't know how to use it in the below script I've already got a fa

  • Bulk exception problem

    DECLARE TYPE empid_tab IS TABLE OF emp1%ROWTYPE; emp_sr empid_tab; -- CREATE AN EXCEPTION HANDLER FOR ORA-24381 ERRORS NUMBER; dml_errors EXCEPTION; v_err_no VARCHAR2 (200); v_err_message VARCHAR2 (200); PRAGMA EXCEPTION_INIT (dml_errors, -24381); BE