Hi. i used Function module to change Characteristic values of a sales order

hi. i used Function module to change Characteristic values of a sales order..
but sales order's Characteristic values didn't change.
And the Function module doesn't occur any log message.
please tell me wrong code, and how to solve this problem.
if i have wrong method, what data can i pass to change the characteristic values
DATA: LT_E1CUVAL    TYPE TABLE OF E1CUVAL.
  DATA: WA_E1CUVAL    TYPE E1CUVAL.
  DATA: LS_CFG_HEAD   LIKE CUXT_CUCFG_S,
        LS_INSTANCES  LIKE CUXT_CUINS_S,
        LS_VALUES     LIKE CUXT_CUVAL_S,
        LS_E1CUCFG    LIKE E1CUCFG,
        LS_E1CUINS    LIKE E1CUINS,
        LS_E1CUVAL    LIKE E1CUVAL,
        LS_PROFILE    LIKE E1CUCOM,
        LS_VBAP       LIKE VBAP,
        L_CUOBJ       LIKE INOB-CUOBJ,
        L_ATINN       LIKE CABN-ATINN.
  DATA: LT_INSTANCES  LIKE CUXT_CUINS_S OCCURS 0,
        LT_PART_OF    LIKE CUXT_CUPRT_S OCCURS 0,
        LT_VALUES     LIKE CUXT_CUVAL_S OCCURS 0,
        LT_VAR_KEYS   LIKE CUXT_CUVK_S  OCCURS 0,
        LT_KSML       LIKE KSML         OCCURS 0 WITH HEADER LINE,
        BEGIN OF LT_CLINT OCCURS 0,
          CLINT  LIKE KSSK-CLINT,
        END OF LT_CLINT.
  DATA: LT_CUIB       LIKE CUIB_CUOBJ_S OCCURS 0 WITH HEADER LINE.
  DATA: E_ROOT_INSTANCE           TYPE     CUXT_INSTANCE_NO.
  DATA: EV_ROOT_PERSIST_ID     TYPE     IBEXTINST_DATA-EXT_INST_ID.
  DATA: EV_CFG_HAS_CHANGED     TYPE     XFELD.
  DATA: EV_HANDLE_APPL_LOG     TYPE     BALLOGHNDL.
  DATA: L_CUOBJ_NEW           TYPE CUOBJ.
  DATA: L_OWNER               TYPE IBXX_BUSINESS_OBJECT.
  REFRESH LT_E1CUVAL.
  CLEAR LS_VBAP.
  SELECT SINGLE CUOBJ INTO CORRESPONDING FIELDS OF LS_VBAP
                            FROM VBAP WHERE VBELN = I_VBELN
                                        AND POSNR = I_POSNR.
  IF SY-SUBRC <> 0.
    RAISE INSTANCE_NOT_FOUND.
  ENDIF.
  REFRESH LT_CUIB. CLEAR LT_CUIB.
  LT_CUIB-INSTANCE = LS_VBAP-CUOBJ.
  APPEND LT_CUIB.
  CALL FUNCTION 'CUCB_INITIALIZER'
    EXPORTING
      IT_INSTANCES = LT_CUIB[].
  CALL FUNCTION 'CUXI_GET_SINGLE_CONFIGURATION'
    EXPORTING
      I_ROOT_INSTANCE              = LS_VBAP-CUOBJ
    IMPORTING
      E_CFG_HEAD                   = LS_CFG_HEAD
      ES_PROFILE                   = LS_PROFILE
      ET_RETURN                    = ET_RETURN
    TABLES
      E_TAB_INSTANCES              = LT_INSTANCES
      E_TAB_PART_OF                = LT_PART_OF
      E_TAB_VALUES                 = LT_VALUES
      E_TAB_VAR_KEYS               = LT_VAR_KEYS
    EXCEPTIONS
      INVALID_INSTANCE             = 1
      NO_ROOT_INSTANCE             = 2
      INSTANCE_IS_A_CLASSIFICATION = 3
      INTERNAL_ERROR               = 4
      NO_PROFILE_FOUND             = 5
      INVALID_DATA                 = 6
      OTHERS                       = 7.
  IF SY-SUBRC <> 0.
    CASE SY-SUBRC.
      WHEN 1.
        RAISE INSTANCE_NOT_FOUND.
      WHEN 3.
        RAISE INSTANCE_IS_A_CLASSIFICATION.
      WHEN OTHERS.
        RAISE INVALID_DATA.
    ENDCASE.
  ELSE.
    LOOP AT LT_VALUES INTO LS_VALUES.
      IF    LS_VALUES-CHARC = 'SAP_MILLCA_PACKAGING'
         OR LS_VALUES-CHARC = 'PD_CA_PACKING_DM'.
        LS_VALUES-VALUE = '7100010'. "This is test data
        MODIFY LT_VALUES FROM LS_VALUES.
      ELSE.
        DELETE LT_VALUES WHERE CHARC = LS_VALUES-CHARC.
      ENDIF.
      CLEAR LS_VALUES.
    ENDLOOP.
  ENDIF.
&#50689;&#50629;&#51221;&#48372; &#53945;&#49457; &#48320;&#44221;
  CALL FUNCTION 'CUXI_SET_SINGLE_CONFIGURATION'
    EXPORTING
      I_CFG_HEADER                        = LS_CFG_HEAD
      I_ROOT_INSTANCE                     = LS_VBAP-CUOBJ
    I_PLANT                             =
    I_STRUCTURE_EXPLOSION_DATE          =
    I_STRUCTURE_EXPLOSION_APPL_ID       =
    I_LOGSYS                            =
      IS_PROFILE                          = LS_PROFILE
    IV_ONLY_SINGLE_LEVEL                =
    IV_HANDLE_APPL_LOG                  =
    IV_OBJECT_APPL_LOG                  = 'CIF'
    IV_SUBOBJECT_APPL_LOG               = 'T_CNFG'
    IMPORTING
      E_ROOT_INSTANCE                     = E_ROOT_INSTANCE
      EV_ROOT_PERSIST_ID                  = EV_ROOT_PERSIST_ID
      EV_CFG_HAS_CHANGED                  = EV_CFG_HAS_CHANGED
      EV_HANDLE_APPL_LOG                  = EV_HANDLE_APPL_LOG
      ET_RETURN                           = ET_RETURN
    TABLES
      I_TAB_INSTANCES                     = LT_INSTANCES
      I_TAB_PART_OF                       = LT_PART_OF
      I_TAB_VALUES                        = LT_VALUES
      I_TAB_VAR_KEYS                      = LT_VAR_KEYS
    I_TAB_BLOB                          =
    EXCEPTIONS
      NO_CONFIGURATION_DATA               = 1
      NO_ROOT_INSTANCE                    = 2
      INVALID_INSTANCE                    = 3
      INSTANCE_IS_A_CLASSIFICATION        = 4
      INTERNAL_ERROR                      = 5
      NO_PROFILE_FOUND                    = 6
      INVALID_DATA                        = 7
      OTHERS                              = 8
  IF SY-SUBRC <> 0.
    CASE SY-SUBRC.
      WHEN 1.
        RAISE NO_CONFIGURATION_DATA.
      WHEN 3.
        RAISE NO_ROOT_INSTANCE.
      WHEN 3.
        RAISE INVALID_INSTANCE .
      WHEN 3.
        RAISE INSTANCE_IS_A_CLASSIFICATION.
      WHEN 3.
        RAISE INTERNAL_ERROR.
      WHEN OTHERS.
        RAISE INVALID_DATA.
    ENDCASE.
  ENDIF.
  COMMIT WORK.
save configuration with next commit
  CLEAR: LS_INSTANCES.
  READ TABLE LT_INSTANCES INTO LS_INSTANCES INDEX 1.
L_OWNER-OBJECT_TYPE = LS_INSTANCES-OBJ_TYPE.
  L_OWNER-OBJECT_TYPE = 'PVS_POSVAR'.
  L_OWNER-OBJECT_KEY  = LS_INSTANCES-OBJ_KEY.
  CALL FUNCTION 'CUCB_CONFIGURATION_TO_DB'
    EXPORTING
      ROOT_INSTANCE         = LS_VBAP-CUOBJ
      ROOT_OBJECT           = L_OWNER
    IMPORTING
      NEW_INSTANCE          = L_CUOBJ_NEW
    EXCEPTIONS
      INVALID_INSTANCE      = 1
      INVALID_ROOT_INSTANCE = 2
      NO_CHANGES            = 3
      OTHERS                = 4.
  IF SY-SUBRC > 1 AND SY-SUBRC <> 3.
    CLEAR LS_VBAP-CUOBJ.
    RAISE INTERNAL_ERROR.
  ELSEIF SY-SUBRC = 1.
    LS_VBAP-CUOBJ = L_CUOBJ_NEW.
  ENDIF.
What's wrong?
help me to solve this problem.
Thanks a lot.

<b>SD_SALES_DOCUMENT_READ</b> Reads sales document header and business data: tables VBAK, VBKD and VBPA (Sold-to (AG), Payer (RG) and Ship-to (WE) parties)
<b>SD_SALES_DOCUMENT_READ_POS</b> Reads sales document header and item material: tables VBAK, VBAP-MATNR
<b>SD_DOCUMENT_PARTNER_READ</b> partner information including address. Calls SD_PARTNER_READ
<b>SD_PARTNER_READ</b> all the partners information and addresses
<b>SD_DETERMINE_CONTRACT_TYPE</b>
In: at least VBAK-VBELN
Exceptions: NO CONTRACT | SERVICE_CONTRACT | QUANTITY_CONTRACT
<b>SD_SALES_DOCUMENT_COPY</b>
<b>RV_ORDER_FLOW_INFORMATION</b> Reads sales document flow of sales document after delivery and billing
SD_SALES_DOCUMENT_SAVE create Sales Doc from the copied document
SD_SALES_DOCUMENT_ENQUEUE to dequeue use DEQUEUE_EVVBAKE
RV_DELIVERY_PRINT_VIEW Data provision for delivery note printing
SD_PACKING_PRINT_VIEW
SD_DELIVERY_VIEW Data collection for printing
called from RV_DELIVERY_PRINT_VIEW, SD_PACKING_PRINT_VIEW
RV_BILLING_PRINT_VIEW Data Provision for Billing Document Print
regards
vinod

Similar Messages

  • Function Module to Retrieve Characteristic Value

    Hi,
    Is there any function module to retrieve the characteristic value of a sales order item (in the item batch determination button)?
    Thanks,
    Mawi

    That wasn't it, but it gave me the one piece I was missing.
    Answer is:
    Function Module "CLAE_CLASSIFY_OBJECT"
    In CHANGE_KSSK
    M = 0
    KLA = (Class Type)
    OBJEK = (Material Number for the Material Characteristic being changed)
    OBTAB = MARA
    CLASS = (Class Name with Characteristic to be changed)
    S = 1
    S = (blank)
    AENNR = (EC Change Number or Blank)
    DATUV = (Today's Date or date for change)
    C = "X"
    In CHANGE_AUSP
    OBJEK = (Material Number for the Material Characteristic being changed)
    ATINN = (Chararacteristic to be changed)
    M = 0
    KLA = (Class Type)
    ATWRT = (New Value for Characteristic)
    C = X

  • Function Module to update Characteristic Value (AUSP table entry)

    Looking for a function module/BAPI to update a characteristic value (AUSP table entry).
    This is for a material master Material classification value, not a Variant Config value that I need to update.
    Anybody have one?  I have one that will find the value, but not change it.
    Thanks.

    That wasn't it, but it gave me the one piece I was missing.
    Answer is:
    Function Module "CLAE_CLASSIFY_OBJECT"
    In CHANGE_KSSK
    M = 0
    KLA = (Class Type)
    OBJEK = (Material Number for the Material Characteristic being changed)
    OBTAB = MARA
    CLASS = (Class Name with Characteristic to be changed)
    S = 1
    S = (blank)
    AENNR = (EC Change Number or Blank)
    DATUV = (Today's Date or date for change)
    C = "X"
    In CHANGE_AUSP
    OBJEK = (Material Number for the Material Characteristic being changed)
    ATINN = (Chararacteristic to be changed)
    M = 0
    KLA = (Class Type)
    ATWRT = (New Value for Characteristic)
    C = X

  • 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?

  • Use of Bapi to change CO-PA characteristics in sales orders

    Hello,
    I need to change CO-PA characteristics in existing Sales Orders items. I read that BAPI_ACC_SALES_ORDER_POST is supposed to do that, but after many tests I have no success.
    The SALESCRITERIA structure seems adequate to receive the characteristic field and value, but I have not understood how to fill SALESORDER and SALESAMOUNT in order to reference the item.
    I will appreciate any help - if there is another way to achieve this, please share.
    Thanks in advance
    Joao

    Hello,
    Thank you for your interest. I will try to explain the requirements that I think are relevant for the answer:
    1 - This SAP implementation will work integrated with an intranet portal - that means that all the access to SAP (read/write) will be made via SQL (for reading) or BAPI/Webservices (for writing). The use of the standard SAP transactions will be minimum;
    2 - The implementation is divided in two major steps;
    3 - First step (current) includes only FI/CO - this means that the logistics part will remain in the legacy system for a while more. The posting of logistics documents into FI/CO documents will be made by the portal, using FI/CO BAPIs;
    4 -Second step will include all the logistics area (future);
    5 - The reason for my question is that the SD module will be used in the FIRST step to post 2 document types not existing in the legacy system (Credit Note, Debit Note). For these 2 document types we will use a BAPI to create the "sales order" document, but that document needs some manual CO-PA characteristics - and that is the reason for the question. Using TCODE VA01 I can manually enter CO-PA values for these characteristics, and I need a solution to do this via webservices as well (and of course I'm trying to avoid a batch-input solution, at least for now);
    Regards
    Joao

  • Function Module For Item Level Details of a Sales Order

    Hi Guys,
    I have to get the item level details for a particular sales document no ..I want to know if there is any function module existing for the same.
    Also I need any function module for getting the contact information such as contact form (KNVK-ANRED),contact name(KNVK-NAM1),contact name(KNVK-NAMEV),Contact number (KNVK-TELF1).
    Please let me know if anyone is aware of it.
    Thanks in Advance,
    Mayank

    <b>SD_SALES_DOCUMENT_READ</b> Reads sales document header and business data: tables VBAK, VBKD and VBPA (Sold-to (AG), Payer (RG) and Ship-to (WE) parties)
    <b>SD_SALES_DOCUMENT_READ_POS</b> Reads sales document header and item material: tables VBAK, VBAP-MATNR
    <b>SD_DOCUMENT_PARTNER_READ</b> partner information including address. Calls SD_PARTNER_READ
    <b>SD_PARTNER_READ</b> all the partners information and addresses
    <b>SD_DETERMINE_CONTRACT_TYPE</b>
    In: at least VBAK-VBELN
    Exceptions: NO CONTRACT | SERVICE_CONTRACT | QUANTITY_CONTRACT
    <b>SD_SALES_DOCUMENT_COPY</b>
    <b>RV_ORDER_FLOW_INFORMATION</b> Reads sales document flow of sales document after delivery and billing
    SD_SALES_DOCUMENT_SAVE create Sales Doc from the copied document
    SD_SALES_DOCUMENT_ENQUEUE to dequeue use DEQUEUE_EVVBAKE
    RV_DELIVERY_PRINT_VIEW Data provision for delivery note printing
    SD_PACKING_PRINT_VIEW
    SD_DELIVERY_VIEW Data collection for printing
    called from RV_DELIVERY_PRINT_VIEW, SD_PACKING_PRINT_VIEW
    RV_BILLING_PRINT_VIEW Data Provision for Billing Document Print
    regards
    vinod

  • Function module for Delivery and billing based on sales order

    Hi Friends
    I am developing an object which has to create the sales order, delivery for that sales order and billing for it at the same time.
    I have tried for few function modules to create the delivery and billing but I am not able to achieve.
    Would you please help me by providing the correct function modules for these 2 activities?
    Thanks
    Praveen

    Hi Nikhil
    Thanks for reply,
    i am creating the sales order using the BAPI "BAPI_SALESORDER_CREATEFROMDAT1" only, but the billing document bapi
    "BAPI_BILLINGDOC_CREATE" is for online creation, it will call the t-code 'VF01'.
    I need to create the billing document with out calling the t-code like using bapi for sales order. Please suggest me if there are function modules to achieve this.
    Thanks
    Praveen

  • Function Module to create AFS Outbound delivery for sales order

    Guys,
    I am looking for a function module to create deliveries for a sales order IN IS-AFS.
    I cannot make BAPI_DELIVERYPROCESSING_EXEC work. Also, if I use the IDOC type /AFS/DELVRY03 via message type WHSCON and function module IDOC_INPUT_DELVRY it doesn' work either.
    Does anyone know which function module I could use? I need to select specific AFS schedule lines though, but at this point I am not able to make any work.
    Thanks
    Leonardo

    This will not help .
    Edited by: Amit Khare on Aug 7, 2008 3:49 AM

  • FUNCTION MODULE FOR ERROR LOG IN BILLING OF SALES ORDER

    Hello,
    Is there any way through which I can access the error log generated while releasing billing through vfx3?
    Is tehre any function module or table for the same?
    Regards,
    Krutika

    the problem resolved myself.

  • Function Module for Get Price  and Bonus in Sales Order

    Hi.. ABAP Guru's..
    I wanna make a function for get price and get Bonus for all material items in sales order.
    Help me for solving it.. Please.
    Thanks a lot before and after.
    Rgds,
    Asep Saepudin

    Hi,
       Welcome to SDN.
    Refer
    https://forums.sdn.sap.com/click.jspa?searchID=7085162&messageID=782207
    https://forums.sdn.sap.com/click.jspa?searchID=7085162&messageID=950526
    Regards

  • Populate Batch characteristic values in create sales order BAPI

    Can anybody help me in populating the batch characteristic values using BAPI_SALESORDER_CREATEFROMDAT2?
    I have checked the related notes provided by SAP, like, 567348 but it will be great if someone can send some code snippet on this.

      Subramanian, Brad and Raja.
      Thanks for your suggestions its were useful, with
      these i can resolve my problem.
       !!! Best Regards !!!
    Raja
      I used the se37 to test bapis, is more easy and fast !!
      and you can save data like variant, and you can simulate the real execution without write any code abap,
    and re-process the times that you need,
    when you know what fields you need you write your abap code faster.
       Thanks !!!
    Message was edited by: Noemi Huerta

  • Characteristic Value Assignment in Sales order

    Hi Pals,
    I am using the Variant configuration scenario in the sales order. My problem is, when ever i try creating a new sales order and enter a material, it suppose to display the Characteristic Value Assignment screen but for me it is showing the "Display Characteristic Values" Screen. Because of this i am unable to enter the data at the sales order level. what might be the problem for this case.
    Kindly help me out in this issue.
    Thanks & Regards,
    Srinivas.D

    Dear,
    I hope the following link will help u in giving a good understanding of Characteristic values
    help.sap.com/printdocu/core/Print46c/en/data/pdf/CACLCHR/CACLCHR.pdf
    Regards,
    R.brahmankar

  • Function Module to change pricing condition in Agreement

    Hi Experts ,
    While creating purchase agreement (ME31L) BDC i want to change the pricing condition in the document at item level .
    Planing to use function modules to change the pricing condition after document is created .
    Any help in function module which will change the pricing condition in Agreement will be appreciated .
    Any other suggestion are also welcome (-: .
    Thank You .

    how to change the pricing consition in  agreement(ME31L)

  • Function Module for Changing delivery date

    Hi Friends ,
        I am held up with a scenario of changing the delivery date while creating purchase order. Could you please suggest any function module to change the delivery date in purchase order if it is less than 5 days.
    With Regards ,
    Sudhir S
    Moderator message: please do some own research before asking.
    Edited by: Thomas Zloch on Feb 21, 2011 11:45 AM

    Hi praveen for u r requirement there is no need of any FM
    Try this code
    parameters:
      p_date like sy-datum,
      p_no type i.
    data:
      w_date like sy-datum.
    w_date = p_date - p_no.
    write: / w_date .
    it is enogh for u r requirement
    plzz reward if it is usefull...
    for any further quiries my mail id is [email protected]
    plzz dont forget to reward

  • ABAP code which will use function module during field mapping in LSMW

    Hi,
    During field mapping in LSMW, for one of the field called field, I want to use a function module 'QF05_RANDOM_INTEGER', which will generate random numbers and map that random number to that field.
    How do I write ABAP code which uses function module, during filed mapping for a particluar field in LSMW ?
    Please help...
    Regards,
    Tushar.

    Hi Tushar,
    You can write in FORM ROUTINE and LSMW.
    I hope you know how to write ABAP code at field level.
    If not ...
    Come to change mode->select the field->Rule->ABAP Code
    write a perform statement in ABAP code at field level.
    <b>PERFORM test</b> using val
                 changing valu.
    Go to Utilities(at menu)->switch layout-> extras ->select Layout->check Form routine-> it will display a FORM Routine... at bottom
    this is the place where you can write some code for
    <b> FORM test</b> using value
              changing value1
      FM call....
    .ENDFORM  
    Get the value1 returned and use for the Field population.
    Reward points if this Helps.
    Manish
    Message was edited by:
            Manish Kumar

Maybe you are looking for

  • Link required for the payment made and PO

    Hi I made payment to one vendor. He sent three invoices. I did MIGO and then MIRO for the same. Then i did my payment to all the invoices. Now i want a report which says amount paid, MIRO documnet number, PO number. Is there any standard report / tab

  • Tds details of vendor coming but not business area.

    Hi Experts, I am making a report to display vendor data with its TDS details in accounting documents. I am getting all the data from other tables rather 1 table BSEG, which is a cluster table. I need to retrieve business are from BSEG i.e. (BSEG-GSBE

  • Is a system copy to development a best practice?

    ("Refresh", as I use it here, refers to a system copy.) We typically refresh our sandbox and pre-production test systems from production. Not often, since its a non-trivial amount of work (although our functional/business teams don't seem to realize

  • Error - RSM1_CHECK_FOR_DELTAUPD

    Hi Source System was refreshed. After Refresh follwoing are the steps i have done 1. Restore of source system. 2. Run the report RSSM_OLTP_INIT_DELTA_UPDATE. 3. Now i have to start with master data upload. When i am doing full upload for material gro

  • How can I run a dos command from java on windows 98, 95?

    The usage of cmd.exe in the java program to run a dos command on windows 98. 95 doesn't work as the equivalent command is command.exe But using the command.exe in the java program makes my program to hang.