Which structure field contains the header level net price of sales order ?

Hi Friends,
I am writing a pricing routine for calculating ZSMR condition value in sales order header level. The formula for calculating is   (NET PRICE / NET SALES COST) / NET PRICE.
Which structure contains the net price of the sales order in header level. KOMK structure does not contains the net price value.
Any ideas is highly appreciable.
Thanks,
Sakthidoss.

Sivanand,
I can not use VBAK as I have not saved the sales order yet and before that I need to calculate the pricing condition. In the sales order header level, net price is showing. I want to know which structure contains that net price value.
You have any thoughts whether I am in correct path?
I will certainly appreciate your help by rewarding points.
Edited by: dossgs on May 20, 2010 2:13 PM

Similar Messages

  • Goods recipient field at the header level when reservation is created.

    Hi Experts,
    In SRM, when shopping cart is created and a reservation is created in the backend ECC system, the Goods Recipient field is updated only at the item level but not at the header level. That is, when I go to the transaction mb23 and check the values for the particular reservation, the Recipient field is updated only for the item and not for the header.
    On the other hand when I create a reservation manually, Goods recipient can be filled at header level as well.  Is there any way in which the Goods recipient value will reflect at the header level as well when I am creating a shopping cart and a reservation is created in the backend?
    Thanks in advance.
    Regards,
    Janhavi.

    Dear Poster,
    As no response has been provided to the thread in some time I must assume the issue is resolved, if the question is still valid please create a new thread rephrasing the query and providing as much data as possible to promote response from the community.
    Best Regards,
    SDN SRM Moderation Team

  • Pricing Routine - unable to enter new net price in sales order

    Hi all,
      I have a routine 993 in sales order which is in Column 'Bas Type' in pricing procedure .  The routine has statement like this that calculate the unit price:
      If xkomv-kbetr is initial.
            xkomv-kbetr =  komp-netwr /  kmeng  
    Endif.
    This calculate the net price which appear in the column 'Amount/Net Price.   In the order, the user can change the net price in column 'amount'.  However, if i remove the line  "If xkomv-kbetr is initial",   the user can change the amount, but the amount value will stay as the original amount.  I don;t understand why this happen.   I have been debugging saplv61A (FM Pricing) but unable to get the flow.   Can anyone pls provide guidance ?
    Thanks
    Joyce

    Hi Joyce,
    I'm just wondering how you solved this issue - would it be possible to post a solution please?
    I have a similar issue (KBETR field is overwritten, after I change it in my VOFM routine)
    I posted my question here:
    VOFM (Pricing Condition) FREIGHT - unable to edit Amount value (KOMV-KBETR)
    but haven't received any replies!
    Would appreciated any help you can offer.
    Thanks.

  • Need to pull INITIAL(vbap)net price of  Sales Order, after changing viaVA02

    Hi Experts,
    Mine is differetnt requirement..........
    I created a my_Sales_order_12345678 with 2 items, as follows,(all following values/entries r for my_Sales_order_12345678)
    line item_10---->net_value_netpr = $100
    line item_20---->net_value_netpr = $200
    Then the VBAP entries as r as follows,
    POSNR -
    >NETPR
    10----
    > $100
    20----
    > $200
    I changed first time as via VA02 tx, as
    line item_10---->net_value_netpr = $300
    line item_20---->net_value_netpr = $400
    Then the VBAP entries as r as follows,
    POSNR -
    >NETPR
    10----
    > $300
    20----
    > $400
    I changed second time as via VA02 tx, as
    line item_10---->net_value_netpr = $500
    line item_20---->net_value_netpr = $600
    Then the VBAP entries as r as follows,
    POSNR -
    >NETPR
    10----
    > $500
    20----
    > $600
    My requirement: for some reason, I need the initial values, I mean
    the VBAP entries of,
    POSNR -
    >NETPR
    10----
    > $100
    20----
    > $200
    I tried with CDHDR & CDPOS tbls, but no use? So, from Where Can I get/pull them??
    thanq
    Edited by: Srinivas on Jan 24, 2008 12:22 AM

    hi sirnivas..
    Thanq you for the points..these are the first i ever recieved..
    if you are working on peice of code which can get the price history do me a favour if you have finished the code just explain it to me who did u  do that...
    i have been working on an object from last two weeks to get the latest price...
    the thing is even though the price for condition items has been changed it wont get updated in the Sales orders unless new pricing fot the document is done...
    so i have to get all the sales orders who condition items price has been changed and display them in an ALV...so if you can get the exact old values...for the conditions i guess the opposite also can be done.....
    Here i have suggestion for you...in condition items there is a process called SCHEMA ( pricing Schema) which you can see using Condition Analysis button at the bottom of the condition item window...
    you can see all the price changes to the condition when you parse the tree structure of the procedure..EXAMPLE :- R0000 etc...
    so some Sales orders if the Schema has been changed all the existing condition are replaced by New ones from the changed Schema...so i guess that would play an important role in deciding the Price of Sales order...
    I know this is bit long but .....if you did finsish your program do let me know how you did it...
    Thankyou very much and good luck.

  • Getting the Net Price from sales order into PO

    Hi All,
    I want to get the netprice from sales order to PO just before creating the PO.
    Is there any user exit for that.
    Thanks,
    Praveen

    where u are creating PO ? How u are passing Sales Order Number to PO ?
    regards
    Peram

  • Change of Net Price in Sales Order

    Hello Experts!
    I wanted to know how the "Net Price" of a sales order can be "changed" by the system or "indirectly" by the user.  I have an issue with the net price that changed in the sales order, and wanted to know how this could have happened; <b>besides</b> changing the pricing conditions, price adjustments, and order surcharge.  Is there someway the system could have changed it or user "indirectly"?  Please advise.  Thank you in advance!
    WC

    Net price is not changed directly.
    It's chanegd via changes to pricing only unless you have some code which updates this field AFTER SAP calculated it based on pricing conditions.
    NOTE: if you reject line items it's vlaue is substracted form order net value, the same is true if any of your pricing conditions is made inactive due to various reasons.
    Changes to pricing condiitons are not shown in order change history, you can see changes per condition record, but if any of your conditions in sales order was made inactive - you won't see it in change log. One of the options may be - if you generate any outputs (IDOCs) which send pricing info - you can check those IDOCs to determine when & what was changed in the pricing of your order.

  • Net price in sales order

    Hi,
    The Net price which displays in my sales order conditions on top is wrong . Where is the calculation done for this in pricing procedure.Kindly let me know how to calculate the net price.

    Hello
    You control this in your pricing through Condition formula for Alternative calculation type (on of the 16 fields in Pricing).
    For this if you refer Std pricng procedure RVAA01.
    The net price is net price & taxes in sales order b'coz of [alternative calculation type as 4|https://docs.google.com/leaf?id=0B-5wCmYJ-6dlOTc3OTk1MjctZmIzOC00NmExLTk0N2MtNTcyMzBiYzFjOTc4&sort=name&layout=list&num=50] (check the link).
    So if you want only net price to be there then use alternative calculation type as 2.
    I hope this clarifies your requirement.
    Thanks & Regards
    JP

  • KE30 doesn't match with sales order gross and net prices of sales order

    KE30 for sales anlysis by sales document amounts are not matching with actual sales order..that too only for credit memo request type of documents,rest of other type of docs match...my controlling area in USD currency where as the sales documnets are created in canadian currency, report is being converted in mean conversion rate..all other documnets are matching, except credit memo request. Do you guys have any idea, where and what to to check? thanks

    Hi,
    Thanks but that is not a soluction. When the sales order is created by DP90, if there is a field mandatory the incompletion log should be activated as when you create the sales order by transaction VA01.
    It's clear that if you go out of the sales order created by DP90 without any change, the incompletion log doesn't active.
    Any idea o reason? Possibly I will send a oss note but I previously hope your considerations.
    Thanks in advance

  • Order quantity field in the item overview tab of a sales order

    Hi,
    I would like to make the order quantity field inactive, i.e., the field should be greyed out, when i enter the transaction VA01.
    Is there any way this can be done through functional configuration?
    Cheers,
    MR

    Unfortunately, it doesn't.
    The requirement was to adapt transaction's layout in order to disable editing (e.g. turning it to grey, disactivating the field) for a particular field. This kind of job should be done dinamically as it interests only some kind of Purchase Requisitions (whose attributes should be checked "runtime").
    I found a good user exit which is executed every time a PR is loaded from Enjoy transactions ME51N/ME52N/ME53N in which i can easily check if prerequisites for the "locked field" exist... but there's no visibility over the right SCREEN in that user exit (and also, I tried, in ANY of the std userexit) so I don't know how to tell the transaction "hey, for this order turn the EPSTP (=pstyp in EBAN) grey since it must be not-modifiable".
    Can't get at the same time Field Exit to work on this system (46C)

  • Net Value in sales order item

    Hi All,
    Any one know how the system set net value in sales order item? (VBAP-NETWR)
    I mean, what kind of condition type will be considered in net value calculation.
    Thank you

    Hi,
    In Sales Order net value (NETWR) is always value before tax, it means the condition type determined before tax condition will be considered in sales order Net Value.
    In other words if conditon type have a category defined as D-Tax and Cond. class as D- Taxes, the value of this condition type will not be considered in Net value.
    regards
    Vivek.
    Edited by: Vievk Vardhan on Jan 7, 2010 2:00 PM

  • Poulate the header levels fields in Content Conversion in receiver FAdapter

    Hi All,
    I have req in that there is table stucture , this table strcture I want to populate the header level and item level also at receiver side. I am using Content Conversion at receiver side.
    the data is like this
    at header level
    Country      City       Name   Age
      India           bom       kk        19
      Sweden    Stock     GG       20
    for this type file How can I create the datatype  and In wht way I  will use content conversion for this.wht paramters I have to give in in Content Conversion.......
    Regards

    HI Sudip,
    the field labels I want in excel file at top or header of every coloum are)
    Country City Name Age
    below these fields only the value of these fields will come like this
    India bom kk 19
    Sweden Stock GG 20
    for this u mean to say I have to declare only header
    Create Data Type with sub-element ITEMS(just an example)
    Then Country,Name,Age or whatever field you want to add in header of output file.
    Once data type is ready now time to configure Receiver CC:
    Use following Content Conversion Parameters:
    Recordset Structure: ITEMS
    ITEMS.addHeaderLine: 1
    ITEMS.fieldSeparator: (space)
    ITEMS.endSeparator: 'nl'
    and my data will come like this in file
    Country    City            Name    Age
    India          Banglore   jjjjj          24
    England     london      kkkk      88
    Can u plz cofirm for this...........
    Regards

  • How to add 2 more field to the  Header of FBL5N ALV report output

    Hi All,
    I have copied and made some modification to the standard transaction FBL5N and added some fields to the ALV report line Items but how to add fields to the header part i.e if you execute the transaction FBL5n, you will get the ALV report, in the header part customer no, company code then I need to add the 2 more fields. can any one tell me that which structure or where I need to add these fields to be appear in ALV output screen.
    Thanks in advance.
    Swapna.

    Hi Mohamed,
    If you copied Z-FM successfully, then you have to go to subroutine TOP_OF_PAGE to add your field:
    *&      Form  TOP_OF_PAGE
    FORM top_of_page.
      DATA: b_suppress   LIKE boole-boole,
            opfi_text    LIKE eptext OCCURS 10 WITH HEADER LINE,
            n_color      TYPE i.
    *  IF     NOT it_items-bukrs IS INITIAL               "737295
    *     AND NOT it_items-konto IS INITIAL               "737295
    *     AND NOT it_items-koart IS INITIAL.              "737295
      gs_items = gt_alv.
    *  ENDIF.                                             "737295
    * skip first call at top of page:
      IF NOT gd_first_top IS INITIAL.
        CLEAR gd_first_top.
        EXIT.
      ENDIF.
      IF x_grid = c_x OR x_inet = c_x.                          "1012201
        PERFORM grid_top_of_page.
        EXIT.
      ENDIF.
    *... open FI: get header text.
    * first fill some RFXPO fields for general info:
      CLEAR: s_rfxpo, wa_kna1, wa_lfa1, wa_ska1.
      s_rfxpo-bukrs = gs_items-bukrs.
      s_rfxpo-kkber = gs_items-kkber.
      s_rfxpo-koart = gs_items-koart.
      s_rfxpo-konto = gs_items-konto.
      s_rfxpo-vrbez = gs_variant-variant.
      s_rfxpo-waers = gs_items-waers.
    * update master record:
      PERFORM fill_master_rec  USING gs_items-koart
                                     gs_items-konto
                                     gs_items-bukrs. " note 698396
      CALL FUNCTION 'OPEN_FI_PERFORM_00001640_E'
        EXPORTING
          i_rfxpo             = s_rfxpo
          i_kna1              = wa_kna1
          i_lfa1              = wa_lfa1
          i_ska1              = wa_ska1
        IMPORTING
          e_suppress_standard = b_suppress
        TABLES
          t_lines             = opfi_text.
    *... display open FI text:
      IF x_konto_sort = 'X'.
        LOOP AT opfi_text.
          CASE opfi_text-color.
            WHEN 1.
              FORMAT COLOR 1.
            WHEN 2.
              FORMAT COLOR 2.
            WHEN 3.
              FORMAT COLOR 3.
            WHEN 4.
              FORMAT COLOR 4.
            WHEN 5.
              FORMAT COLOR 5.
            WHEN 6.
              FORMAT COLOR 6.
            WHEN 7.
              FORMAT COLOR 7.
          ENDCASE.
          WRITE: / opfi_text-text.
        ENDLOOP.
        FORMAT RESET.
      ENDIF.
    *... display other header text:
      IF b_suppress NE 'X'.
        PERFORM display_custom_header.
        PERFORM display_ccard_lines.
      ENDIF.
    " Put your field somewhere...
    ENDFORM.                               " TOP_OF_PAGE
    Good luck,
    Thanks,

  • Custom Field in the header of Shopping Cart

    Dear all,
    We have to add a Custom field on the header of the Shopping Cart which will have three values.
    This field has to flow thru the Bid invitation, Contract and the PO ...
    Can anybody provide the technical details of the same ?? Which all are the structures to be changed ?
    Thanks in Advance ...
    Regards,
    Vivek K

    Hi
    To add  custom fields to the shopping cart, please try this process ->
    Please refer to these SAP OSS notes ->
    <u>Note 458591 - User-defined fields: Preparation and use
    Note 672960 - User-defined fields 2
    Note 822424 - CUF. Customer fields cannot be changed in the bid
    Note 809630 - Customer field in bid invitation and bid - How does it work?
    Note 809628 - Table like customer fields from bid invitation in bid
    Note 798731 - Bid: Bid Inv. Customer fields not visible
    Note 762984 - SRM40-SUS: Implementation of customer enhancement fields</u>
    Please go through the documentation of following 3 Business Add-Ins using SE18 transaction.
    BBP_BUPA_GET_CUF Customer Fields for Vendor Master Data
    BBP_CUF_BADI-Customer Fields. Call-up of User-Defined Screen
    BBP_CUF_BADI_2-Customer Fields. Use of Standard Table Control
    Please refer to these links for details ->
    <b>Re: MAP USer SRM defined fields in backend for PO
    Re: HI SRM experts...
    Custom fields to a Bid Invitation
    Addition of custom fields in Contract and mapping it with the fields in SRM
    urgent help request - How to add custom fields to  header BID.
    Re: Add custom fields to Contract Transaction in SRM 4.0
    Custom Fields
    custom fields in Carry out sourcing screen..
    Custom Fields Not Display In Basic Data In SRM 5.5 Server..
    Regards
    - Atul

  • Delivery address at Item Level and not at the Header Level

    Hello Experts,
    We are facing an issue as described below:-
    We are in SRM 7.0 using classic scenario.
    After approval of multi line Shopping Cart in SRM ,PR's are getting
    automatically created in backend R/3 system.After converting PR's into
    POs in backend R/3,we are observing that the delivery address for these
    PO'are getting printed at Item level and not at the Header Level
    inspite of the delivery address being same for all the Item level.
    As desired,the delivery address in the PO's should have the delivery
    address at the header level if the the delivery address is identical
    for all the Item Levels.
    However,if we create a PR directly in R/3 system and then convert these
    PR's into PO's in the backend R/3 system,we find that the deliver
    address are getting printed at the Header Level if the delivery address
    is same for all the item level(which is as desired)
    Any pointers will be highly appreciated.
    Thanks & Regards,
    RKS

    It is standard process only.
    In Po delivery address is maintained at item level because to which address perticular material to be delivered,
    this may change from material to material or may not change

  • How to retrive the attachment at the header level attached in a PO

    Hello,
        my requirement is to read the attachment at the header level from a PO and send the attachment as an email.Can help me n tell how to read the attachment and send it via a email.
    Plz reply ASAP

    Get The data from EKKO table to get all header Level  and send an email to particat user group.
    Table Declarations
    TABLES: SOLI.
    Data Declarations
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    PARAMETERS: SAPID RADIOBUTTON GROUP ADDR,
    EMAIL_ID RADIOBUTTON GROUP ADDR.
    SELECTION-SCREEN END OF BLOCK B1.
    SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-002.
    SELECT-OPTIONS: ID FOR SOLI-LINE NO INTERVALS.
    SELECT-OPTIONS: CC FOR SOLI-LINE NO INTERVALS.
    SELECT-OPTIONS: BCC FOR SOLI-LINE NO INTERVALS.
    *PARAMETERS: SENDER LIKE SOUD-USRNAM.
    SELECTION-SCREEN END OF BLOCK B2.
    SELECTION-SCREEN BEGIN OF BLOCK B3 WITH FRAME TITLE TEXT-009.
    PARAMETERS: SUB_LINE(60) TYPE C.
    SELECTION-SCREEN END OF BLOCK B3.
    SELECTION-SCREEN BEGIN OF BLOCK B4 WITH FRAME TITLE TEXT-008.
    SELECT-OPTIONS: TEXT1 FOR SOLI-LINE NO INTERVALS.
    SELECTION-SCREEN END OF BLOCK B4.
    SELECTION-SCREEN BEGIN OF BLOCK B5 WITH FRAME TITLE TEXT-009.
    SELECTION-SCREEN BEGIN OF LINE.
    parameters: P_ATTACH as checkbox.
    selection-screen comment 3(30) text-010.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK B5.
    DATA: MAIL_CONTENT LIKE SOLI OCCURS 0 WITH HEADER LINE,
    SUBJECT_LINE LIKE SOOD1-OBJDES.
    Start of program processing
    START-OF-SELECTION.
    Get the Body of the Message from the selection screen or from
    calling program
    LOOP AT TEXT1.
    MOVE TEXT1-LOW TO MAIL_CONTENT-LINE.
    APPEND MAIL_CONTENT.
    ENDLOOP.
    Subject of the Message
    MOVE SUB_LINE TO SUBJECT_LINE.
    call a routine to send the workflow message
    PERFORM SEND_EMAIL
    TABLES MAIL_CONTENT
    USING SUBJECT_LINE.
    *& Form SEND_EMAIL
    Send Workflow message
    FORM SEND_EMAIL TABLES OBJCONT STRUCTURE MAIL_CONTENT
    USING TITLE LIKE SOOD-OBJDES.
    DATA: RECEIVERS LIKE SOOS1 OCCURS 0 WITH HEADER LINE,
    TSOOD1 LIKE SOOD1,
    PACKING_LIST LIKE SOXPL OCCURS 0 WITH HEADER LINE,
    OBJCONT1 LIKE MAIL_CONTENT OCCURS 0 WITH HEADER LINE.
    DATA: BEGIN OF AT_HEADER OCCURS 1.
    INCLUDE STRUCTURE SOLI.
    DATA: END OF AT_HEADER.
    CLEAR: TSOOD1,
    RECEIVERS.
    REFRESH RECEIVERS.
    MOVE: SY-LANGU TO TSOOD1-OBJLA,
    'Email Notice' TO TSOOD1-OBJNAM,
    'C' TO TSOOD1-OBJSNS,
    TITLE TO TSOOD1-OBJDES.
    'SCHIAVONIR' TO TSOOD1-OWNNAM.
    loop through each ID and move them to recipient table
    LOOP AT ID.
    TRANSLATE ID-LOW TO UPPER CASE.
    IF SAPID = 'X'.
    MOVE: SY-DATUM TO RECEIVERS-RCDAT,
    SY-UZEIT TO RECEIVERS-RCTIM,
    ' ' TO RECEIVERS-RECESC,
    ID-LOW TO RECEIVERS-RECNAM,
    'X' TO RECEIVERS-SNDEX.
    ELSE.
    MOVE: SY-DATUM TO RECEIVERS-RCDAT,
    SY-UZEIT TO RECEIVERS-RCTIM,
    'U' TO RECEIVERS-RECESC,
    'U-' TO RECEIVERS-RECNAM,
    ID-LOW TO RECEIVERS-RECEXTNAM.
    ENDIF.
    APPEND RECEIVERS.
    CLEAR RECEIVERS.
    ENDLOOP.
    loop through each CC and move them to recipient table
    LOOP AT CC.
    TRANSLATE CC-LOW TO UPPER CASE.
    IF SAPID = 'X'.
    MOVE: SY-DATUM TO RECEIVERS-RCDAT,
    SY-UZEIT TO RECEIVERS-RCTIM,
    ' ' TO RECEIVERS-RECESC,
    CC-LOW TO RECEIVERS-RECNAM,
    'X' TO RECEIVERS-SNDEX,
    'X' TO RECEIVERS-SNDCP.
    ELSE.
    MOVE: SY-DATUM TO RECEIVERS-RCDAT,
    SY-UZEIT TO RECEIVERS-RCTIM,
    'U' TO RECEIVERS-RECESC,
    'U-' TO RECEIVERS-RECNAM,
    CC-LOW TO RECEIVERS-RECEXTNAM,
    'X' TO RECEIVERS-SNDCP.
    ENDIF.
    APPEND RECEIVERS.
    CLEAR RECEIVERS.
    ENDLOOP.
    loop through each BCC and move them to recipient table
    LOOP AT BCC.
    TRANSLATE BCC-LOW TO UPPER CASE.
    IF SAPID = 'X'.
    MOVE: SY-DATUM TO RECEIVERS-RCDAT,
    SY-UZEIT TO RECEIVERS-RCTIM,
    ' ' TO RECEIVERS-RECESC,
    BCC-LOW TO RECEIVERS-RECNAM,
    'X' TO RECEIVERS-SNDEX,
    'X' TO RECEIVERS-SNDBC.
    ELSE.
    MOVE: SY-DATUM TO RECEIVERS-RCDAT,
    SY-UZEIT TO RECEIVERS-RCTIM,
    'U' TO RECEIVERS-RECESC,
    'U-' TO RECEIVERS-RECNAM,
    BCC-LOW TO RECEIVERS-RECEXTNAM,
    'X' TO RECEIVERS-SNDBC.
    ENDIF.
    APPEND RECEIVERS.
    CLEAR RECEIVERS.
    ENDLOOP.
    AT_HEADER = SY-DATUM.
    APPEND AT_HEADER.
    AT_HEADER = SY-UZEIT.
    APPEND AT_HEADER.
    IF SENDER EQ SPACE.
    SENDER = SY-UNAME.
    ENDIF.
    IF P_ATTACH EQ 'X'.
    PACKING_LIST-HEAD_START = 1.
    PACKING_LIST-HEAD_NUM = 2.
    PACKING_LIST-BODY_START = 1.
    PACKING_LIST-BODY_NUM = 9999.
    PACKING_LIST-FILE_EXT = 'TXT'.
    APPEND PACKING_LIST.
    CLEAR PACKING_LIST.
    APPEND LINES OF OBJCONT TO OBJCONT1.
    REFRESH OBJCONT.
    ENDIF.
    CALL FUNCTION 'SO_OBJECT_SEND'
    EXPORTING
    OBJECT_HD_CHANGE = TSOOD1
    OBJECT_TYPE = 'RAW'
    TABLES
    OBJCONT = OBJCONT
    RECEIVERS = RECEIVERS
    ATT_HEAD = AT_HEADER
    ATT_CONT = OBJCONT1
    PACKING_LIST = PACKING_LIST
    EXCEPTIONS
    ACTIVE_USER_NOT_EXIST = 1
    COMMUNICATION_FAILURE = 2
    COMPONENT_NOT_AVAILABLE = 3
    FOLDER_NOT_EXIST = 4
    FOLDER_NO_AUTHORIZATION = 5
    FORWARDER_NOT_EXIST = 6
    NOTE_NOT_EXIST = 7
    OBJECT_NOT_EXIST = 8
    OBJECT_NOT_SENT = 9
    OBJECT_NO_AUTHORIZATION = 10
    OBJECT_TYPE_NOT_EXIST = 11
    OPERATION_NO_AUTHORIZATION = 12
    OWNER_NOT_EXIST = 13
    PARAMETER_ERROR = 14
    SUBSTITUTE_NOT_ACTIVE = 15
    SUBSTITUTE_NOT_DEFINED = 16
    SYSTEM_FAILURE = 17
    TOO_MUCH_RECEIVERS = 18
    USER_NOT_EXIST = 19
    X_ERROR = 20
    OTHERS = 21.
    ENDFORM. " SEND_EMAIL
    Reward Points if it is helpful
    Thanks
    Seshu

Maybe you are looking for