Bapi or FM for uploading the condition records

HI,
i wanted know that is there any way to uplaod the condition records to sap by using any BAPI or FM or any standard program.
this is urgent.
thankx in advance
regards,
hpp

Hi,
Use the BAPI BAPI_PRICES_CONDITIONS to load the pricing conditions..
Check this link for a sample code..
Re: Sample code for  BAPI_PRICES_CONDITIONS
Thanks,
Naren

Similar Messages

  • FM'S or BAPI to update the condition records in VB22 transaction

    Hi,
    I need your help in getting the FM'S or BAPI to update the condition records in sales deal.
    The transaction is VB22.
    If you can send me a smaple code it will be really helpful.
    Regards,
    Sasi

    Check this:
    http://www.sapnet.ru/viewtopic.php?p=1644
    Bapi for VK11 & VK12
    Reddy

  • FM or BAPI for creating/deleting condition records for an output type

    Hi all,
               what is the FM or BAPI for creating and deleting the condition records for a Z(custom) output type.

    You can use trasaction SXDA_TOOLS.....
    object type BUS3003
    program type BINP
    program/method RM06IBI0
    but the fields must be sequentially written in the txt, with every space inclusive....

  • For uploading the to transaction 'abzu'  using bapi

    Hi Experts ,
    I need to upload the data to the  (asset write up ) transaction 'abzu' and please help me inthis regard
    i found some bapi's like below
    BAPI_FIXEDASSET_CHANGE Changes an Asset
    BAPI_FIXEDASSET_CREATE Creates an Asset
    BAPI_FIXEDASSET_CREATE1 Creates an Asset
    BAPI_FIXEDASSET_GETDETAIL Display Detailed Information on a Fixed Asset
    BAPI_FIXEDASSET_GETLIST Information on Selected Assets
    BAPI_FIXEDASSET_OVRTAKE_CREATE BAPI for Legacy Data Transfer
    BAPI_FIXEDASSET_TEST BAPI for Legacy Data Transfer
    i tried with this bapies but unable to do the transfer the data ,
    please help me ,
    which is the exactly suitable bapi for uploading the data to 'abzu' transaction
    i apriciate you advanced ,
    please give me the exactly solution for this ,
    Thanks&Regards
    anand

    Hi Jeevan,
    Did you find any solution for this issue?
    We are also facing the same issue.
    Please help me.

  • The condition record for use B can not be displayed

    Hi gururs,
    What does this message (number : VE896 ) mean ?
    How to make it desapear ?
    P.S : it's about output type for purchase orders.
    This message is displayed when I click on : "Goto -> Determi analysis" in tcode ME22N.
    Regards,
    Bahia.

    Hi
    It means you are trying to veiw the executed condition record. System found the condition record for entered transactional data which you cannot see by clicking on it (when you see green record in condition analysis).
    For given condition type -> and access sequence/ access - system shows the condition record that is determined. You can see its details by clicking the access which shows the message that condition record has been found with its determined parameters.
    Ex: For batch determination I have set up one search strategy with a condition type (with access sequence). I created one condition record. When creating say sales order -batch determination takes place based on condition record parameters. System shows a green light for determined condition record. You cannot see its details - if you try to see then system issues a message like ''The condition record for use B can not be displayed''. If you want to see click on its immediate predecessor (access ).
    Thanks

  • Dates in the condition record maintenance for the condition type?

    Hi,
    Condition type has the following dates when maintaining the condition record,
    Valid from date:
    Valid on :
    Please ellaborate on the  above dates?
    Thanks

    Dear Rajiv
    Valid from date:-   The date from which the said condition type is applicable.  For example, in VK11, if you changed (let us assume PR00 changed to Rs.250 from 200) a condition with a date as  01-06-08 in the above field, only from 1st of June'08, whatever sale orders you generated, revised value of Rs.250 will flow in the respective sale orders.  Whatever created b4 1st June'08 will be having Rs.200.
    Valid on :-  As in the above case, if you input a date as 30-05-08 for the above condition type, system will populate Rs.200/- and if you input 01-06-08, it will propose Rs.250/-.
    Hope this explanation is suffice for you to understand the difference between the two fields.
    thanks
    G. Lakshmipathi

  • How to mass upload shipment condition records

    Hi buddy,
    TK11 - shipment condition records
    how can you mass upload  shipment condition records, anyother bapi available for the mass upload for TK11.
    thanks
    pauldharma

    Hi ,
    To creae the Target Group for that BPs . You need to make a selection with their common Attribute value .
    For Example :
    You have a requirement to Target the Indian Customers then you create a Target Group like this .
    Attribute values :
    BP Role : Customer
    Country : India
    Select Attribute List : GL-ORG Master and Relationship Data
    Attributes : BP Role : Filter value 'Customer '
                      Country : Filter value 'India '.
    Select : AND Across All Attribute as logical selection .
    Press Cntrl Key and select both the Attribute Values and drag to the staging area then you get the Customers in India .
    This way you find out the Common Attribute values to the BPs you need to Target and create a Target Group and Use the TG for the report .
    Hope this helps .
    Regards ,
    Nagaraju D.

  • How to create the condition record by ABAP program

    Hi Friends,
    I want to create/change the condition record of PR00 by ABAP program. It seems that there have no such BAPI/standard function can help on this. Can any one of you point out a way to me?? Thanks in addvance.
    Joe GR.

    Joe,
      Check with below FM..
    BAPI_PRICES_CONDITIONS.
    Check this link:
    Re: Sample code for  BAPI_PRICES_CONDITIONS
    examples....
    http://www.4ap.de/abap/bapi_prices_conditions.php
    Two useful threads on Same topic
    Re: Sample code for  BAPI_PRICES_CONDITIONS
    Re: Problem with BAPI_PRICES_CONDITIONS
    BAPI_PRICES_CONDITIONS
    Please check this sample code from other thread.
    wtable1-table_no = '306'.
    wtable1-applicatio = 'V'.
    wtable1-cond_type = 'ZPR0'.
    wtable1-operation = '009'.
    wtable1-varkey = '13001001USD 000000000050068946'.
    wtable1-valid_to = '99991231'.
    wtable1-valid_from = '20051101'.
    wtable1-cond_no = '$000000001'.
    APPEND wtable1 TO table1.
    wtable2-operation = '009'.
    wtable2-cond_no = '$000000001'.
    wtable2-created_by = sy-uname.
    wtable2-creat_date = '20051022'.
    wtable2-cond_usage = 'A'.
    wtable2-table_no = '110'.
    wtable2-applicatio = 'V'.
    wtable2-cond_type = 'ZPR0'.
    wtable2-varkey = '13001001USD 000000000050068946'.
    wtable2-valid_from = '20051101'.
    wtable2-valid_to = '99991231'.
    APPEND wtable2 TO table2.
    wtable3-operation = '009'.
    wtable3-cond_no = '$000000001'.
    wtable3-cond_count = '01'.
    wtable3-applicatio = 'V'.
    wtable3-cond_type = 'ZPR0'.
    wtable3-scaletype = 'A'.
    wtable3-scalebasin = 'C'.
    wtable3-scale_qty = '1'.
    wtable3-cond_p_unt = '1'.
    wtable3-cond_unit = 'EA'.
    wtable3-calctypcon = 'C'.
    wtable3-cond_value = '454'.
    wtable3-condcurr = 'USD'.
    APPEND wtable3 TO table3.
    CALL FUNCTION 'BAPI_PRICES_CONDITIONS'
    EXPORTING
    PI_initialmode = 'X'
    PI_BLOCKNUMBER =
    TABLES
    ti_bapicondct = table1
    ti_bapicondhd = table2
    ti_bapicondit = table3
    ti_bapicondqs = table4
    ti_bapicondvs = table5
    to_bapiret2 = table6
    to_bapiknumhs = table7
    to_mem_initial = table8
    EXCEPTIONS
    update_error = 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.
    READ TABLE table6 WITH KEY type = 'E' TRANSPORTING NO FIELDS.
    IF sy-subrc = 0.
    loop at table6 into ret.
    write: / ret-type, ret-message, ret-id, RET-LOG_NO, RET-LOG_MSG_NO,
    RET-MESSAGE_V1, RET-MESSAGE_V2, RET-MESSAGE_V3, RET-MESSAGE_V4,
    RET-PARAMETER,RET-ROW,RET-FIELD.
    endloop.
    ELSE.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    *EXPORTING
    WAIT =
    IMPORTING
    return = ret
    ENDIF.
    Don't forget to reward if useful....

  • How to Delete the condition record in CRM

    HI,
    Can you please help me how to delete the condition record from condition table in CRM.
    Please explain the usage of FM CRMXIF_CONDITION_SEL_DELETE with examples.
    I have also read the documention of the function module. How to use this FM for custom defined condition table.
    (this is the code given in Documentation)
    DATA-OBJECT_REPRESENTATION         = 'E'
    DATA-SEL_OPT-CT_APPLICATION              = 'CRM'
    DATA-SEL_OPT-OBJECT_TASK                    = 'D'
    DATA-SEL_OPT-RANGE-FIELDNAME        = 'PRODUCT_ID'
    DATA-SEL_OPT-RANGE-R_SIGN                  = 'I'    (Including)
    DATA-SEL_OPT-RANGE-R_OPTION           = 'EQ'
    DATA-SEL_OPT-RANGE-R_VALUE_LOW  = 'PROD_1'
    Thanks
    Shankar

    Hi Shankar,
    I am using the same CRMXIF_CONDITION_SEL_DELETE function module to delete condition record present in CRM.
    But it is giving me below error in the return table of the FM after i run the program. Can you please correct me if I am doing any thing wrong?
    Error in  lt_return: SMW3     CND_MAST_SEL_DEL_EXT_VALIDATE     CND_M_SD
    code:
    ls_range-fieldname = 'PRODUCT_ID''.
    ls_range-R_SIGN = 'I'.
    ls_range-R_OPTION = 'EQ'.
    ls_range-R_VALUE_LOW = '123456'.
    APPEND ls_range TO lt_range.
    MOVE lt_range TO ls_entry-SEL_OPT-range.
    ls_data-SEL_OPT-object_task = 'D'.
    ls_data-SEL_OPT-ct_application = 'CRM'.
    ls_data-object_representation = 'E'.
    CALL FUNCTION 'CRMXIF_CONDITION_SEL_DELETE'
      EXPORTING
        DATA          = ls_date
    IMPORTING
       RETURN        = lt_return
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
      IMPORTING
        return = lt_ret.
    Edited by: Saravanaprasad Nadar on Jul 7, 2010 1:27 AM

  • Mapping error while downloading the condition records (ECC to CRM)

    Hello Experts,
    We were downloading the condition records from ECC to CRM system (Production), but due to Mapping error, it was unsuccessful, i wonder what's going wrong there.
    When i see in SMQ2 (CRM Inbound Queue), an queue got stucked there, i.e, R3AD_ZDNL_COND_A930 having SYSFAIL status.
    While debugging the queue, I have found that the queue got stuck because of u2018Mapping Erroru2019.
    I found inside, Standard code reads the record from table /SAPCND/T681 (Condition Table Structure) for KAPPL = 'CRM', KVEWE = 'PR', KOTABNR = 'CUS930' and AS4LOCAL = u2018Au2019 for which the value of VAKEY_OFFSET is maintained as 0.
    If system finds the value of VAKEY_OFFSET is Zero(0) then it will change the download type from D (Delta) to M (Mapping Error) and raise the error & block the Inbound Queue in CRM.
    I checked in SMW01alsofor getting some more knowledge about that queue, here the error description:
    Structure information for table CNCCRMPRCUS930 not available (Message class: CND_MAP)
    Error when carrying out delta download (Message class: CND_MAP)
    I am a technical guy and dont have much idea in CRM Middleware.
    I welcome your valuable thoughts and will award full points.
    Regards,
    Jeo

    Hi,
    As you mentioned i checked for the followings:
    >>In Maintain field catalog:
    I found only 2-3 fields are maintained here, when i compared with A930 (A930 in ECC system).
    >>Create condition tables:
    I checked it for CUS930, i found the same but condition table structure name like CNCCRMPRCUS930 are missing. Is that important? Because i see in SMW01, same error is coming over there : Structure information for table CNCCRMPRCUS930 not available .
    Please suggest me, now what i need to do?
    Regards,
    Jeo
    Edited by: Jeo Denson on Dec 1, 2011 4:11 PM

  • Can the Condition records in the transaction NACE be transported?

    Can we Transport the Condition records in the transaction NACE from one system to another ( I mean from Dev to Quality).
    I have navigated through all the menu in the transaction NACE but haven't found any link for transport.
    Any help pls.

    Hi,
    Please find the bellow thread which is related to NACE transaction.
    <<link removed>>
    Regards,
    Goutam Kolluru.
    Edited by: goutam kolluru on Feb 1, 2012 4:56 AM
    Edited by: kishan P on Feb 1, 2012 11:48 AM

  • How we can see when the condition records created.

    Hi,
    How we can see when the condition records created ( Valid from and Valid to ) ? And also how we can see the changes made in the Condition records?
    Regards,
    jyothi.

    Hello,
    you can display the condtion records in transaction VK13.
    Here you have the posibillity to display the changes of the condtion records.
    Please goto VK13
    > Enter your selection criteria
       > Enviroment
          > changes
    But you can also create a condtion list. and the you can display more than one condition record:
    Please have a look at the transation V/LD - Pricing Report
    For example: conditon list 14 for taxes.
    Here you get an overview of tax condtions.
    I hope that the information are helpful.
    Regards
    Claudia
    If you are satisfied with the answer, please give Reward Points.

  • FM FOR CREATING NEW CONDITION RECORDS FROM INPUT FILE

    Hello vikas,
    I need to develop a interface program FOR CREATING NEW CONDITION RECORDS FROM INPUT FILE.
    Is there ay function module to update or create the condtion records,
    if u have any example interface program to update conditions records please send me.
    regards
    ram.

    This must be your compiler output.
    Basically, it is telling you two things that are wrong - in syntax.
    1. On line number 11 of the file RationalCollection1.java, the compiler expects a type identifier - that would be the object or return type such as int, String, boolean, etc.
    The reason it is doing this is probably due to your not ending a previous statement - like the "expected ';'" error statement. Check your code, make sure that methods (brackets) are closed correctly and there are no open statements (i.e. missing the semi-colen at the end).
    2. On line number 33 of the file RationalCollection1.java, the compiler expected the closing bracket. Thus, you didn't put the bracket where the compiler wants it.
    It appears that you have skipped some lines of code. Those lines are the problem, post them - post lines 30-36 and 9-15 so we can see what is happening around those error lines.

  • Fax output with Medium 7 in the condition record

    Hi all,
    Have any one tried the below scenario?
    I want to send the fax output to my sold to party.I want to Select the medium as 7 instead of 2 in the condition record and when I double click the line I have an option to select the fax number as recipient type and I can enter the Fax number in the recipient field
    Usually, medium 7 would be used to send the mails.But Will it work for Fax output?.What is the difference between using medium 2 and medium 7 with recipient type fax number.
    If someone worked on this, Please let me know
    Regards
    Mano

    Answered

  • Data source and data target for p.o condition records

    Hi All,
    can any one help me what is the data source for p.o and shedule line  condition records and their data target
    Thanks
    sivakumar R

    hi sri,
    to pick up the condition records from the table table konv with respect to the p.o no  and also schedule line with condition values from table A016 any data souce and any data target are available in standard.
    pl help on this
    Thanks
    sivakumar R
    Edited by: Siva Kumar on Feb 19, 2010 10:22 AM

Maybe you are looking for

  • User Library per Project(2010)

    I've been playing around with custom user libraries and have created my own folders for certain customizations. I'm now comfortable with the "library-customize" autoload function of the environment, but I think it's created a new problem. The customi

  • Arch as a semi-rolling release ? [Solved]

    Hi, I'm considering setting an "old" server  (bi-xeon) for my students in computer science -- mainly to learn programming languages and tools. They only needs to log in via an ssh -Y session from their Windows accounts. Arch rolling release is perfec

  • In g/l

    in g/l master two option is there 1. block and 2. delete what are the use about this one, plz give ur brief explanation.

  • Print an email with the "to:" field?

    I get emails from my kids band teacher - and the email is sent to about 200 people. When I print the emails it puts all those email address at the top (the whole to: from: lines, etc.). Is there anyway, using Apple Mail, to only print the body of the

  • WIP Operation Resources - APPLIED_RESOURCE_UNITS, APPLIED_RESOURCE_VALUE ?

    What do we mean by these columns functionally. I have gone through ETRMS, but couldnt understand them. Can anyone explain what these columns mean functionally. These columns are present in WIP_OPERATION_RESOURCES table. Also what is the difference be