Custom Report for Pricing Conditions Master

Hi Everyone,
We know that Pricing Conditions Master Data is stored in KONH and KONP. If a condition is populated in a document then transactional data can be obtained from KONV with 'condition record number' as the foreign key.
The requirement is to design a custom report that lists for order items the pricing conditions (basic price) that are not populated in the sales orders. The pricing is not carried out in these orders as these are not chargeable orders, but the user wishes to know in an existing custom report the price from the conditon master data.
The idea is that the sales order has no pricing calculated but how much Sales Price the material has as per the price condition master record.This can be known by the custom report.
Visiting the standard prcing preports like V/LD is laborious for the user and wishes to add a column in an exisitng report of order item list for the price of each order item.
The challenge here is that in KONH there is no field for material exlusively. It gets stored as a text and hence fetching data from this table for a given material seems difficult. Let us remember that we are not refering to any sales order while accessing data from KONH or KONP.
Any thoughts / views on how this can be achieved are most welcome.
Thanks,
Hemant

You will have to work on exact condition table in access sequence instead of KONH. For eg: If condition table in access sequence is 601 then you will have fetch the condition number KNUMH from table A601 (prefix A before the condition table number). With the KNUMH you can get the condition value from KONP.
Regards,
GSL.

Similar Messages

  • Standard report for pricing condition.

    Hello everyone,
    Is there any standard report to see the price maintain in particular condition record in VK11 with different key combination. can anybody tell me in which table it is maintain.
    Regards,
    Naveed Ansari.

    Hi
    The Standard report for Pricing condition is V/LD.
    You can get datas like Material prices, Individual prices, discounts & surcharge prices, Material list/Material pricing Group with & without scal display, Price list types with & without scale display.
    V/LB   SAPMV14A       Change Pricing Report
    V/LC   SAPMV14A       Display Pricing Report
    V/LD   SAPMV14A       Execute pricing report
    V/LE   RV14ALLE       Generate pricing reports
    Award if useful to you
    Thank you
    Edited by: narendran vajravelu on Oct 14, 2008 7:23 AM
    Edited by: narendran vajravelu on Oct 14, 2008 7:25 AM

  • Creation of Customized field for  Pricing Condition tables

    Hi Friends
    I have a requirement to create a  Pricing condition table with Customized field starts with 'Z'  and
    Field length should be more than 80.
    After creating New Customized Field, system  is not allowing to create Pricing Condition table and giving error 'Too Many fields selected (larger than 100 bytes)'.
    Could you please advice how to over come this error and Maximum field to create Pricing  condition table .
    Thanks
    Ravi

    Hi there,
    Table & table attributes are defined by the ABAPers. Not by finctional consultants.
    You need to have an access key to define new tables & access sequence.
    Check with your ABAPer. He will be able to help you with that.
    Regards,
    Sivanand

  • How to Created custom report for Ship not Billed (SD/FI)?

    Hi all,
    I am anticipating  to write some abap reports..Here is one of them..
    Anyone can help  me with writing a Report , how to do 'Custom Report for shipped not Billed(SD/FI)' ..But since I am new to Abap , if you wish to reply, please use a little more detail and simple explanation, step by step so I can understand what is the idea, how it can be acheived...what kind of report should be used , techniques, tables etc...:)
    Appreciate your help!
    Regards,
    Boby

    Hi Boby,
    You need to create custom transaction to achive these results.
    you will have selection-screen ,it would be :
    Date : Here date would be mandatory  - Ranges Option
    Customer  - Optional field - Ranges
    Order #  Sales Order (Optional) Ranges
    Invoice #  - Invoice # (Optional) Ranges
    You will get the data based on ur selection-screen criteria ...
    First you will have customer order details from diffrent table
    VBAK,
    VBAP,
    LIKP
    LIPS
    VBRK,
    VBRP
    KNA1,
    VBFA Tables ( See the my sample program )
    Output would be :
    Customer #   Custome Name    Order #   Delivery #   Invoice #   Netpr, Netquantity ,
    Check the condition  whether invoice table has VBRK-RFBSK  = ''.
    See the my sample program : This is sales report by monthly..
    REPORT ZFDSALES_REPORT no standard page heading
                           message-id zwave.
    Data Declaration Part
    TYPE-POOLS
    type-pools : slis.
    Tables
    tables : VBAK,
             VBAP.
    Internal table for VBAK Table
    data : begin of i_vbak occurs 0,
           vbeln like vbak-vbeln,
           bstnk like vbak-bstnk,
           vdatu like vbak-vdatu,
           end of i_vbak.
    Internal table for VBAP and MATNR
    data : begin of i_vbap occurs 0,
           vbeln like vbap-vbeln,
           matnr like vbap-matnr,
           kdmat like vbap-kdmat,
           kwmeng like vbap-kwmeng,
           netpr like vbap-netpr,
           maktx like makt-maktx,
           end of i_vbap.
    Internal tables
    data : begin of i_sales occurs 0,
           vdatu like vbak-vdatu,
           bstnk like vbak-bstnk,
           matnr like vbap-matnr,
           maktx like makt-maktx,
           kdmat like vbap-kdmat,
           kwmeng like vbap-kwmeng,
           netpr  like vbap-netpr,
           end of i_sales.
    Variable for ALV
    data : v_repid like sy-repid,
           gt_fieldcat    type slis_t_fieldcat_alv.
    Selection-screen
    selection-screen : begin of block blk with frame title text-001.
    select-options : s_vbeln for vbak-vbeln,
                     s_erdat for vbak-erdat,
                     s_ernam for vbak-ernam,
                     s_vdatu for vbak-vdatu obligatory,
                     s_BSTNK for vbak-BSTNK,
                     s_KUNNR for vbak-kunnr,
                     s_matnr for vbap-matnr,
                     s_KDMAT for vbap-KDMAT.
    selection-screen : end of block blk.
    Initilization
    initialization.
      v_repid = sy-repid.
    S T A R T  -  O F  -  S E L E C T I O N ****************
    start-of-selection.
    Get the data from VBAK and VBAP Tables
      perform get_vbak_vbap.
    E N D  -  O F  -  S E L E C T I O N *****************
    end-of-selection.
    Display the data
      perform dispolay_data.
    *&      Form  get_vbak_vbap
          Get the data from VBAK and VBAP Table
    FORM get_vbak_vbap.
    Get the data from VBAK Table
      select vbeln bstnk vdatu from vbak into table i_vbak
                         where vbeln in s_vbeln
                         and   bstnk in s_bstnk
                         and   vdatu in s_vdatu
                         and   kunnr in s_kunnr
                         and   erdat in s_erdat
                         and   ernam in s_ernam.
      if sy-subrc ne 0.
        message e000(zwave) with 'No data found for given selection'.
      endif.
    Get the data from VBAP Table
      select avbeln amatnr akdmat akwmeng a~netpr
             b~maktx into table i_vbap
             from vbap as a inner join makt as b on bmatnr = amatnr
             for all entries in i_vbak
             where a~vbeln in s_vbeln
             and   a~kdmat in s_kdmat
             and   a~abgru = space
             and   a~matnr in s_matnr
             and   a~matnr ne '000000000000009999'
             and   a~matnr ne '000000000000004444'
             and   a~matnr ne '000000000000008888'
             and   a~matnr ne '000000000000001111'
             and   a~werks = '1000'
             and   b~spras = 'E'
             and   a~vbeln = i_vbak-vbeln.
      if sy-subrc ne 0.
        message e000(zwave) with 'No data found for given selection'.
      endif.
      sort i_vbak by vbeln.
      sort i_vbap by vbeln matnr.
      loop at i_vbap.
        read table i_vbak with key vbeln = i_vbap-vbeln
                                binary search.
        if sy-subrc eq 0.
          i_sales-bstnk = i_vbak-bstnk.
          i_sales-vdatu = i_vbak-vdatu.
          i_sales-matnr = i_vbap-matnr.
          i_sales-kdmat = i_vbap-kdmat.
          i_sales-maktx = i_vbap-maktx.
          i_sales-netpr = i_vbap-netpr.
          i_sales-kwmeng = i_vbap-kwmeng.
          append i_sales.
        else.
          continue.
        endif.
        clear : i_sales,
                i_vbap,
                i_vbak.
      endloop.
      sort i_sales by vdatu bstnk matnr.
      refresh : i_vbap,
                i_vbak.
    ENDFORM.                    " get_vbak_vbap
    *&      Form  dispolay_data
          Display the data
    FORM dispolay_data.
    Fill the Fiedlcat
      PERFORM fieldcat_init  using gt_fieldcat[].
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
      I_INTERFACE_CHECK                 = ' '
      I_BYPASSING_BUFFER                =
      I_BUFFER_ACTIVE                   = ' '
          I_CALLBACK_PROGRAM                = v_repid
      I_CALLBACK_PF_STATUS_SET          = ' '
      I_CALLBACK_USER_COMMAND           = ' '
      I_CALLBACK_TOP_OF_PAGE            = ' '
      I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
      I_CALLBACK_HTML_END_OF_LIST       = ' '
      I_STRUCTURE_NAME                  =
      I_BACKGROUND_ID                   = ' '
      I_GRID_TITLE                      =
      I_GRID_SETTINGS                   =
      IS_LAYOUT                         =
          IT_FIELDCAT                       = gt_fieldcat[]
      IT_EXCLUDING                      =
      IT_SPECIAL_GROUPS                 =
      IT_SORT                           =
      IT_FILTER                         =
      IS_SEL_HIDE                       =
      I_DEFAULT                         = 'X'
      I_SAVE                            = ' '
      IS_VARIANT                        =
      IT_EVENTS                         =
      IT_EVENT_EXIT                     =
      IS_PRINT                          =
      IS_REPREP_ID                      =
      I_SCREEN_START_COLUMN             = 0
      I_SCREEN_START_LINE               = 0
      I_SCREEN_END_COLUMN               = 0
      I_SCREEN_END_LINE                 = 0
      IT_ALV_GRAPHICS                   =
      IT_ADD_FIELDCAT                   =
      IT_HYPERLINK                      =
      I_HTML_HEIGHT_TOP                 =
      I_HTML_HEIGHT_END                 =
      IT_EXCEPT_QINFO                   =
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER           =
      ES_EXIT_CAUSED_BY_USER            =
        TABLES
          T_OUTTAB                          = i_sales
    EXCEPTIONS
      PROGRAM_ERROR                     = 1
      OTHERS                            = 2
    ENDFORM.                    " dispolay_data
    *&      Form  fieldcat_init
          text
         -->P_GT_FIELDCAT[]  text
    FORM fieldcat_init USING  e01_lt_fieldcat type slis_t_fieldcat_alv.
      DATA: LS_FIELDCAT TYPE SLIS_FIELDCAT_ALV.
    Delivery Date
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-FIELDNAME    = 'VDATU'.
      LS_FIELDCAT-OUTPUTLEN    = 12.
      LS_FIELDCAT-TABNAME    = 'I_SALES'.
      ls_fieldcat-seltext_L = 'Delivery Date'.
      APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.
    Purchase Order #Material Description
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-FIELDNAME    = 'BSTNK'.
      LS_FIELDCAT-OUTPUTLEN    = 25.
      LS_FIELDCAT-TABNAME    = 'I_SALES'.
      ls_fieldcat-seltext_L = 'Purchase Order #'.
      APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.
    Material
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-REF_FIELDNAME    = 'MATNR'.
      LS_FIELDCAT-REF_TABNAME    = 'MARA'.
      LS_FIELDCAT-FIELDNAME    = 'MATNR'.
      LS_FIELDCAT-TABNAME    = 'I_SALES'.
      ls_fieldcat-seltext_L = 'Material #'.
      ls_fieldcat-seltext_M = 'Material #'.
      ls_fieldcat-seltext_S = 'Material #'.
      APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.
    Material Description
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-FIELDNAME    = 'MAKTX'.
      LS_FIELDCAT-OUTPUTLEN    = 40.
      LS_FIELDCAT-TABNAME    = 'I_SALES'.
      ls_fieldcat-seltext_L = 'Material Description'.
      APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.
    Customer Material #
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-FIELDNAME    = 'KDMAT'.
      LS_FIELDCAT-OUTPUTLEN    = 35.
      LS_FIELDCAT-TABNAME    = 'I_SALES'.
      ls_fieldcat-seltext_L = 'Customer material no.'.
      APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.
    Quantity
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-FIELDNAME    = 'KWMENG'.
      LS_FIELDCAT-OUTPUTLEN    = 15.
      LS_FIELDCAT-TABNAME    = 'I_SALES'.
      ls_fieldcat-seltext_L = 'Quantity'.
      APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.
    Net Price
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-FIELDNAME    = 'NETPR'.
      LS_FIELDCAT-OUTPUTLEN    = 15.
      LS_FIELDCAT-TABNAME    = 'I_SALES'.
      ls_fieldcat-seltext_L = 'Net Price'.
      APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.
    ENDFORM.                    " fieldcat_init
    Reward Points if it is helpful
    Thanks
    Seshu

  • Custom Report For Excise On Sales

    hi friends,
    i need custom report for excise on sale like below format, can you please guide me to prapare FS for below requirement.
    Material Code And Discriptiion
    Sales Order No     
    Delivery No     
    Billing No     
    Accounting No     
    Excise Invoice No     
    Sold to Party     
    Billed Qty     
    gross value     
    bed     
    ecess     
    cess     
    she     
    total excise duty     
    invoice value
    Regds
    Ashwini

    dear friend,
    you can try the standard t-code SDO1 and change the layout
    good luck!

  • Mandatory Fields for IDOC ORDERS01 for Pricing Condition EDI1 to trigger

    Hi ,
    I'm Testing an Inbound ORDRSP using we 19  for Pricing Conditions EDI1. What are the Mandatory Fields for IDOC ORDERS01
    Thanks

    hello,
    I think it's better to execute VA01 to create a sales order; in that way you should have an idea of mandatory fields.
    Thanks.

  • Custom Report for Asset Intelligence including Collection selection

    Dear all,
    I'm struggling with an custom report for doing the following thing.
    I have labeled software with the custom label 3 in the Asset Intelligence.
    I like to create a Report where i can Choose my Collection and then the Label that should be displayed.
    Similar to the Report: Software 10A - Software titles with specific multiple custom labels defined.
    But i like to choose more than one Label 3.
    Does anybody have something like that? Its really complicated for me to edit that report.
    Thanks & Regards
    Flat

    Hi,
    You could post this question in SQL forum to see if someone there can edit the report.
    The following document could help you to custom the report.
    Getting Started with Report Builder
    https://msdn.microsoft.com/en-us/library/dd220460.aspx
    Best Regards,
    Joyce
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Customized report for cost centers by different cost centers

    Hi All,
    Customized report for cost centers by different cost centers:
    I need to build a customised report with the following format:
    Cost element columns | Cost center 1 | cost center 2 | cost center 3, etc -> dynamic cost center columns
    CE 1 .............................. amount xxx  |  . amount xxx | ..  amount xxx
    CE 2 .............................. amount xxx  |  . amount xxx | ..  amount xxx
    CE 3 .............................. amount xxx  |  . amount xxx | ..  amount xxx
    CE 3 .............................. amount xxx  |  . amount xxx | ..  amount xxx
    User selection screen:
    Controlling are:
    Fiscal Year:
    From period to period:
    cost center group ... <range of CC group> or
    cost center value ... <range of CC value>
    Questions:
    From the above selection screens, I need to pull out all the data stored in the table: COEP
    But, the problem is that inside this table, there is no cost center or cost center group stored; and therefore the program should be smart enough to pull out all the documents from the table: COEP and then make sure that the document / list of documents that pull out should belongs to the cost center or cost center group, as well as date range.
    KIndly advise how functional description/design should be built in order ABAPer can understand the requirement?
    What should be the tables to refer in order meet the requirement.
    Similar Standard SAP cost center report should be S_ALR_87013611 - Cost Centers: Actual/Plan/Variance, but this report read from many tables.

    Hi,
    Please find the logic below & try it at your system-
    Here cost center group is not possible (also i not checked it so do it on your own simultaneously i am trying the same).
    Use Table BSEG-> in bseg give the cost center-> with the help of cost center find the account number (field HKONT)-> take this GL account number & got to table COEP-> in this give the GL account number at field 'offsetting account' (field GKONT) & you will get the line item.
    Try it & let me know if you have any question.
    Thanks

  • Custom reporting for UCCX 7

    Hello there,
    I am looking for easier ways to generate custom reports for UCCX 7, I am asking incase I go away an spend heaps of time programming stored procedures and crytal reports if there is a report pack out there or some documentation to make it a bit easier.
    Our call center team leader is asking for reports to be written for the system or modification of existing reports as the ones included are either too crowded with information or do not display what we actually want.
    /* Style Definitions */
    table.MsoNormalTable
    {mso-style-name:"Table Normal";
    mso-tstyle-rowband-size:0;
    mso-tstyle-colband-size:0;
    mso-style-noshow:yes;
    mso-style-priority:99;
    mso-style-qformat:yes;
    mso-style-parent:"";
    mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
    mso-para-margin:0cm;
    mso-para-margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:11.0pt;
    font-family:"Calibri","sans-serif";
    mso-ascii-font-family:Calibri;
    mso-ascii-theme-font:minor-latin;
    mso-fareast-font-family:"Times New Roman";
    mso-fareast-theme-font:minor-fareast;
    mso-hansi-font-family:Calibri;
    mso-hansi-theme-font:minor-latin;
    mso-bidi-font-family:"Times New Roman";
    mso-bidi-theme-font:minor-bidi;}
    As an example, there is a report called ‘Agent Not Ready Reason Code Summary Report’, this report lists some not ready codes such as 32756 etc.. (i.e. Pre-defined system codes), however we want to list our own not ready codes as well as remove some of the system ones from the report as we don’t really want them there.
    Another example is the Agent state details report, one of the columns is 'Reason Code', this is fine, however it would be nice to have a summary at the end of the report for a total count of each not ready code (with the not ready code name not just the code).
    Is there anyone out there who has written/customised reports for UCCX or know where I can find some more documentation? I have searched around but not found anything, Cisco TAC have said that they only deal with the connection of Crystal Reports to UCCX, the coding itself and help with regards to that you are basically on your own with.
    Thanks

    Hi
    There are other ways of reporting, but you are still on your own with it unless you find someone who writes a package. I'm not aware of any...
    Re your specific queries though:
    ‘Agent Not Ready Reason Code Summary Report’ - when running the report, you can go to the 'detailed' tab, and on that tab you can select 'Reason Code' as a filter and pick the codes you are interested in.
    Also that same report shows the summary (i.e. totals) of the time in those reason codes doesn't it? So that's what you wanted to see on the other report?
    Final point (and this is a common one that comes up) is that for some reason the 'reason' codes only appear as numbers in the DB. There are no lookup tables where you can link them to names for reporting. This basically means the best you can do is to edit the Crystal templates so that the static table listing the codes at the top of the report has the codes you have configured. Obviously this isn't dynamic, but it is easy as far as Crystal goes...
    Hope this helps
    Aaron
    Please rate helpful posts...

  • Receive "The page cannot be displayed" for Pricing Conditions

    To all,
    I receive the message "The page cannot be displayed" for Pricing Conditions when I select the "Accesses" button.  I then received the message "HTML field saved to C:\temp\CRM_IPC.html". 
    This only seems to happen when using the pricing in the service order confirmation.

    Hi Bob,
    R u using IPC for pricing, if yes just check the connections to the IPC server.
    The error is because of the IPC connection not getting established.
    <b>Please reward points if it helps.</b>
    Regards,
    Amit Mishra

  • Function module to change the value for pricing condition type

    Hello experts,
    I want to change the value for pricing condition type for an item in the transaction CRMD_ORDER.
    I used many function modules but none are working.
    Please kindly suggest a function module that will change the value for a condition type .
    I have used the following function module but its not working, please correct the coding if anything needs to be changed or added. Please help me .
    Thank you.
    CLEAR PRCD_COND.
         SELECT SINGLE * FROM PRCD_COND WHERE KPOSN = WA_ORDERADM_I-GUID AND
                                              KSCHL = COND_TY.
      IF SY-SUBRC = 0.
    *    MOVE-CORRESPONDING PRCD_COND TO L_COND_CHG.
    *    CLEAR L_COND_CHG-KBETR.
        L_COND_CHG-STUNR = PRCD_COND-STUNR.
        L_COND_CHG-KBETR = COND_PRC.
    *    L_COND_CHG-KSCHL = COND_TY.
        INSERT L_COND_CHG INTO TABLE T_COND_CHG.
    L_HEAD_GUID = CRMD_ORDERADM_H-GUID.
    L_ITEM_GUID = WA_ORDERADM_I-GUID.
    INSERT L_HEAD_GUID INTO TABLE HEAD_GUID.
    INSERT L_ITEM_GUID INTO TABLE ITEM_GUID.
        CALL FUNCTION 'CRM_ORDER_READ'
         EXPORTING
           IT_HEADER_GUID                    = HEAD_GUID
           IT_ITEM_GUID                      = ITEM_GUID
         IMPORTING
           ET_ORDERADM_H                     = LT_ORDERADM_H
           ET_ORDERADM_I                     = LT_ORDERADM_I
           ET_PRIDOC                         = IT_PRIDOC_RD
           ET_DOC_FLOW                       = T_DOC_FLOW
    *     CHANGING
    *       CV_LOG_HANDLE                     =
    *     EXCEPTIONS
    *       DOCUMENT_NOT_FOUND                = 1
    *       ERROR_OCCURRED                    = 2
    *       DOCUMENT_LOCKED                   = 3
    *       NO_CHANGE_AUTHORITY               = 4
    *       NO_DISPLAY_AUTHORITY              = 5
    *       NO_CHANGE_ALLOWED                 = 6
    *       OTHERS                            = 7
        IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    MOVE-CORRESPONDING LS_PRIDOC_RD TO L_PRI_COND.
    INSERT L_PRI_COND INTO TABLE PRI_COND.
    LOOP AT IT_PRIDOC_RD INTO LS_PRIDOC_RD.
    MOVE-CORRESPONDING LS_PRIDOC_RD TO L_PRIDOC_CHG.
    L_PRIDOC_CHG-PRIC_COND = PRI_COND.
    L_PRIDOC_CHG-REF_GUID = LS_PRIDOC_RD-GUID.
    L_PRIDOC_CHG-COND_CHANGE = T_COND_CHG.
    INSERT L_PRIDOC_CHG INTO TABLE PRIDOC_CHG.
    ENDLOOP.
    LOOP AT LT_ORDERADM_H INTO LS_ORDERADM_H .
    MOVE-CORRESPONDING LS_ORDERADM_H TO L_HEADER.
    INSERT L_HEADER INTO TABLE HEADER.
    ENDLOOP.
    LOOP AT LT_ORDERADM_I INTO LS_ORDERADM_I.
    MOVE-CORRESPONDING LS_ORDERADM_I TO L_ITEM.
    INSERT L_ITEM INTO TABLE ITEM.
    ENDLOOP.
    L_FIELD-FIELDNAME = 'STUNR'.
    INSERT L_FIELD INTO TABLE FIELD.
    L_FIELD-FIELDNAME = 'KBETR'.
    L_FIELD-CHANGEABLE = 'X'.
    INSERT L_FIELD INTO TABLE FIELD.
    L_INPUT-FIELD_NAMES = FIELD.
    L_INPUT-REF_KIND = 'E'.
    L_INPUT-REF_GUID = LS_PRIDOC_RD-GUID.
    L_INPUT-OBJECTNAME = 'PRIDOC'.
    INSERT L_INPUT INTO TABLE INPUT.
        CALL FUNCTION 'CRM_ORDER_MAINTAIN'
         EXPORTING
           IT_PRIDOC                     = PRIDOC_CHG
         IMPORTING
           ET_EXCEPTION                  = EXCEPT
         CHANGING
           CT_INPUT_FIELDS               = INPUT.
        IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    REFRESH EXCEPT.
    CALL FUNCTION 'CRM_ORDER_SAVE'
      EXPORTING
        IT_OBJECTS_TO_SAVE         = HEAD_GUID
    *   IV_UPDATE_TASK_LOCAL       = FALSE
    *   IV_SAVE_FRAME_LOG          = FALSE
    *   IV_NO_BDOC_SEND            = FALSE
    *   IT_ACTIVE_SWITCH           =
    IMPORTING
       ET_SAVED_OBJECTS           = SAVED
       ET_EXCEPTION               = EXCEPT
       ET_OBJECTS_NOT_SAVED       = UNSAVED
    * CHANGING
    *   CV_LOG_HANDLE              =
    * EXCEPTIONS
    *   DOCUMENT_NOT_SAVED         = 1
    *   OTHERS                     = 2
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    COMMIT WORK AND WAIT.

    Hi,,
    To be able to call a function module in an update work process, you must flag it in the Function Builder. When you create the function module, set the Process Type attribute to Update with immediate start
    Alternatively u can use this function module.
    CRM_STATUS_DATA_SAVE_DB
    BAPI_CUSTOMERCRM_CHANGE (If u wish to use a bapi for this).
    Also , Let me know what error you got when implementing other function module.Does the function module didnt return any error but still the value is not changed for pricing condition type?

  • Custom reports for servers managed by administrators

    Hi,
    I'm trying to create a report using the report builder but I need some helps. First I have added the attribute "Managedby" in my system discovery method.
    Now i want to create a report that display the server name, the OS, and the managed by attribute. How can I do that ?
    any helps ?

    Here are few links that should get you started with reporting:
    http://www.scconfigmgr.com/2014/01/24/create-custom-reports-for-configmgr-2012-with-report-builder/
    https://sccmgeekdiary.wordpress.com/2012/10/29/sccm-2012-reporting-for-dummies-creating-your-own-ssrs-reports/
    Basically you need to find out where the ManagedBy -data is stored, probably in v_R_System like noted here:
    http://www.systemcenterdudes.com/add-custom-active-directory-attribute-sccm-inventory/

  • Automatic PO adjustment for pricing condition changes sap

    Hello SAP users,
    How to prevent automatic PO adjustment for pricing condition changes to purchase order items that are marked for deletion. Please respond.
    Thanks

    Hi,
    Check the settings in below configuration:
    SPRO>MM>Purchasings>Conditions>Automatic document adjustment-->Control doc. adjustment.
    SAM

  • Custom Reports for ESS/MSS ?    with PNP??

    I am trying to create a custom report for ESS, and am unsure if I can use the PNP logical database in this code.  I am concerned that if the associate does not have access to see those infoytpes in production, then they would not be able to see their own data from those infotypes in ESS. 
    Can anyone offer their opinion?  Thank you!!!!

    Hi Subash,
    This would be the case.As the J2EE version with ECC6.0 is 7.0 and we need to apply the BP to both ECC and EP.
    Try to think , how do you balance EP6.0 with 6.40 J2EE engine <-> ECC6.0 with 7.0 J2ee engine? will get the answer!
    Regards,
    Surya

  • Report for freight condition records

    Dear Freinds
    In my transportation module project, requirement is report for freight condition records.
    We have been created two tables in one access sequence, two tables are: 1. route/ship-to-party 2. route
    They maintained more condition records. They want to see all vondition records in one single report.
    Report based on those two tables. But those two tables are storing in KOMG Structure.
    But price is storing in KONP table. How to fetch both in to repor.
    With regards
    Lakki

    Let us say the condition tables are 001 and 002
    Now you need to go to database tables A001 and A002 in SE16
    Give the name of your condition type for which you want to get all the condition records
    Execute now.
    Now you will get all the condition records for the condition type created for the table say A001
    Hope this solves your problem. You can reward if this helps.

Maybe you are looking for

  • Unable to print from my window vista 32 bit laptop to HP deskjet ink advantage 1515

    I have window 32 bit vista system. I installed my new HP deskjet ink advantage 1515 , but I am not able to print. I tried install and uninstall many times, run HP Print and scan doctor. No problem reported in installation but failed to print. Pls hel

  • Apps Not Downloading in App Store 10.6.8

    I am running Snow Leopard 10.6.8 on a 2010 iMac, and I'd like to upgrade to Yosemite.  However, any time I click the "Get" button in the app store, the button just turns gray and nothing happens at all.  This is also happening on my 2006 Macbook Pro

  • How to enable the 'FIND' Button in Module Pool Screen. Logic please

    Hi All,    I am writing one Module Pool Program. I have one requirement like I have to put FIND, FIND+ buttons on different screens.    I am able to do the code for normal FIND. According to my requirement I have to display one Popup when the user cl

  • Payload of SOAP-Message cannot be read

    Hi, I'm sending an easy message to the XI 3.0 soap-adapter: <?xml version="1.0" encoding="UTF-8"?> <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">      <SOAP:Header/>      <SOAP:Body>           <plain>test</plain>      </SOAP:B

  • MDS Error: unable to create user DBs in /var/folders/...

    What does this error mean? I have tons of them in my console. I have also repaired my permissions with Disk Utility, which found nothing in /var. Oct 21 15:29:02 macpro trustevaluationagent[25914]: MDS Error: unable to create user DBs in /var/folders