Notes Text from sales order data

Hy All experts.
I wnt to put Notes into sales roder report. i type notes in va02. item line, texts. but it's field value define like structure. LV70T-TDID. so hw to put it by in my report. or via Selec statement.
please see foll select statement used in my ALV reports.
FORM data_retrieval.
SELECT VBELN  NETWR KUNNR FROM VBAK INTO (ITAB-VBELN,ITAB-NETWR,ITAB-KUNNR) WHERE VBELN IN VBELN .
SELECT NAME1 FROM KNA1 INTO (ITAB-NAME1) WHERE KUNNR = ITAB-KUNNR .
SELECT BSTKD BSTDK FROM VBKD INTO (ITAB-BSTKD,ITAB-BSTDK) WHERE VBELN = ITAB-VBELN.
SELECT VSNMR_V FROM VBAK INTO (ITAB-VSNMR_V) WHERE VBELN = ITAB-VBELN.
SELECT LFGSA FROM VBUP INTO (ITAB-LFGSA) WHERE VBELN = ITAB-VBELN and LFGSA ne 'C'.
*SELECT LFSTK FROM VBUK INTO ITAB-LFSTK WHERE VBELN = ITAB-VBELN and lfstk ne 'C'.
SELECT LFSTK FROM VBUK INTO ITAB-LFSTK WHERE VBELN = ITAB-VBELN and lfstk ne 'C'.

Hi,
First you should know the details like Tex id, name, text object to read the text entered in item line.
In VA02 for the sales document select the item and go to texts tab.Double click on item text and again double click on text editior. You will get next screen as script editor. Then goto Goto--->Header. Here you can find the details and you can pass these details in FM READ_TEXT.
See the following code:
  call function 'READ_TEXT'
    exporting
      id        = l_txtid
      language  = l_txt
      name      = l_txtkey
      object    = l_txtobject
    tables
      lines     = lt_text
    exceptions
      id        = 1
      language  = 2
      name      = 3
      not_found = 4
      others    = 8.
  check sy-subrc eq 0.
  loop at lt_text into ls_text.
    if gs_vor-text ne ls_text-tdline.
      write: / ls_text-tdline under gs_vor-text.
    endif.
  endloop.
Regards,
Raju.

Similar Messages

  • Text messages not copied from sales order to billing

    Text messages which have been given in sales order are not copied to billing. Two of the text are copied and the other two are not getting copied. Checked the access sequence.. everything is correct.
    Please give a clue.

    Dear DV,
    These are basic settings to copy the Text from sales order to Invoice so please check in these areas,
    First you need to copy the sales order text to the delivery document from the delivery document you can copy the text to the billing document.
    To copy the sales order text to the delivery document
    You do the text determination for the deliveries also,define and maintain same TextId in the delivery header text procedure ,maintain the access sequence ,in the delivery text procedure access sequence you put the Text Object as VBBK for that Text ID.
    Make sure that you have assigned access sequence for your missed Text ID's in VOTXN transaction
    To copy the delivery text to the invoice.
    You do the text determination for the billing document,define and maintain same TextId in the billing document text procedure and maintain the access sequence,after that
    Go to VOFA transaction then selct billing document type then go in to the details screen here you do the check in the Delivery Text check Box (Top most bottom of the screen.)
    Now you can able to copy the sales order text to the invoice.
    Use VOTXN transaction for Text determinetion
    I hope this will help you,
    Regards,
    Murali.

  • Item text from sales order to purchase requisition

    Hi Experts,
    I have below queries ,
    1. What are the controls to generate/create a purchase requisition from a sales order.
    Is this possible that a Pur. req generated from a sales order but sales order is not its account assignment.
    How item text from the sales order can be copied to purchase Requisition, does settings in purchase requisition in SPRO (Purchasing Purchase req-text for purchase req----define copying rules) works only for automatically created Pur req.??
    item text from sales order can be copied for PR created through MRP or planned orders converted to PR.??
    I will appreciate if someone can provide me documentation on basics of sales and distribution at my email
    [email protected]
    Thanks in advance
    anand

    hello, friend.
    i can only answer part of your question as i am not sure of the others.  however, yes... you can automatically create a purchase requisition from the sales order. 
    one example is third party sales.  because of the item category group that you specified in the material master, the sales document determines an item category (and schedule line) that controls the creation of the purchase requisition.  here, the system knows that you must source the material from your vendor for delivery to your customer.
    further, as in the above case, when your company creates the PO with reference to the PR, your company appears as the buying entity but the ship-to address is that of your customer.
    i did not understand your question on account assignment.  please elaborate and we'll see if we can come up with the answer.
    if you wish to see documentation, you could refer to SAP's article on Third Party Sales.  other scenarios such as just-in-time inventory for trading companies or make-to-order companies may also apply.
    regards.

  • BAPI for Create PO from Sales Order Data and POST GR from PO created

    Dear,
             Can u help me how to create BAPI for Purchase Order creation from sales order Data
              what the bapi to Post GR from the PO created.
    Regards,
    Manoj

    Hello Manoj what you have to do to create PO from PR is that
    1) Use   BAPISDORDER_GETDETAILEDLIST (pass sales order number in sales_document table) and then get PR (Purchase requisition number from this BAPI.
    2) Use  BAPI_REQUISITION_GETDETAIL to get PR items
    3) Use BAPI_PO_CREATE1 to craete PO from PR then.
    to create goods movement you can use
    BAPI_GOODSMVT_CREATE
    REWARDS IF USEFUL.

  • Copying Text From Sales order to Billing Document

    Hi all,
    I have searched all posts for my issue but found nothing so that i am posting this issue.
    I want to copy the Some text form sales order to billing document is there any cnfig to do this
    order is there any exit for billing in which i can write code to copy text from sales order to billing document.
    please provide me a solution.
    Thanks in adavnce.
    Vinod.

    Hi,
    Use the same t-code VOTXN to do access sequence assignment.
    When you choose text object Billing Doc (header/item), there is 3 folders in dialog structure:
    - Text procedure
    - Access sequence
    - text procedure assignment
    In the text procedure folder, select related text procedure, then assign the created access sequence to respective text id.
    Hope this help.
    Cheers,

  • Any user exit to copy text from sales order to PR

    Hi,
    Any user exits or bapi to copy text from Sales order to Purchase requisitions.
    Jack

    Hi
    In SPRO , please use the menu path Materials Management - Purchasing - Purchase Requisition- Texts for Purchase Requisitions - Define copying rules
    Here  select the text and double click on Text linkages. There you can define the source text from sales order to the target text in PR.
    Please try and let me know if you still have any queries.
    Please reward points if this helps you
    Rgds

  • Address not copied from Sales order/Delivery to Shipment Document

    Hello Experts,
    I need your help on Addrss of ship to in shipment document.
    Sales Order[VA01] >> Delivery [Vl01N]>> Shipment [VT01N].
    User changed the Address of ship to party (Header level) in Sales Order and It reflected to delivery as well and I believe It should also update the address in Shipment document.
    But when I checked the Address of the Customer/Unloading point in Shipment Document [VT03N] (as below) I found It was not updated It was same as Customer Master Record and I believe It directly copied from Customer Master Record.
    BUT While creating the Shipment system is copying the data from Customer master Record not from Sales Order /Delivery. Logically system should copy the updated address from Order/Delivery BUT It is directly copying from Customer Master i don't know where is the setting of this ??
    Can anybody help me on this ? How system takes the customer (ship to party) address in shipment ? Where are the setting of these.
    What I need to do so system take the updated address from Sales Order/Delivery not from Customer Master Record (Ship to party).
    Can I change the address of customer in shipment document ??
    Awaiting your precious reply.
    Thanks,

    Hello Samir,
    Thanks for your response.
    I think you get my question in wrong way.
    I am sayingCustomer master data was not changed.
    User just changed the Address in Order (Order > Header >> Partner tab >> Change ship to address/overwrite ship to address).
    Overwritten Address / Updated address are copying in Delivery BUT not in Shipment document.
    What I need to do?  system should copy the updated address from Sales Order/Delivery BUT it is copying from Ship to party.
    I hope this time i am clear to explain my issue.
    Thanks,

  • Project Revenue Plan Not Update from Sales Order Item

    I am generating a network and project from the sales order item using Assembly processing. I am using milestone billing on the sales order item and the milestones attached to the project network activities are appearing as billing blocks on the sales order item billing plan. However, the project revenue is not getting updated from the sales order billing plan. Can someone please help?
    I have deleted the billing plan on the billing WBS element and activated revenue planning update from sales order in cusomization for PS. I am looking at CNS41 under the project revenue sched in version 0. Is there a different report I should be looking at?
    Regards,
    Venkat.

    HI Venkat,
    You are looking at the correct report & I believe you have also done the necessary customization. If you create a sales order and reference it to a quotation, the related plan values in the WBS element are refreshed automatically.
    When the payment data is recorded, the terms of payment and the customer payment history are taken into consideration. One of the probable causes could be the credit limit of the customer might have been exceeded. Take help of your SD consultant & increase the credit limit for that customer (from the sales document), t-code FD32 if it is permitted in the business.
    After the new credit limit is set execute the following steps:
    u2022     Go to the t-code Change billing request (VA02)
    u2022     Open the required billing request
    u2022     Remove the account assignment of WBS element from each line item
    u2022     Save the billing request
    u2022     Reopen the billing request in change mode
    u2022     Reassign the WBS elements to all line items
    u2022     Now the changed credit limit will take affect
    u2022     Check the Planned Revenue for the said project in CNS41, it should get updated.
    Rgds
    Deepak

  • Transfer of Header text from Sales Order to Delivery

    Hi Experts,
    I had a requirement to populate Terms of delivery text in Sales Order Header text with some predefined value which I have accomplished using MV45AFZB - User Exit USEREXIT_CHECK_VBAP which transfers the text on save of the document to sales order header (terms of Delivery Text ) .
    Now the issue is the same text is required to be copied to delivery - Terms of Delivery header Text. But this is not happening/Its occuring one out of 4 times . I am not able to find out the reason for this.
    Please help in this regard.
    Thanks

    This can be set in conifugration. Transaction VOTXN. The delivery header text can be set to be referenced from the sales order.

  • Copy Texts from sales Orders to invoices

    Hi,
    someone can help me?
    the additional texts of old invoices (related to sales order #1) are changed when I change the additional texts of the order where they come from (sales order #1)
    I don't want this changes in the old invoices created before changing the additional texts in sales order.
    Thanks,
    Antonio.

    Hi Ravi,
    First at all thanks for answering.
    According to your answer I understand that every time I modified the sales order I'd have to launch a program to maintain the texts in the old invoices, isn't it?
    Thanks again!
    Antonio.

  • Rounding Off Value is not copying from Sales Order to Invoice

    Hi Experts,
    In Pricing Procedure i maintained DIFF- Rounding Off Condition type with the following Combinations.
    Print:X
    Requirement:13
    Cal Type: 16
    Bas Type: 4
    When i create sales order the system is calculating Rounding Off after saving the sales order.The requirement is that it should shows the rounding off value before saving the sales order.Secondly when i make invoice the rounding off value is not copying from the saved sales order.After i save the invoice in VF02 the rounding off value is coming .
    Regards
    Subhasish

    Cond type DIFF has cond catgory L Generally new when copying. So the value from sales order will not be copied, it will be redetermined in invoice.
    Also rounding off cond is to round the total value which can change in invoice based on the invoice qty.

  • Revenue not flowing from Sales order to PS so no WIP in PS/WIP

    Hi,
    We are following PS with MTO scenario.
    For calculating WIP in projects we are unable to get the actual revenue flow from Sales order to PS so entire amount in PS/WBS is sitting in WIP but its wrong.
    User wants to do the Delivery and billing form Sales order only.
    Can you please help us how to calculate the WIP in this scenaio.
    Thanks,

    Hi,
    Have you made the account assignment as WBS Element in the SO line item. Ift his is done, once you create an invoice from SO the actual revenue will get updated in WBS Element.
    Regards
    Sreekanth

  • Shipping Instructions text not copied from Sales Order to Delivery Document

    Hi All,
    The Shipping instructions text in the Sales order Header is entered manually. Now when the delivery is created, the text is not getting copied to the Header text (shipping instruction note) of the Delivery document.
    What may be the problem. Can anybody help ?

    Hi
    Check this link
    http://learnsaptips.blogspot.com/2010/09/text-type-configuration-in-sap.html
    regards
    Prashanth

  • Header Text from Sales Order Not Copied to Header Text Invoice.

    Hello All....Does anybody have an idea why this is happening ??
    My Sales Order have the Header Cl.Text Z001 "Header Text", I write text in two languaje "EN" and "ES".
    Z001 Header Text (Sales Order)
             EN -->>   Hello
             ES -->>   Hola
    When I create the Invoice with reference this Sales Order, this only copy the Spanish Text but not the English Text.
    Z001 Header Text (Invoice)
            ES -->> Hola
    Thanks in advanced.
    JEOS.

    Hello Jorge
    Ensure that you checked the box 'All Languages'  in the related access sequence.
    T code VOTXN.

  • Profit center is not picking from sales order to the billing document

    Hi
    I am creating billing document but it is not picking profit centre from the sales order.
    Could you please help me in this.
    thanks in advamce.

    Hi,
    Ensure that the profit center is assigned to your Sales order.
    Also maintain the following settings in copy control.
    Goto the T.Code "VTFA".
    Select your valid combination.Details.
    Double click on "Item".Select your Item category.
    Details.
    Maintain "Copy requirements" as "002".
    Data VBRK/VBRP as "002".
    Regards,
    Krishna.

Maybe you are looking for

  • Regarding HANA DB Driver

    Hi Working on HANA1.0 SPS2 Trying to create a new data store for hana in SAP BO data servcice. and fetch data from DS to HANA system. i cant find HANA DB driver to input as below. In local object library -> New Create new data store Data store name:

  • 3rd party with SD

    Hi,    Can any one tell me how to do statistical goods receipt for 3rd party with SD, please provide me with the moment type also

  • URGENT: Thousands of OracleCancelThreads

    Hi, we set the query timeouts on statements to 60 seconds usually and after a lot of UPDATEs and INSERTs our Java (1.2.2) VM has up to 2100 lingering threads with the following stack trace: "Thread-25197" (TID:0xce67b4, sys_thread_t:0xce6738, state:C

  • CE-566 Crash

    We have Cisco 500 Series CE-566 content engine problem. The last few days it has been stopping to respond but after restarting and checking through console access it starts working. This has happened a few times. See attached information. ANy trouble

  • WAN port died? No greenlight next to it

    Hi, If the small greenlight indicator for the WAN port on the back of AX doesn't light up (power cord is connected, and the cable connects the WAN port and modem is secure), does that mean the port has hardware failure? I lost internet connection dur