How Update Custom fields for EABL DB table by using BAPI_MTRREADDOC_UPLOAD

Hi friends,
How can I Update Custom fields for EABL DB table by using BAPI_MTRREADDOC_UPLOAD
for the parameter EXTENSIONIN of type BAPIPAREX
I am passing the Structure as BAPI_TE_EABL
in that structure MRIDNUMBER as EABL-ABLBELNR field value
ZMESSAGE some text of 30 char and
ZSKIPC of 2 char
but I am not able to update that data for the MRIDNUMBER (ABLBELNR ) in DB table EABL
I am getting RETURN Structure message type E
as
"Upload interim entries: Maintain one table only"
Can any one provide me solution
Thanks in Advance
Ganesh

Hi,
Refer the following SAP notes.
1. Note 485557 - BAPI_REQUISITION_CREATE: 'EXTENSIONIN' customer enhancements
2. Note 584902 - BAPI_REQUISITION_CHANGE: ExtensionIn not connected
3. Note 792132 - EBAN, EBKN: user-defined fields are not filled
Regards,
Harish

Similar Messages

  • Updating custom field in a standard table - AFVC

    Hi All,
    We have created a custom field in table AFVC. While updating other things related to that Order/Operation, we need to update this custom field.
    Can you kindly let me know how we can approach this? Do we use a direct Modify/update statement in such cases to update the standard sap table?
    Regards
    An

    Hi Ankur,
    There are few ways to do.
    1) Implement the screen field in the transaction at the operation level for visibilty to all the reason code. After updation of USER STATUS you need write the small utlity to update that field through LSMW or any other way to update this field in the transaction directly to save in the database table.
    2) AFVC means orders operation data. In this table many types of order data will store so you have to choose which type of order you are going to update whether it will be Internal order or production order or maintaineance order etc..
    3) Direct updation is last preference if there is no way for updation.
    Please let me know which order cateogry you are updating from thrid party sytem to your current system.
    As J@Y said if you are updating through some function module then in that case for BAPI's there is separate structure EXTENSION_IN and OUT to update the custom fields.
    Thanks,
    Satheesh

  • 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

  • Updating custom fields in project server 2010/2013 using psi

    Hi,
    I have two custom fields . Lets call them A and B.
    A has some content. Now i want B to have the same content as A . B is a formula custom field wher b=[A] .
    now b is empty data and A has data.
    how do i get column in B be populated.
    i tried manual publish. IT worked but i have several projects.so iam looking for a script to do bulk publish so that data in B can be populated with data in A
    a) i checked out project (CheckOutProject)
    b) published project (QueuePublish())
    c) checked in project (QueueCheckInProject())
    however i donot get the value of A reflected in B using. Am i doing something wrong?
    Pls help.Any pointers towards a script would behighly appreciated.
    i am using project server 2010
    Thanks
    Su

    Hello,
    You probably want to use Project Pro to do the publish so the calculation happens and updates field B. For bulk publish using project pro use VBA to automate project pro to open each project then do save and publish etc.
    Paul
    Paul Mather | Twitter |
    http://pwmather.wordpress.com | CPS |
    MVP | Downloads

  • Update Custom Field in Task Level Project Server using JSOM (PS.js)

    Does anyone have javascript
    which updates the task level custom field?
    I just have the code with C#. I am trying to convert this code to javascript (below). But the javascript code had failed in update process. When I see queue jobs, JobState: Reporting (Project Sync) | JobStatus: Failed But Not Blocking Correlation.
                        DraftProject projCheckedOut = proj2Edit.CheckOut();
                        projContext.Load(projCheckedOut.Tasks);
                        projContext.ExecuteQuery();
                        DraftTaskCollection tskcoll = projCheckedOut.Tasks;
                        foreach (DraftTask tsk in tskcoll)
                            if ((tsk.Name != null) && (tsk.Name == "Your task name"))
                                projContext.Load(tsk.CustomFields);
                                projContext.ExecuteQuery();
                                foreach (CustomField cus in tsk.CustomFields)
                                    if (cus.Name == "Your custom Field")
                                        string intname = cus.InternalName.ToString();
                                        string cusvalue = tsk[intname].ToString();
                                        tsk[intname] = "Your new value";                                   
                                        msg = "customfield  - " + "original
    " + cusvalue + ": new " + tsk[intname].ToString();
                        projCheckedOut.Publish(true);
                        QueueJob qJob = projContext.Projects.Update();
                        JobState jobState = projContext.WaitForQueue(qJob, 200);
    Thanks a lot.

    Hi Andre,
    I'm afraid there's no way to update the Task Level Custom Fields using JSOM. I had the same requirement in the past, searched for a long time to a solution, without any result. Also other similar posts are not having a valid solution:
    https://social.msdn.microsoft.com/Forums/en-US/8cc94344-9462-4cee-8490-6083c35f3de1/user-resource-custom-field-update-using-csom?forum=project2010custprog
    https://social.msdn.microsoft.com/Forums/en-US/83f2dedb-6d30-466e-8663-5e450f0e5eb2/how-to-add-custom-field-to-the-task-via-csom?forum=project2010custprog
    http://stackoverflow.com/questions/25853398/updating-task-level-custom-fields
    Correct me if I'm wrong but as far as I know JSOM has no methods to update task, assignment or resource custom fields.

  • How to update key fields for table

    Hi,
    how to update key fields for a table.The update statement is not working for the same.
    Regards,

    Hi,
    See the below example.
    TABLES SPFLI.
    DATA WA TYPE SPFLI.
    MOVE 'AA' TO WA-CARRID.
    MOVE '0064' TO WA-CONNID.
    MOVE 'WASHINGTON' TO WA-CITYFROM.
    UPDATE SPFLI FROM WA.
    MOVE 'LH' TO SPFLI-CARRID.
    MOVE '0017' TO SPFLI-CONNID.
    MOVE 'BERLIN' TO SPFLI-CITYFROM.
    UPDATE SPFLI.
    CARRID and CONNID are the primary key fields of table SPFLI. All fields of those lines where the primary key fields are "AA" and "0064", or "LH" and "0017", are replaced by the values in the corresponding fields of the work area WA or the table work area SPFLI.
    Regards,
    raj.

  • Updating custom field bill type in standard table ERCH

    Hi All,
    I need to update the custom field bill type in table ERCH depending upon the bill transaction( if bill transaction is periodic,bill type will be updated as P and so on for other cases)
    I am implementing a BADI ISU_DEF_BILL_PERIOD and i have used case statements(when abrvorg is P,bill type is P). While debugging i saw that the importing parameter bill document is generated but if i enter the same bill document number at that point in time in table ERCH, it shows no entries found. Thus sy-subrc is retrieved as not zero and hence the custom field bill type does not get updated.
    I would like to know how do i go about this requirement since it seems that the bill document entry is made in table ERCH outside this BADI.I used x_new_billing_doc-erch-zbill_type = 'P' in the code but it says that it cannot be changed. Any structure which can be used to be filled here?
    Thanks,
    Shreeraj

    Sheeraj,
    You're using a wrong enhancement for your requirement. ISU_DEF_BILL_PERIOD is used to specify billing key date of a billing or print document depending on your requirements,.
    SAP provides enhancement EBIA0001 for any custom enhancements to billing document. You can update the custom fields  in the billing document before the document is updated.
    Best,
    Sai

  • Updating custom fields in BSEG table

    Hi Experts,
    I searched through SDN but did not find satisfactory answer to my problem.
    The scenario is that FIDCC2 Idoc is coming to SAP system. This Idoc has extended to include few custom fields. These fields need to be updated in table BSEG. Table BSEG also contains these custom fields. However, the Idoc processing routine is not updating custom fields in table BSEG with the data coming in Idoc. How can I do that?
    Thanks in advance,
    Netrey

    This message is processed by function module IDOC_INPUT_FIDCC2. If you drill down into the code a little bit, you should be able to find BTE/open FI or user exit calls (CALL CUSTOMER-FUNCTION) before the document is being posted.
    I found two that are using the ACCIT structure for passing the line items, which should contain your customer fields as well, if they were added to BSEG properly (via transaction OXK3).
    Please have a look.
    Thomas

  • Updating custom field in standard table ERCH

    Hi All,
    I'm trying to update a custom field bill type in table ERCH.I could not find any function for ERCH table and hence i am using enqueue dequeue with update statement.During debugging,the field BELNR(bill doc) is seen with a value for bill document but if at that moment i take that bill doc and put in table ERCH,it shows no entries found.Because of this reason,sy-subrc is not zero and bill type does not get updated.Any suggestions here are welcome.
    Thanks,
    Shreeraj

    Thanks for your replies,
    I need to update the custom field bill type in table ERCH depending upon the bill transaction( if bill transaction is periodic,bill type will be updated as P and so on for other cases)
    I am implementing a BADI ISU_DEF_BILL_PERIOD and i have used case statements(when abrvorg is P,bill type is P). While debugging i saw that the importing parameter bill document is generated but if i enter the same bill document number at that point in time in table ERCH, it shows no entries found. Thus sy-subrc is retrieved as not zero and hence the custom field bill type does not get updated.
    I would like to know how do i go about this requirement since it seems that the bill document entry is made in table ERCH outside this BADI.How do i update the bill type in table ERCH based on the billing transaction?
    Thanks,
    Shreeraj

  • Updating Custom field in Table BUT000 using BAPI 'BAPI_ISUPARTNER_CHANGE'.

    Hi,
    I have added a new custom field in table BUT000. Now i want to update that field with 'X' and i have used EXTENSIONIN parameter in the BAPI 'BAPI_ISUPARTNER_CHANGE'. i have populated the field name(Custom field name) and value 'X' to that structure and passed to BAPI. But that field value was not getting updated. So can any one help me how to resolve this issue.
    Thanks,
    Sushma

    Hi Ravi,
    Thanks for your response.
    I have passed the Structure name  in parameter EXTENSIONIN, but still i am facing the same problem.
    Thanks,
    Sushma

  • Need to update custom fields in MSEG table using "BAPI_GOODSMVT_CREATE"

    Hi All,
    There is a requirement to update custom fields in table MSEG which are part of append structure. There is a option to update the custom fields using the one of the tables parameters "EXTENSIONIN". Anyone please advice how can I update the custom field thru EXTENSIONIN.
    Thanks in advance.
    cheers,
    Vijay

    see the help
    http://help.sap.com/saphelp_nw04/helpdata/en/c3/4099948b8911d396b70004ac96334b/frameset.htm
    Regards
    Kiran Sure

  • Error using Bapi_PO_Change for update custom fields

    Dear Expert,
    I have requirement for update custom field in table ekko. I used BAPI_PO_CHANGE with PO_number as a key. Then i put the value of custom field in segment TABLES - EXTENSIONIN.
    But I get error : "ERROR TRANSFERING EXTENSIONIN DATA FOR ENHANCEMENT CI_EKKODB".
    When I checked, I found the difference between data type the value for BAPI_PO_CHANGE (Usinf structure BAPIPAREX) and data type for custom field in table EKKO.
    Data Type in BAPI_PO_CHANGE is CHAR (you can see in structure BAPIPAREX). And data type for the custom field is DECIMAL.
    I found the note '1124803', but the correction note was not applicable for us because our released system is 500.
    Is there any suggestion or solution for resolve our problem?
    Really appreciate your help.
    Thanks.

    Hi Laxmikanth Bethi ,
    I tried with BAPI_PO_CHANGE in level header, and SAP was support the BAPI. And also i tried to appending the same fields in MEPOHEADR & MEPOHEADERX structures, but the problem is the type of my custom fields are DECIMAL, then the type MEPOHEADR & MEPOHEADERX structures are CHARACTER. So i got the error :  "ERROR TRANSFERING EXTENSIONIN DATA FOR ENHANCEMENT CI_EKKODB".
    Because the types are difference.
    Have you any suggestion to solve this problem?
    Really appreciate for your input.

  • FM or BAPI to update custom fields in Excise invoice header (J_1IEXCHDR) table

    Dear friends,
    I have created the following custom fields in standard table J_1IEXCHDR (Excise invoice header detail),
    1) ZZKURRF - Exchange rate
    2) ZZWAERK - SD Document Currency
    Is there any BAPI or Function module to update these Custom fields of Excise header table J_1IEXCHDR?
    Have a nice day ....
    Thanks.

    Dear Lakshmipathi,
    Sorry for posting in wrong domain.
    Thanks for your immediate response. I will use the FM J_1I7_USEREXIT_EXCISE_BEF_SAVE for Excise invoices created in future.
    But, I have to update the custom data for existing records in J_1IEXCHDR. For that I need a FM or BAPI.
    Please provide the same.
    Thanks in advance .
    Have a nice day .

  • Extending sales order change BAPI and updating custom fields

    Hi
    i added 3 new fields into VA01/02/03 screen.i added at the header level in the additional data tab B area and appended them in VBAK table.
    i want to change these values using sales order change BAPI.i added the fields in the structure VBAKKOZ,VBAKKOZX,BAPE_VBAK,BAPE_VBAKX.
    may i know what else i need to do?should i move them anywhere with in the code or does the bapi take those values automatically using EXTENSIONIN structure?
    also can some one send me code to actually check if bapi is changing my values?
    if poss tell me how should i populate values into BAPI.

    After adding field in structures VBAKKOZ,VBAKKOZX,BAPE_VBAK,BAPE_VBAKX, create pair of name-value pair extensiot structure and value.
    Fill values as follows :
    Data :   ls_parex  TYPE  bapiparex,
                lt_parex  TYPE STANDARD TABLE OF  bapiparex.
    ls_parex-structure = 'BAPE_VBAK'.
    ls_parex-valuepart1+0(10) = Sales order no
    ls_parex-valuepart1+10(XX) = somevalue.  <---- Value for custom field no 1
    ls_parex-valuepart1+XX(XX) = somevalue.  <---- Value for custom field no 2
    APPEND ls_parex TO lt_parex  .
    clear ls_parex.
    ls_parex-structure = 'BAPE_VBAKX'.
    ls_parex-valuepart1+0(10) = Sales order no
    ls_parex-valuepart1+10(1) = 'X'. <--- checkbox mark for custom field no 1
    ls_parex-valuepart1+11(1) = 'X'. <--- checkbox mark for custom field no 2
    APPEND ls_parex TO lt_parex.
    Same pair for VBAKKOZ & VBAKKOZX
    Updating custom fields
      CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
        EXPORTING
          salesdocument    = Sales order number
          order_header_inx = 'U'   <--- U for update
        TABLES
          extensionin      = lt_parex[].
    Edited by: nkarwa on Oct 25, 2010 12:39 PM

  • Add Custom field of a Z Table in Search structure of Interaction History

    Hi,
    I am trying to add a field in the IC Interaction History. I have enhanced the BOL structure for BTQuery10 and displayed the field in the Web UI. I have implemented the  BADI CRM_RF_SEARCH_EEW, Added entry to CRMC_REPDY for the field.
    But when i enter any value in the Field it is not executing the BADI.  I tried with the Break Point but it has not executed the BADI.
    Please help how to add a Custom field of a Z Table in the Search structure of Interaction History.
    Regards,
    Rajender

    Hi Rajendra,
    You can try this approach.
    You can redefine the genil CL_CRM_BTIL->get_query_dynamic_result method (oneorder) and write the logic only for required object else all the one order objects will be affected.
    Inside the genil modify the search parameters to include additional object id's which corresponds to custom search parameter.
    Check the below logic which is used for activity search based on custom field, in your case modify it with the interaction history object details. Logic is to fetch all the one order object guids based on custom search( via select on custom table) and pass it as input parameter in search.
    DATA :   it_selection_parameters1   LIKE         it_selection_parameters,
                    ls_selection_parameters    LIKE LINE OF it_selection_parameters,
                    ls_selection_param         LIKE LINE OF it_selection_parameters1,
                    lv_attr                    TYPE name_komp.
      DATA:   lt_orderadm_h       TYPE          crmt_orderadm_h_wrkt,
                   it_act_guids        TYPE          crmt_object_guid_tab,
                   lt_requested_obj    TYPE          crmt_object_name_tab,
                   srch_str            TYPE          c                 LENGTH 40,
                  gv_activity_h       TYPE          crmt_object_name  VALUE 'ACTIVITY_H',
                  ls_orderadm_h       LIKE LINE OF  lt_orderadm_h.
    it_selection_parameters1[] = it_selection_parameters[].
      IF iv_query_name EQ 'BTQuery1O'.
        LOOP AT it_selection_parameters INTO ls_selection_parameters.
          CASE ls_selection_parameters-attr_name.
             REPLACE ALL OCCURRENCES OF '*' IN srch_str WITH '%'.
              srch_str = ls_selection_parameters-low .
              IF srch_str CA '%'.
                SELECT ref_guid
                     FROM "Ztable"
                     INTO TABLE it_act_guids
                     WHERE order_typeg LIKE srch_str .
              ELSE.
                SELECT ref_guid
                    FROM  "Ztable"
                    INTO TABLE it_act_guids
                    WHERE order_typeg = srch_str.
              ENDIF.
              INSERT  gv_activity_h  INTO TABLE lt_requested_obj.
              CALL FUNCTION 'CRM_ORDER_READ'
                EXPORTING
                  it_header_guid       = it_act_guids
                  it_requested_objects = lt_requested_obj
                IMPORTING
                  et_orderadm_h        = lt_orderadm_h
                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 NE 0.
              ENDIF.
              IF lt_orderadm_h IS NOT INITIAL.
                LOOP AT lt_orderadm_h  INTO ls_orderadm_h.
                  ls_selection_param-attr_name = 'OBJECT_ID'.
                  ls_selection_param-sign   = 'I'.
                  ls_selection_param-option = 'EQ'.
                  ls_selection_param-low    = ls_orderadm_h-object_id.
                  ls_selection_param-high   = ''.
                  IF sy-tabix = 1.
                    DELETE it_selection_parameters1 WHERE attr_name = 'Zttarname'.
                  ENDIF.
                  APPEND ls_selection_param TO it_selection_parameters1.
                  CLEAR:  ls_orderadm_h.
                ENDLOOP.
              ELSE.
                RETURN.
              ENDIF.
      ENDCASE.
        ENDLOOP.
      ENDIF.
      CALL METHOD super->if_genil_appl_intlay~get_dynamic_query_result
        EXPORTING
          iv_query_name           = iv_query_name
          is_query_parameters     = is_query_parameters
          it_selection_parameters = it_selection_parameters1
          iv_root_list            = iv_root_list.
    Hope this helps.
    Cheers,
    Sumit Mittal

Maybe you are looking for