To upload the price in the condition record

Dear all,
           i want to upload the amount in the record,my record combination is sales org /material.I have to upload for 1000 materails.those 1000 materails with amount i have in exel.
Now i want to create record,when i copy and paste in the record,at a time 20 material with amount only i could be able to copy.
is there any solution other than lsmw to create record for 1000 material 1 at a time
venu

Hi,
LSMW is a good-option, however, if you are not interested to use LSMW; You may Run BDC-Program upload.
Following is for your further understanding:
General flow of a BDC program is like this....
1) First create recording for the T code which you want to make BDC for... Use T code SHDB for recording.
2 ) Now save that recording and create pogram from that recording using Create Program button. give the BDC driver program name and create.
3 ) Now the general logic of BDC program goes like this....
- Upload Flat file into and internal table using function module "UPLOAD"
- OPEN BDC GROUP.
- Now loop at that internal table which contains the data from flat file.
- move data from internal table to fields of BDCDATA using automatically gebnerated code from BDC.
- CALL TRANSACTION <T CODE> using BDCDATA...
- CLOSE BDC GROUP
A sample program for the same is attatched here for your referance... just go through it..
report ztej_test_new no standard page heading line-size 255.
data bdcdata like bdcdata occurs 0 with header line.
tables: zipcldesigcat.
data : begin of itab occurs 0,
        mandt like zipcldesigcat-mandt,
        zdesigncd like zipcldesigcat-zdesigncd,
        zdesignation like zipcldesigcat-zdesignation,
        zdesigcat like zipcldesigcat-zdesigcat,
       end of itab.
*INCLUDE bdcrecx1.
start-of-selection.
  perform upload.
  perform open.
  loop at itab.
    perform move.
    call transaction 'SE16' using bdcdata mode 'E'.
    refresh bdcdata.
  endloop.
  perform close.
*&      Form  UPLOAD
      text
-->  p1        text
<--  p2        text
form upload.
  call function 'UPLOAD'
      exporting
        CODEPAGE                = ''
           filename                = ''
           filetype                = 'DAT'
           item                    = 'Your File'
        FILEMASK_MASK           = ' '
        FILEMASK_TEXT           = ' '
        FILETYPE_NO_CHANGE      = ' '
        FILEMASK_ALL            = ' '
        FILETYPE_NO_SHOW        = ' '
        LINE_EXIT               = ' '
        USER_FORM               = ' '
        USER_PROG               = ' '
        SILENT                  = 'S'
   IMPORTING
        FILESIZE                =
        CANCEL                  =
        ACT_FILENAME            =
        ACT_FILETYPE            =
       tables
            data_tab                = itab
      exceptions
           conversion_error        = 1
           invalid_table_width     = 2
           invalid_type            = 3
           no_batch                = 4
           unknown_error           = 5
           gui_refuse_filetransfer = 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.
*CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
    EXPORTING
         filename                = 'C:\TEST.XLS'
         i_begin_col             = 1
         i_begin_row             = 1
         i_end_col               = 3
         i_end_row               = 5
    tables
         intern                  = ITAB
   EXCEPTIONS
        INCONSISTENT_PARAMETERS = 1
        UPLOAD_OLE              = 2
        OTHERS                  = 3
*IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
*ENDIF.
endform.                    " UPLOAD
       Start new screen                                              *
form bdc_dynpro using program dynpro.
  clear bdcdata.
  bdcdata-program  = program.
  bdcdata-dynpro   = dynpro.
  bdcdata-dynbegin = 'X'.
  append bdcdata.
endform.
       Insert field                                                  *
form bdc_field using fnam fval.
  if fval <> space.
    clear bdcdata.
    bdcdata-fnam = fnam.
    bdcdata-fval = fval.
    append bdcdata.
  endif.
endform.
*&      Form  OPEN
      text
-->  p1        text
<--  p2        text
form open.
  call function 'BDC_OPEN_GROUP'
      exporting
           client              = sy-mandt
        DEST                = FILLER8
           group               = 'ZDESIGCAT_R'
        HOLDDATE            = FILLER8
        KEEP                = FILLER1
           user                = sy-uname
        RECORD              = FILLER1
   IMPORTING
        QID                 =
      exceptions
           client_invalid      = 1
           destination_invalid = 2
           group_invalid       = 3
           group_is_locked     = 4
           holddate_invalid    = 5
           internal_error      = 6
           queue_error         = 7
           running             = 8
           system_lock_error   = 9
           user_invalid        = 10
           others              = 11
  if sy-subrc <> 0.
    message id sy-msgid type sy-msgty number sy-msgno
            with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  endif.
endform.                    " OPEN
*&      Form  MOVE
      text
-->  p1        text
<--  p2        text
form move.
perform bdc_dynpro      using 'SAPLSETB' '0230'.
perform bdc_field       using 'BDC_CURSOR'
                              'DATABROWSE-TABLENAME'.
perform bdc_field       using 'BDC_OKCODE'
                              '=ANLE'.
perform bdc_field       using 'DATABROWSE-TABLENAME'
                              'ZIPCLDESIGCAT'.
perform bdc_dynpro      using 'SAPLZIPCLDESIGCAT' '0001'.
perform bdc_field       using 'BDC_CURSOR'
                              'VIM_POSITION_INFO'.
perform bdc_field       using 'BDC_OKCODE'
                              '=NEWL'.
perform bdc_dynpro      using 'SAPLZIPCLDESIGCAT' '0001'.
perform bdc_field       using 'BDC_CURSOR'
                              'ZIPCLDESIGCAT-ZDESIGCAT(01)'.
perform bdc_field       using 'BDC_OKCODE'
                              '=SAVE'.
perform bdc_field       using 'ZIPCLDESIGCAT-ZDESIGNCD(01)'
                              '2101'.
perform bdc_field       using 'ZIPCLDESIGCAT-ZDESIGNATION(01)'
                              'new'.
perform bdc_field       using 'ZIPCLDESIGCAT-ZDESIGCAT(01)'
                              'n'.
perform bdc_dynpro      using 'SAPLZIPCLDESIGCAT' '0001'.
perform bdc_field       using 'BDC_CURSOR'
                              'ZIPCLDESIGCAT-ZDESIGNCD(02)'.
perform bdc_field       using 'BDC_OKCODE'
                              '=ENDE'.
perform bdc_dynpro      using 'SAPLSETB' '0230'.
perform bdc_field       using 'BDC_OKCODE'
                              '/EEND'.
perform bdc_field       using 'BDC_CURSOR'
                              'DATABROWSE-TABLENAME'.
endform.                    " MOVE
*&      Form  CLOSE
      text
-->  p1        text
<--  p2        text
form close.
  call function 'BDC_CLOSE_GROUP'
       exceptions
            not_open    = 1
            queue_error = 2
            others      = 3.
  if sy-subrc <> 0.
    message id sy-msgid type sy-msgty number sy-msgno
            with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  endif.
endform.                    " CLOSE
Best Regards,
Amit

Similar Messages

  • ME21N : Donu2019t copy the price for all condition types from last po

    Dear.
    When I create a purchase order the price for all condition types are copied from last purchase order inside the info-record.
    But I have some condition types like FRA1 or FRA2 that I donu2019t want that system transfer price from last purchase order.
    How can I do that ?
    Thanks.

    Hi Cris,
    Go to SPRO>MM>PUR>Info Record>Define Price History> Here with your Purchasing organization if the tick is active that
    Specifies that the order price history (PO price history) is to be updated with the effective price.
    Normally, the order price history is updated with the net price.
    Procedure
    Set this indicator if you want the order price history to be updated with the effective price.
    Thanks
    Diwakar

  • How can i get the tax code from Condition record number

    Hi all,
    i have the Condition record number from which i have to get the tax code as i looked inthe KNOP that Condition record number there but no tax code is maintained there.
    so is there any other way to find the tax code for particular Condition record number
    Regards
    suresh

    hi suresh,
    can u tell me the field name for condition record number and in which table it is stored.
    because i knew one condition number which is stored in table EKKO and the field name is
    KNUMV- Number of the document condition.
    from ekko take relevant details and look for  ekpo where u find the tax code
    filed name of the tax code id MWSKZ- Tax on sales/purchases code

  • How frieght cost can be incorporated in the price of the material ?

    Hi Friends,
    Requirement is frieght cost should be incorporated in the price of the material .How this should be configured  'Sales Order value greater than equal to 15000,then frieght cost is free '.
    If it is less than 15000,frieght cost levied.How to calculate freight cost?
    One way we found is adding new requirement type or alternate calculation type in the pricing procedure.How far is it correct?My approach is correct or not.
    Some customers picks up the mateials from the warehouse itself.The sales commission caluculation will be different for this kind of orders. How to identify pick up orders without configuring new order type??How to calculate sales commission for these kind of orders?
    Our client is not interested to configure seperate order type.
    Can any body have ideas ,how best can be approached for  this?
    Thanks in advance...VM
    Edited by: vm on Mar 10, 2009 7:48 PM

    Hi VM,
    In the new conidition type created by you for frieght cost you need to make use of scales to maintain pricing based on the quantity.
    Firstly make sure that you have made Calculation Type as 'C' in control data for this condition type.
    Then in VK11 create a new condition record. Click on sclaes for this condition record and maintain the minimum frieght charge that you need to apply based on the order quantity.
    eg: Lets consider the example given by you. For all orders less than 15000 units you need to apply freight charge of 100 USD. So in sclaes you will enter values as follows
    Scale Quantity.........UOM........Rate.........Unit...........Per...........UoM
    .................................GA..........     10............USD.........1...............GA
    15,000.............................................................................................
    Now if an order is created for 15000 GA based on sclaes no rate will be applied. But if an order is created for qty less than 15000 GA a rate of 10 USD per GA will be applied.
    Hope this helps.
    Regards,
    Sajith.

  • Can change the price in the PO line item

    Hello experts,
    I have this Purchase order document where I can change the price in the PO line item(ME22N) where as in the other PO that I have created, changing the price in ME22N is not possible(shaded). They are all the same document type and plant combination. For the PB00 condition type configuration, It is set to D- not possible to process manually.
    Please help.

    Thanks for your answer. Yes i am aware of that, basically the settings is what the price indicated in the info record and as long it is included in the validty periiod then when you create the PO, that price will be detected by the system. i am clear for that, my issue is why there are some materials that i can change the price in the PO directly while the others are the pricing tab is disabled(cannot change the price)
    Settings in the SPRO-MM - PURHASING- CONDITIONS-DEFINE PRICE DETERMINATION PROCESS- DEFINE CONDITION TYPES PB00 is D(NOT POSSIBLE TO PROCESS MANUALLY) but stilll the system is showing some PO's that can be changed the price

  • Where to Configure the Price for the UoM Conversion

    Hi All,
    I have a requirment from my client here that he wants to change the UoM of the material at the billin document level. The UoM can be changed but I realized once it is changed the price has gone all wrong. Where can I configure the price for the UoM conversion because I cannot find it anywhere in SD itself.
    Appreciate all of your inputs.
    Thanks a lot!

    Hi Prashant,
    I am trying to maintain the same material with different UoM but when I do so it says that the current condition is being processed at the current session. I guessed it meant that the conditiont record for that material type already exists?
    How do I rectify this problem because when I enter the new line of material with the new UoM disappears.
    Appreciate your input in this,
    Thanks a lot!
    Edited by: Yvonne Lee Sook Fun on Jun 16, 2009 4:32 AM

  • Sales price increase in Condition records

    Dear All,
    Need a  Standard Report  to view Sales price increase in Condition records, When we change Condition records system should show Customer,Material, Sales Organization, Distribution channel wise. Except T-Code : V/LD.
    Regards
    KS

    In VK12, once you execute the condition record, click from top menu bar "Environment > Changes".
    G. Lakshmipathi

  • Fetching the price of the purchase order and charge it in my SO

    Dear, gurus
    I am doing services mto and even Repair services of customers machinery. I would like to fetch the price incase of purchase order and charge the customer for that purchase in my Sales Order. Is there a way to automatically fetch the price? Or how can I cover this scenario?
    Ex: I receive customers machine and in my plant or workshop I do not have the tool needed or a specialist so I hire someone for the job so I buy or rent it or him from a vendor and in return I want to charge my customer for that purchase.
    Any Ideas?
    P.S. this is not a 3rd party sale scenario its just a simple Sales Order. I was able to fetch the price from the production order with condition type EK02. Is there any condition type for purchase order price fetching?
    Thanks

    Amitesh
    How did the outcome come out as? meaning did that user exit price fetch appear in a condition type in the billing document? If so which one?
    Also, where is the relationship or linkage made from PO to SO? Like how in the world would your sales order know that a purchase order was done. I mean it really is a weird process I mean first the SO should be created then that should trigger the PR and that gets converted to a PO as rightly stated in book terminology. But in this case of first a regular sales order, then out of sap we give our requirement to mm purchasing dept and tell them we need such and such. Once they buy it there is a price which in return we need to charge our customer. Everything can be done manually.
    From my own logic of looking at what you described in the user exit. I presume that from abap side they will only pull a table and field data and populate it where I want it?
    In the PR there is a place where you can assign acct cat C to the sales order and item line what exactly is this for? GL acct are assigned for which purpose or What is it doing? Also, the purpose of that cost center?
    Edited by: Muhammad Ali Lozada on May 31, 2010 12:14 PM

  • Summing up the price of the sub items and put it in the Higher level item

    Dear Experts,
            I have got one requirement from my customer.
    The requirement is while creating the Sales order (in VA01), in the line item the customer will enter the Material, Quantity and Higher level item for the line item.In Condition Tab page price and Condition will be entered.
    My requirement is at the time of saving the sales order the price of the lower level items has to be summed up and this price has to be put in condition tab page of the higher level item.
    This is my requirement.Is it possible?if yes please explian me how to do this.
    If anybody not able to understand my question please reply back to me.
    Thanks & Regards,
    Ashok.

    Hi
    Here u need to find user exit that suits ur requirement like user exit that will trigger while saving that sale order and in that user exit u are able to access that tables where all the lower level item prices stored and condition table where price stored. Then u can do sum and update that sum into condition price table. So search for user exit that suits ur requirement.
    Regards,
    KP.

  • Export the list of the prices of the materials at an Excel sheet

    If we use PR00 condition for price of the materials, how can we export the list of the prices of the materials at an Excel sheet? Can we use V/LA or V/LD ?
    Thanks in advance.

    Go to menu bar select"System"-->list>Save--->localfile-->and then save it in spred sheet.

  • ProcessOrder API not populating the Price from the pricing attribute setup.

    Hi,
    I am having a problem while adding a line on the existing order through the Oe_Order_pub.Process_order API. A line is added but the pricing is not fetched using the pricing attribute.
    I have passed calculate_Price_flag=’Y’ but in vain. I am not passing price list id but instead want to use a pricing attribute that will fetch the price on the item automatically.
    But, it is working when I am calling this procedure from TOAD but when it is called through the Workflow, a line is added but no price is fetched.
    Could anyone help me out on this? Here’s the code:
    p_api_version_number NUMBER := 1.0;
    p_init_msg_list VARCHAR2 (1) := FND_API.G_TRUE;
    p_return_values VARCHAR2 (1) := FND_API.G_TRUE;
    p_action_commit VARCHAR2 (1) := FND_API.G_FALSE;
    x_return_status VARCHAR2 (1);
    x_msg_count NUMBER := 0;
    x_msg_data VARCHAR2 (2000);
    p_header_rec oe_order_pub.header_rec_type:= oe_order_pub.g_miss_header_rec;
    p_old_header_rec oe_order_pub.header_rec_type:= oe_order_pub.g_miss_header_rec;
    p_header_val_rec oe_order_pub.header_val_rec_type:= oe_order_pub.g_miss_header_val_rec;
    p_old_header_val_rec oe_order_pub.header_val_rec_type:= oe_order_pub.g_miss_header_val_rec;
    p_header_adj_tbl oe_order_pub.header_adj_tbl_type:= oe_order_pub.g_miss_header_adj_tbl;
    p_old_header_adj_tbl oe_order_pub.header_adj_tbl_type:= oe_order_pub.g_miss_header_adj_tbl;
    p_header_adj_val_tbl oe_order_pub.header_adj_val_tbl_type:= oe_order_pub.g_miss_header_adj_val_tbl;
    p_old_header_adj_val_tbl oe_order_pub.header_adj_val_tbl_type:= oe_order_pub.g_miss_header_adj_val_tbl;
    p_header_price_att_tbl oe_order_pub.header_price_att_tbl_type:= oe_order_pub.g_miss_header_price_att_tbl;
    p_old_header_price_att_tbl oe_order_pub.header_price_att_tbl_type:= oe_order_pub.g_miss_header_price_att_tbl;
    p_header_adj_att_tbl oe_order_pub.header_adj_att_tbl_type:= oe_order_pub.g_miss_header_adj_att_tbl;
    p_old_header_adj_att_tbl oe_order_pub.header_adj_att_tbl_type:= oe_order_pub.g_miss_header_adj_att_tbl;
    p_header_adj_assoc_tbl oe_order_pub.header_adj_assoc_tbl_type:= oe_order_pub.g_miss_header_adj_assoc_tbl;
    p_old_header_adj_assoc_tbl oe_order_pub.header_adj_assoc_tbl_type:= oe_order_pub.g_miss_header_adj_assoc_tbl;
    p_header_scredit_tbl oe_order_pub.header_scredit_tbl_type:= oe_order_pub.g_miss_header_scredit_tbl;
    p_old_header_scredit_tbl oe_order_pub.header_scredit_tbl_type:= oe_order_pub.g_miss_header_scredit_tbl;
    p_header_scredit_val_tbl oe_order_pub.header_scredit_val_tbl_type:= oe_order_pub.g_miss_header_scredit_val_tbl;
    p_old_header_scredit_val_tbl oe_order_pub.header_scredit_val_tbl_type:= oe_order_pub.g_miss_header_scredit_val_tbl;
    p_line_tbl oe_order_pub.line_tbl_type:= oe_order_pub.g_miss_line_tbl;
    p_old_line_tbl oe_order_pub.line_tbl_type:= oe_order_pub.g_miss_line_tbl;
    p_line_val_tbl oe_order_pub.line_val_tbl_type:= oe_order_pub.g_miss_line_val_tbl;
    p_old_line_val_tbl oe_order_pub.line_val_tbl_type:= oe_order_pub.g_miss_line_val_tbl;
    p_line_adj_tbl oe_order_pub.line_adj_tbl_type:= oe_order_pub.g_miss_line_adj_tbl;
    p_old_line_adj_tbl oe_order_pub.line_adj_tbl_type:= oe_order_pub.g_miss_line_adj_tbl;
    p_line_adj_val_tbl oe_order_pub.line_adj_val_tbl_type:= oe_order_pub.g_miss_line_adj_val_tbl;
    p_old_line_adj_val_tbl oe_order_pub.line_adj_val_tbl_type:= oe_order_pub.g_miss_line_adj_val_tbl;
    p_line_price_att_tbl oe_order_pub.line_price_att_tbl_type:= oe_order_pub.g_miss_line_price_att_tbl;
    p_old_line_price_att_tbl oe_order_pub.line_price_att_tbl_type:= oe_order_pub.g_miss_line_price_att_tbl;
    p_line_adj_att_tbl oe_order_pub.line_adj_att_tbl_type:= oe_order_pub.g_miss_line_adj_att_tbl;
    p_old_line_adj_att_tbl oe_order_pub.line_adj_att_tbl_type:= oe_order_pub.g_miss_line_adj_att_tbl;
    p_line_adj_assoc_tbl oe_order_pub.line_adj_assoc_tbl_type:= oe_order_pub.g_miss_line_adj_assoc_tbl;
    p_old_line_adj_assoc_tbl oe_order_pub.line_adj_assoc_tbl_type:= oe_order_pub.g_miss_line_adj_assoc_tbl;
    p_line_scredit_tbl oe_order_pub.line_scredit_tbl_type:= oe_order_pub.g_miss_line_scredit_tbl;
    p_old_line_scredit_tbl oe_order_pub.line_scredit_tbl_type:= oe_order_pub.g_miss_line_scredit_tbl;
    p_line_scredit_val_tbl oe_order_pub.line_scredit_val_tbl_type:= oe_order_pub.g_miss_line_scredit_val_tbl;
    p_old_line_scredit_val_tbl oe_order_pub.line_scredit_val_tbl_type:= oe_order_pub.g_miss_line_scredit_val_tbl;
    p_lot_serial_tbl oe_order_pub.lot_serial_tbl_type:= oe_order_pub.g_miss_lot_serial_tbl;
    p_old_lot_serial_tbl oe_order_pub.lot_serial_tbl_type:= oe_order_pub.g_miss_lot_serial_tbl;
    p_lot_serial_val_tbl oe_order_pub.lot_serial_val_tbl_type:= oe_order_pub.g_miss_lot_serial_val_tbl;
    p_old_lot_serial_val_tbl oe_order_pub.lot_serial_val_tbl_type:= oe_order_pub.g_miss_lot_serial_val_tbl;
    p_action_request_tbl oe_order_pub.request_tbl_type := oe_order_pub.g_miss_request_tbl;
    x_header_rec oe_order_pub.header_rec_type;
    x_header_val_rec oe_order_pub.header_val_rec_type;
    x_header_adj_tbl oe_order_pub.header_adj_tbl_type;
    x_header_adj_val_tbl oe_order_pub.header_adj_val_tbl_type;
    x_header_price_att_tbl oe_order_pub.header_price_att_tbl_type;
    x_header_adj_att_tbl oe_order_pub.header_adj_att_tbl_type;
    x_header_adj_assoc_tbl oe_order_pub.header_adj_assoc_tbl_type;
    x_header_scredit_tbl oe_order_pub.header_scredit_tbl_type;
    x_header_scredit_val_tbl oe_order_pub.header_scredit_val_tbl_type;
    x_line_tbl oe_order_pub.line_tbl_type;
    x_line_val_tbl oe_order_pub.line_val_tbl_type;
    x_line_adj_tbl oe_order_pub.line_adj_tbl_type;
    x_line_adj_val_tbl oe_order_pub.line_adj_val_tbl_type;
    x_line_price_att_tbl oe_order_pub.line_price_att_tbl_type;
    x_line_adj_att_tbl oe_order_pub.line_adj_att_tbl_type;
    x_line_adj_assoc_tbl oe_order_pub.line_adj_assoc_tbl_type;
    x_line_scredit_tbl oe_order_pub.line_scredit_tbl_type;
    x_line_scredit_val_tbl oe_order_pub.line_scredit_val_tbl_type;
    x_lot_serial_tbl oe_order_pub.lot_serial_tbl_type;
    x_lot_serial_val_tbl oe_order_pub.lot_serial_val_tbl_type;
    x_action_request_tbl oe_order_pub.request_tbl_type;
    i NUMBER := 1;
    x_data VARCHAR2(2000);
    x_index NUMBER;
    x_err_msg VARCHAR2(4000);
    x_user_id NUMBER;
    x_appl_id NUMBER;
    x_resp_id NUMBER;
    X_DEBUG_FILE Varchar2(400);
    BEGIN
    oe_msg_pub.initialize();
    oe_debug_pub.initialize;
    X_DEBUG_FILE := OE_DEBUG_PUB.Set_Debug_Mode('FILE');
    oe_debug_pub.SetDebugLevel(3);
    -- INITIALIZATION REQUIRED FOR R12
    MO_GLOBAL.INIT('ONT');
    MO_GLOBAL.SET_ORG_CONTEXT(p_org_id,'','ONT');
    p_header_rec := OE_ORDER_PUB.G_MISS_HEADER_REC;
    p_action_request_tbl(i) := OE_ORDER_PUB.G_MISS_REQUEST_REC;
    p_line_tbl.delete;
    p_action_request_tbl.delete;
    p_line_tbl (i) := OE_ORDER_PUB.G_MISS_LINE_REC;
    p_line_tbl (i).operation := OE_GLOBALS.G_OPR_CREATE;
    p_line_tbl (i).header_id := p_header_id;
    p_line_tbl (i).ordered_quantity := p_qty;
    p_line_tbl (i).line_number := p_line_number;
    p_line_tbl (i).shipment_number := 1;
    p_line_tbl (i).calculate_price_flag := 'Y';--p_calc_price_flag;
    p_line_tbl (i).created_by := p_user_id ;
    p_line_tbl (i).creation_date := SYSDATE ;
    p_line_tbl (i).inventory_item_id := p_item_id;
    p_line_tbl (i).last_update_date := SYSDATE;
    --p_line_tbl (i).last_update_login        := -1;
    p_line_tbl (i).last_updated_by := p_user_id ;
    p_line_tbl (i).line_type_id := p_line_type_id;
    p_line_tbl (i).order_quantity_uom := p_qty_uom;
    p_line_tbl (i).org_id := p_org_id;
    --p_line_tbl (i).price_list_id            := p_price_list_id;
    p_line_tbl (i).ship_from_org_id := p_ship_from_org_id ;
    p_line_tbl (i).ship_to_contact_id := p_ship_to_contact_id;
    p_line_tbl (i).ship_to_org_id := p_ship_to_org_id;
    p_line_tbl (i).sold_from_org_id := p_sold_from_org_id ;
    p_line_tbl (i).sold_to_org_id := p_sold_to_org_id;
    p_line_tbl (i).subinventory := p_subinventory ;
    --p_line_tbl (i).unit_list_price          := p_price;
    --p_line_tbl (i).unit_selling_price       := p_price;
    p_line_tbl (i).booked_flag := 'Y';
    p_line_tbl(i).flow_status_code := 'CLOSED';
    --SAVEPOINT BEFORE_PROC_API;
    OE_ORDER_PUB.PROCESS_ORDER (
    p_api_version_number => p_api_version_number
    ,p_init_msg_list => p_init_msg_list
    ,p_return_values => p_return_values
    ,p_action_commit => p_action_commit
    ,p_header_rec => p_header_rec
    ,p_old_header_rec => p_old_header_rec
    ,p_header_val_rec => p_header_val_rec
    ,p_old_header_val_rec => p_old_header_val_rec
    ,p_header_adj_tbl => p_header_adj_tbl
    ,p_old_header_adj_tbl => p_old_header_adj_tbl
    ,p_header_adj_val_tbl => p_header_adj_val_tbl
    ,p_old_header_adj_val_tbl => p_old_header_adj_val_tbl
    ,p_header_price_att_tbl => p_header_price_att_tbl
    ,p_old_header_price_att_tbl => p_old_header_price_att_tbl
    ,p_header_adj_att_tbl => p_header_adj_att_tbl
    ,p_old_header_adj_att_tbl => p_old_header_adj_att_tbl
    ,p_header_adj_assoc_tbl => p_header_adj_assoc_tbl
    ,p_old_header_adj_assoc_tbl => p_old_header_adj_assoc_tbl
    ,p_header_scredit_tbl => p_header_scredit_tbl
    ,p_old_header_scredit_tbl => p_old_header_scredit_tbl
    ,p_header_scredit_val_tbl => p_header_scredit_val_tbl
    ,p_old_header_scredit_val_tbl => p_old_header_scredit_val_tbl
    ,p_line_tbl => p_line_tbl
    ,p_old_line_tbl => p_old_line_tbl
    ,p_line_val_tbl => p_line_val_tbl
    ,p_old_line_val_tbl => p_old_line_val_tbl
    ,p_line_adj_tbl => p_line_adj_tbl
    ,p_old_line_adj_tbl => p_old_line_adj_tbl
    ,p_line_adj_val_tbl => p_line_adj_val_tbl
    ,p_old_line_adj_val_tbl => p_old_line_adj_val_tbl
    ,p_line_price_att_tbl => p_line_price_att_tbl
    ,p_old_line_price_att_tbl => p_old_line_price_att_tbl
    ,p_line_adj_att_tbl => p_line_adj_att_tbl
    ,p_old_line_adj_att_tbl => p_old_line_adj_att_tbl
    ,p_line_adj_assoc_tbl => p_line_adj_assoc_tbl
    ,p_old_line_adj_assoc_tbl => p_old_line_adj_assoc_tbl
    ,p_line_scredit_tbl => p_line_scredit_tbl
    ,p_old_line_scredit_tbl => p_old_line_scredit_tbl
    ,p_line_scredit_val_tbl => p_line_scredit_val_tbl
    ,p_old_line_scredit_val_tbl => p_old_line_scredit_val_tbl
    ,p_lot_serial_tbl => p_lot_serial_tbl
    ,p_old_lot_serial_tbl => p_old_lot_serial_tbl
    ,p_lot_serial_val_tbl => p_lot_serial_val_tbl
    ,p_old_lot_serial_val_tbl => p_old_lot_serial_val_tbl
    ,p_action_request_tbl => p_action_request_tbl
    ,x_header_rec => x_header_rec
    ,x_header_val_rec => x_header_val_rec
    ,x_header_adj_tbl => x_header_adj_tbl
    ,x_header_adj_val_tbl => x_header_adj_val_tbl
    ,x_header_price_att_tbl => x_header_price_att_tbl
    ,x_header_adj_att_tbl => x_header_adj_att_tbl
    ,x_header_adj_assoc_tbl => x_header_adj_assoc_tbl
    ,x_header_scredit_tbl => x_header_scredit_tbl
    ,x_header_scredit_val_tbl => x_header_scredit_val_tbl
    ,x_line_tbl => x_line_tbl
    ,x_line_val_tbl => x_line_val_tbl
    ,x_line_adj_tbl => x_line_adj_tbl
    ,x_line_adj_val_tbl => x_line_adj_val_tbl
    ,x_line_price_att_tbl => x_line_price_att_tbl
    ,x_line_adj_att_tbl => x_line_adj_att_tbl
    ,x_line_adj_assoc_tbl => x_line_adj_assoc_tbl
    ,x_line_scredit_tbl => x_line_scredit_tbl
    ,x_line_scredit_val_tbl => x_line_scredit_val_tbl
    ,x_lot_serial_tbl => x_lot_serial_tbl
    ,x_lot_serial_val_tbl => x_lot_serial_val_tbl
    ,x_action_request_tbl => x_action_request_tbl
    ,x_return_status => x_return_status
    ,x_msg_count => x_msg_count
    ,x_msg_data => x_msg_data
    p_status := x_return_status;
    IF x_return_status != apps.fnd_api.g_ret_sts_success THEN
    x_err_msg:= 'API Error Occured while creating Recycle Fees line ' ;
    FOR i in 1..x_msg_count
    LOOP
    OE_MSG_PUB.GET(i,'F',x_data,x_index);
    x_err_msg := x_err_msg || x_data ;
    END LOOP;
    p_error := x_err_msg;
    insert into xx_test values('API ERR: '||SYSDATE|| p_error);
    -- ROLLBACK TO SAVEPOINT BEFORE_PROC_API;
    END IF;
    EXCEPTION
    WHEN OTHERS THEN
    -- ROLLBACK TO SAVEPOINT BEFORE_PROC_API;
    p_error := 'Error Occured in Order Line API: '||SYSDATE||substr(SQLERRM,1,250) ;
    p_status := 'E';
    END call_order_api;
    Thanks,
    Rahul

    Another striking feature here is, the API works absolutely well for the Internal Orders (Book--> Release-->Ship) but price is not pulled for the External Drop Ship Orders.

  • Enter the price for the service item

    Dear Experts,
    We are implementing SRM 7.0 and we have upgraded our system with Service pack 7.Created a limit SC and approved at all levels. After approving SC system created PO in SRM but did not replicate to backend ECC system. When I looked PO in edit PO mode and system throws an error message "Enter the price for the service item".
    Have any body faced this issue? If yes please guide me how to fix this issue or Suggest me any useful link or OSS messages.
    Thanks in advance.
    Thanks
    Umakanth

    Hello,
    I assume you are using a Product category configured for Extended Classic scenario.
    In this case a limit item in SC creates limit item in PO(in SRM). But when this PO is replicated to R/3, it always creates item with type 'D' for limit item in PO.
    Now with respect to error message you get, can you check if you have specified all LImits (Overall value, Expected value etc)?
    You can also try creating a PO directly in SRM with limit item (use same Product category as above) and see if it replicates.
    If you get the same error, please raise a OSS message for SAP.
    Thanks,
    Sushil

  • What is the price of the Nokia E72 keypad??

    what is the price of the Nokia E72 keypad??

    Hi AmberAgarwal,
    Welcome to Nokia Discussions. 
    In order to keep your phone's warranty, get your keypad replaced at a local Nokia Care Point. The price depends on the Nokia Care Point so please contact them before you visit to get a price indication.
    Iris9290
    If my post has helped you in any way, please accept it as a solution or click on the white star, so that other users will be able to benefit from it too.

  • BAPI_PO_CHANGE to update the Price for the line item not updating the Price

    Hi,
    I am using BAPI_PO_CHANGE to update the Price for the line item. This BAPI is not updating the Price. I am using external cummit also, but the BAPI is not updating price.
    I am passing following data to the BAPI.
    Plant: CQ11
    PO                   Material                Price
    4500002142     TEST_BATCH     12
    Please provide suggestion.
    Regards,
    Jubin.

    Hi,
    check this link...this has sample code
    [http://www.sap-img.com/abap/sample-abap-code-on-bapi-po-change.htm]
    Regards,
    Surinder

  • Once attribute price selected, updating the price on the large product layout?

    For my e-commerce site I need to setup, when a customer picks an attribute (such as 'Custom Artwork +£5.00') The price on the large product layout updates automatically before proceeding to the Shopping Cart for the price to update.
    Is this achievable?

    Hi Paul,
    In case you still in need, (assuming you are using the attribute to pass the information to the cart) you can adjust the displayed price to reflect the selected option.
    --not sure if this is the right way.. however it works.
    ---html--
    <div id="catProdAttributes2_8090953" class="productAttributes">
         <div class="catProductAttributeGroup" data-productattributegroup="1851262">
              <div class="catProdAttributeTitle">Warehouse</div>
              <div class="catProdAttributeItem">    
              <input type="radio" id="13466918" name="1851262" mandatory="1" />    
              <span>US Warehouse $0</span>
              <img src="/images/attributeimageUS.png" alt="US Warehouse" border="0" /></div>
              <div class="catProdAttributeItem">
              <input type="radio" id="13466919" name="1851262" mandatory="1" />
              <span>AUS Warehouse $2.26</span>
              <img src="/images/attributeimageAUS.png" alt="AUS Warehouse" border="0" />
              </div>
         </div>
    </div>
                    <span class="updated_price">{tag_totalprice}</span>
                    <span style="display:none;" class="original_price">{tag_totalprice}</span>
    --Script---
    <script type="text/javascript">
    $('.catProdAttributeItem img').on("click",function(){
    $(this) .siblings ('input[type=radio]') .attr('checked', true);
    var original_price = $('.original_price').text() .replace(/[^0-9\.]/g, '');
    parseFloat(this.original_price);
    var warehouse_price = $(this).siblings('.catProdAttributeItem span') .text() .replace(/[^0-9\.]/g, '');
         warehouse_price=parseFloat(warehouse_price);
    var total_price = parseFloat(original_price) + parseFloat(warehouse_price);
    $('.updated_price').html('$' + total_price.toFixed(2));
    </script>

  • Please clear the price/ set the invoice expected indicator

    Hi SRM Gurus,
    We have upgraded from SRM 3.0 to SRM 7.0 thro' Double step upgrade.
    We are  in SRM 7.0 SP06
    Scenario :Extended Classic Scenario
    After the Upgrade we have created a shopping cart from SRM-MDM catalog.
    Shopping cart is approved.Local Purchase order is not ordered but it is
    saved. When we Edit the Purchase order and press the Check button
    defect noticed" Plese clear the price (or) set the invoice expected
    indicator.
    This happens only after the Upgrade.
    even for the old purchase order when we do changes we are getting the above defect
    can you please advice us.
    whether any SAP notes to be applied. I have checked in SAP market place,there is no SAP NOTES
    Regards
    G.Ganesh Kumar

    Hi,
    I have checked the Purchase order for the newly created one in SRM 7.0
    If we go to the supplier list we can check for the invoice expected indicatoe where we can check this.
    It is working, I  resolved on my own.
    For all the OLD purchase order created before upgrade if i change and check even though the invocie indicator is checked
    i get the above message."Please clear the price/ set the invoice expected indicator"
    any one working on SRM 7.0 can please check and reply
    Regards
    G.Ganesh Kumar

Maybe you are looking for

  • Is there a way to get Thunderbird to default open to the calendar tab?

    I realize that if Thunderbird is closed in the calendar tab it will open in the same tab next time I just wonder if I am missing some setting that would always default to Thunderbird opening to the calendar tab without my having to close it from that

  • Versioning issue in Oracle 10g DB

    Hi there, I have a specific issue with my DB. I will try to explain in short terms. I exported a DB from my client with full exp, and imported it on my PC in a blank DB instance. Both database and workspace manager have the same version as my client,

  • Spry Photo Gallery - How to add links to images

    I was wondering if any one knew how I could add individual links to images on the spry Photo Gallery-An XML-based photo gallery. I need each image to have its own individual link when clicked on. Any assistance would be most helpful.

  • 'Account Payable Checks Format'

    Hi all can any one have study material for 'Account Payable Checks Format'...using tcode F-58, F110, FBZ5,..etc. Internally all transaction calling RFFOUS_C by variance.... thnx.... R.K.

  • BP Negative Balance against Deliveries with out the Drill Down option...

    Hi Guys, There is a BP balance against Deliveries which is a negative balance. It does not give the option to drill down. when the entries were  checked, I can't find a same balance posted under a Return or a Delivery. Any thoughts. Thanks. Kind rega