Sales Order (BUS2032) access to table VBAK

Dear Experts,
I would like to send an email (SMTP) notification, when a Sales Order has changed.
I would like to include some fields from VBAK table.  They are developed fields, starting with Y*.
I managed to add the table VBAK to the Container.
In the BUS2032 CHANGED event I bind the
&_EVT_OBJECT& -> &SALESORDERBUS2032&
&_EVT_OBJECT& -> &_EVT_OBJECT&
Now I have access to the standard Sales Order  properties and Items.
How can I bind the VBAK table?
Thank you,
Imre

Hi Viji,
Sorry I failed the CtrlC CtrlV operation...
The right binding on the
Event-Workflow
&_EVT_CREATOR& -> &_WF_INITIATOR&
&_EVT_OBJECT& -> &SALESORDERBUS2032&
I can include the
&SALESORDERBUS2032.ORDERINGPARTY.CUSTOMERNO&
and
&SALESORDERBUS2032.LASTCHANGEDBY.NAME&
But, there is not data from
&SALESORDERTABLE.Y_SD_CHT&
Container Element:
SalesOrderTable
ABAP Dict. Data Type = VBAK
Parameter Settings : Import
Could you give me idea how can I access the VBAK-Y_SD_CHT field data?
Thank You!
Imre

Similar Messages

  • User enter sales order, system display " Lock table overflow",

    Hi Experts,
    We are facing a problem, user enter sales order, system display " Lock table overflow",  and using T-code VL02N, system display "You   cannot block the transaction at the moment.
    Please help.
    Thanks,
    Sujit S.

    Dear Sujit,
    [Lock Table Overflow|Re: Lock table overflow]
    Also, Just check with your Basis-Admin in T. Code: TU02 - profile parameter maintenance
    Best Regards,
    Amit

  • To save the sales order number in custom table while creation of the order.

    Hi Experts,
    Does there exist any exit to save the sales order number in a custom table while the sales order is created in VA01. The requirement is to capture the sales order number in a Z table when a field (payment terms ) is changed during the sales order creation.
    Regards,
    Sunitha

    Hi Sunita,
    You can store your data in the User exit MV45AFZZ in the form 'userexit_save_document'.
    You can navigate to MV45AFZZ from SE38 wherein an access key needs to be generated for that program, if you know to implement enhancement points then you can create an implicit enhancement point in this form without generating an access Key.
    Regards,
    Ravi Kiran

  • How to I link Slaes Orders and Price Assurances - Table VBAK Field AUART

    Hello,
    Using T-code VA43 I can enter a contract number (we call it a Price Assurance#) and then I can see the information I need 1 for one.  I can also pull this info out of the VBAK and VBAP tables using the doc type ZQ in the field AUART.  What I am trying to do is link all of these document types to their sales orders, AUART=TA, and then finally link them to the invoices but I am having trouble doing it.  Can someone help me figure out how to link the sales documents types ZQ to their corresponsing TA types?  From there I can link the billing documents to them.
    Thanks,
    Sean

    Hi Sean,
    As per my understanding of your question is about copy controls,where you copied the standard quantity contract type CQ and
    named it as ZQ,now you want to link it up with order type TA(Standard Order),for this you need to maintain copy controls
    between your contract and order.Use T.code VTAA select your contract type and sale order type maintain copy controls *(copy
    standard CQ - TA and rename it as per your document type) the you need to maintain copy controls between TA to LF use
    T.code VTLA the delivery to invoice use T.code VTFL.
    Search in Forum or Google for better understanding of copy controls.
    Regards
    Ram

  • Sales Order Pricing : Access Not Made (initilized field).

    Dear members,
    In my sales order for a condition type, I am getting message as access not made (Initialized field) and there is a yellow Exclamation mark on one of the field (field name is price group).
    I have a condition record maintained, But why I am getting this message.
    I have read some threads here and saw my access sequences and went down to table fields, all table fields are correct. (meaning The see komk fields are assigned to document fields).
    If this yellow mark comes, is it be configuration error or a data error ?
    please let me know. Thank you
    Madhu.

    Hi Madhu
    Go to the access sequence and check wheather sub-routines has been maintained.in the access sequence  or Exclusive box has been checked for any key combination. If it has been checked then remove that check box and then create the sales order. then there wont be any problem
    Regards
    Srinath

  • Sale Order issue in VBUP table

    Hello Gurus,
    INCORRECT OPEN ORDER DUE TO DELETED SALES ORDER LINE ITEMS STILL SHOWING IN BW OPEN ORDER REPORTS BECAUSE OF INCORRECT SAP R/3 REJECTION STATUS IN VBUP TABLE.
    The sales order line items is still in the VBUP table with rejection Status is maintained as “A” (Not yet Processed) and therefore picked up by BW.
    Their status should be changed to “C”.
    I want to change the status of sales order as C from A.
    I have tried to reload Archive data but due to some limitation I was not able to do it. Also I feel this will like this s not the proper way to do it.
    BW consultant has asked to resolve this.
    Message was edited by: G Lakshmipathi
    Make use of the subject effectively.  Don't type the entire text there

    Hi Venu,
    Thanks for reply.
    I will explain in detail...
    In a archived saler Order user had deleted Line Item and completed overall sales order. Now this sales order is archived, but it is stll appearing in BW report as open order because of deleted item  with rejection Status is maintained as “A” (Not yet Processed).
    We want to change this status from "A" (Not yet Processed) to "C" as completed.
    I have tried to reload Archive data but due to some limitation I was not able to do it. Also I feel this will like this s not the proper way to do it.
    Could you please help me to correct way to do it???

  • Sale order- Pricing -Access Sequence

    Hi Gurus,
    While creating Sale order, the price is picked from the Pricing procedure and Condition records maintained.
    In PR00- Material price and Customer-Material special price is maintained in VK11.
    So the system picks Customer Material combination price and the same we can see in the Item level conditions-Analysis for pricing and can also see it fetched record from where.
    So for this Client wants in the following way: POPUP MESSAGE
    At Sale order Warning Message that Price is taken from Which List- Normal Price List or Special Price List for Customer and Material combination
    Is there some way to do this?
    Thanks in Advance.
    Best Regards
    Sri

    Hi,
    U have to take ABAPER HELP  No doubt please use this input if tis use full .
    User Exits For Price Determination
    USEREXIT_PRICING_PREPARE_TKOMK (module pool SAPLV60A, program RV60AFZZ)
    This user exit allows you to copy additional fields for pricing in the TKOMK communication structure (header fields), which have not been provided in the standard SAP system. These fields can also be used for pricing in the billing document.
    This user exit is described in detail in the "New fields in pricing" section.
    USEREXIT_PRICING_PREPARE_TKOMP (module pool SAPLV60A, program RV60AFZZ)
    This user exit allows you to copy additional fields for pricing in the TKOMP communication structure (item fields), which have not been provided in the standard SAP system. These fields can also be used for pricing.
    This user exit is described in detail in the "New fields in pricing" section.
    USEREXIT_FIELD_MODIFICATION (module pool SAPMV61A, program MV61AFZA)
    You can use this user exit to adjust the display of individual lines in the condition screen by changing the display attributes of the screen fields. This does not include the display of subtotals.
    This user exit is also used in order processing.
    USEREXIT_FIELD_MODIFIC_KZWI (module pool SAPMV61A, program MV61AFZB)
    You can change the display of subtotals in the condition screen by changing the display attributes of the screen fields.
    This user exit is also used in order processing.
    USEREXIT_FIELD_MODIFIC_KOPF (module pool SAPMV61A, program MV61AFZB)
    You can adjust the display of subtotals in the condition screen to your requirements by changing the display attributes of the screen fields.
    This user exit is also used in order processing.
    USEREXIT_FIELD_MODIFIC_LEER (module pool SAPMV61A, program MV61AFZB)
    You can adjust the display of blank lines in the condition screen to your requirements by changing the display attributes of the screen fields.
    This user exit is also used in order processing.
    USEREXIT_PRICING_CHECK (module pool SAPMV61, program MV61AFZA)
    You can install additional checks to the standard checks of condition lines (e.g. maximum/minimum value).
    USEREXIT_PRICING_RULE (module pool SAPLV61A, program RV61AFZA)
    In the standard SAP system, it is predefined which condition categories and classes can be copied or recalculated per pricing type. You can change the predefined standard procedure for each pricing type.
    USEREXIT_CHANGE_PRICING_RULE (module pool SAPMV61A, program MV61AFZA)
    You can use this user exit to change the pricing type that has been predefined in the copying control table in billing.
    USEREXIT_XKOMV_BEWERTEN_INIT (module pool SAPLV61A, program RV61AFZB)
    This field is used in the formulas and therefore initialized before the loop for the pricing procedure starts.
    USEREXIT_XKOMV_BEWERTEN_END (module pool SAPLV61A, program RV61AFZB)
    Within a loop for the price components during pricing, specific values can be transferred into the communication structures in pricing to be further processed.
    USEREXIT_XKOMV_ERGAENZEN (module pool SAPLV61A, program RV61AFZB)
    In change mode, you can change the dynamic part of the condition record (KONVD) that is always redetermined (i.e. it is not stored in database table KONV).
    USEREXIT_XKOMV_ERGAENZEN_MANU (module pool SAPLV61A, program RV61AFZB)
    You can use this user exit to change the ready-for-input fields of the manually entered condition record in add mode in the condition screen.
    USEREXIT_XKOMV_FUELLEN (module pool SAPLV61A, program RV61AFZB)
    This user exit is always called up during a redetermination of all or individual price components. You can change the work fields of the condition line. However, this only applies to conditions that have been determined via a condition record.
    USEREXIT_XKOMV_FUELLEN_O_KONP (module pool SAPLV61A, program RV61AFZB)
    This user exit is always called up during a redetermination of all or individual price components. You can change the work fields of the condition line. However, this only applies to conditions that have been determined via a condition record. This may include subtotals, manually entered conditions or conditions that have been calculated with a formula.
    USEREXIT_PRICING_COPY (module pool SAPLV61A, program RV61AFZA)
    You can change the KONV fields for copied price components
    With best regards,
    venkataswamy.y

  • Error while updating Sales Order : Another user Modified Table (RDR1 )

    Hi All,
    I am getting an error message while running the following steps.
    Steps
    1)     Pull an entry from sales order.
    2)     Add new data to line.
    3)     Update the sales order.
    a)     Sap updated the data.
    b)     Through code using DI API we updated some UDF.
    4)     With out closing / Pressing OK button…
    5)     We added new data to line.
    6)     Then Press update.
    An Error will through by B1 as “Another user modified the table(RDR1 ).” Before going to the code where we are handling the update of UDF.
    But after the 3rd step above when we do
    4) Close the window or pressed ok
    5)  take the sales order window again pull the data
    6) Add new Data to line.
    7) Update sales order then it will go smoothly.(Updating by B1 and from code )
    Can anybody tell me why this happens?And any workarounds to solve this?
    Deepesh

    are u adding a matrix row thru the code? I get this error when I am adding rows and I get the rownumber out of sync.
    if so get the max (lineid) from rdr1 and then check against the matrix.rowcount before adding a row. if lineid is greater that matrix.rowcount take lineid + 1 and assign it to the matrix.row, else take the rowcount + 1
    if not, and as a workaround, then you can try using the SBO_SP_transactionnotification stored procedure.

  • How to get customer / sales order details for VBBS table?

    Hi Friends,
    I have a requirement to create a report that will give the details of sales order ( VBELN ) and customer ( KUNNR) details from the sales requirement totals record table ( VBBS )
    Currently we have a report that just gives out the VBBS table entries for plant and material combination. As you are aware, the VBBS table contains the sales / deliveries requirements as displayed in MD04 transaction.
    Now there is a requirement to have the customer ( KUNNR ) and sales order (VBELN )  detail for each individual requirement totals.
    I checked the VBBE table ( sales requrirement : individual records ) but I cannot find any relationship between VBBS and VBBE. If there is a material / plant in VBBS , the same entry does not exist in VBBE.
    Please suggest if there is any other table to get this detail.
    Thanks
    Satya

    Tables are related.
    MATNR
    WERKS
    MBDAT
    LGORT
    CHARG
    etc fields are common in both VBBS and VBBE.
    May be you can generate a condition a fetch data using this.
    I hope it helps.
    thanks

  • Unable to post in MI07 for sales order stock - Error Check Table XMSSA

    Hi,
    When I try to post in MI07, I get the following error Unable to post - Error 'Check Table XMSSA
    Unable to post - Error 'Check Table XMSSA: entry 0000000000010011000 CA01 E 1500004153 000010 does not exist
    It has something to do with sales order stock. But I am not sure what is causing the issue.
    SAP error details:
    Check table XMSSA: entry 000000000010011000 CA01 E 1500004152 000010   does not exist
    Message no. M7001
    Diagnosis
    In table XMSSA the entry 000000000010011000 CA01 E 1500004152 000010   is missing.
    Procedure
    Make sure your entries are correct.
    If table  has not been maintained correctly, please inform your systems administrator.
    Any ideas?

    Hi Guys ,
      I have faced this same issue . Found OSS note 1360365 . The issue is resolved after implementing this note .
    Regards
    Rajmohan G

  • Sale Order Item : Custom Field : Table Control

    I have added two fields to sale order item table control in program SAPMV45A screen no . 4900. Now the field which i have added are working fine while creating sale order but while changing those fields are not changing.
    condition is like this: the custom field are automatically filled by some logic and if the user want to change those field he will able to do. Now 1st condition is fine and when i change those field they will show the previous saved value inspite of changed value. 
    I have also added those field in additional data b tab in screen 8459 , there they are working fine but here the problem remains the same.

    Hi,
    u can use BAPI_SALESORDER_CHANGE to update the values of those fields. for that u need to extend few tables and coding that u can get from the BAPI documentation. If not getting reply back. i can help u..
    regards,
    pavan.

  • Sale order - mtrl - prod ord ; table link

    hi,
    pl tell me a link through table and field -
    how to get a link between sale ord - item no. - mtrl - prodn ord no. - prodn posted qty.
    regards

    I have an understanding that you are in need of the tables for mat.no,prod.ord.and sales order to make a report to make them all appear in the report...
    If that is so,there is no need for tables..YOu can get that in standard SAP..
    Go to COOIS..enter the plant and execute.. In the resulting screen, go to chane layout. There u can add the sales order in the layout...material and production order will be there by default...
    Thus you can have the material,production order and the corresponding sales order in a single transaction...
    hope this clarifies...
    karthick

  • Sale order header document flow table

    Dear Guru's        
                  In which table the sales order heard document flow will be stored I checked in se16 “VBFA” table it is updating document flow Line item vise. But I want header vise.

    hi,
    I think , table VBFA will remain same , you need to select with POSNN = '10' , means keep always 10 if you want header details.
    saravanan

  • How to get sales order data with GL tables

    I want to get sales order details from my GL query. I need to get item number, quantity and customer PO from there. Here is my query from GL.
    SELECT PH.po_header_id,
      I.GL_DATE,
      R.je_header_id JE_HEADER_ID,
      R.je_line_num JE_LINE_NUM,
      aeh.org_id ORG_ID ,
      I.invoice_num TRX_NUMBER_C ,
      ael.description COMMENTS ,
      ael.ACCOUNTED_CR ACCOUNTED_CR,
      ael.ACCOUNTED_DR ACCOUNTED_DR,
      ael.code_combination_id CODE_COMBINATION_ID,
      ael.currency_code CURRENCY_CODE,
      ael.entered_cr ENTERED_CR,
      ael.entered_dr ENTERED_DR,
      PH.segment1 PO_ORDER_NUMBER,
      GL.segment1 company,
      GL.segment2,
      GL.segment3,
      GL.segment4,
      GL.segment5 account
      ,ael.description
      ,PD.quantity_ordered, PD.amount_billed, D.quantity_invoiced,  D.unit_price
    FROM gl_import_references R, --ok
      gl_je_categories jc,
      ap_ae_lines_all AEL, --ok
      ap_ae_headers_all AEH, --ok
      ap_invoice_distributions_all D,
      ap_invoices_all I,
      ap_accounting_events_all AE,
      po_releases_all PR,
      po_headers_all PH,
      po_distributions_all PD,
      po_vendor_sites_all VS,
      gl_code_combinations GL
    WHERE 1=1
    AND jc.je_category_name       = aeh.ae_category
    AND PR.po_release_id(+)       = PD.po_release_id
    AND PH.po_header_id(+)        = PD.po_header_id
    AND PD.po_distribution_id(+)  = D.po_distribution_id
    AND ael.third_party_sub_id    = VS.vendor_site_id
    AND AE.accounting_event_id    = AEH.accounting_event_id
    AND I.invoice_id              = AE.source_id
    AND AE.source_table           = 'AP_INVOICES'
    AND AEH.ae_header_id          = AEL.ae_header_id
    AND DECODE(ael.source_table,'AP_INVOICE_DISTRIBUTIONS', AEL.source_id,NULL) = D.invoice_distribution_id(+)
    AND AEL.gl_sl_link_id         = R.gl_sl_link_id
    and ael.code_combination_id = GL.code_combination_id

    Then your query is completely wrong.
    Your query is looking at Purchase Order tables.
    If you want sales order data, you should be looking at OE tables (such as OE_ORDER_HEADERS_ALL, OE_ORDER_LINES_ALL etc.)
    Sandeep Gandhi

  • Sales Order Line Item Status Table

    Hello All
    In which table the item status is stored?
    I am referring the fields in the status tab of item in sales order.
    Eg: There are total 6 fields under status tab of line item in sales order.
    I want to see where these fields can be configured and in which table they gets stored.
    Please help .
    Thanks in advance
    Sonali

    Hi
    In  VVBUP  the fields the fields UVP01...UVP05 and  VBUP the fields UVP01...UVP05 contain the item staus.
    Thank you,
    Sekhar.

Maybe you are looking for

  • How do I play one Podcast at a time?

    My old IPod played one Podcast at a time. My new 160 Classic plays them continually. Is there a way to get my new IPod to play one Podcast at a tme?

  • Error: Could not connect to SAPR3_Financials

    Hi all I am trying to launch MSS Services for my organization. Specifically the My Budget area of the package. I am getting this error I have pasted in the subject on almost all the iViews for any user. The only way the system fetches the data withou

  • Black images in my iPhone's photo album

    Hello, When i synced my iPhone with iPhoto on my mac and then deleted the pictures off my iPhone when Iphoto asked, there are now black images in my photo album on my iPhone. How do I get rid of these? I've tried to delete them on my iPhone but that

  • Monitor size

    I seem to remember that CF8 has a function that provides the monitor display size. Can anyone shed some light on this? I want to dynamically set the height of an IFRAME.

  • Important Use of Adapters

    Hi All, Sorry for posting this question in the forum. I am going to present a presentation on Adapters. I have everything about the parameters about all adapters but don't have the exact uses of all adapters. So please let me know uses and where did