Custom field for bapi_pr_create

Hello Experts,
I have a requirement of adding custom field at the header level. Can i use bapiextensionin in the FM BAPI_PR_CREATE
if yes what is the structure that need to be modified for appending new fields and transfer the data to the EBAN table.
Thanks in advance.
Praveen

Hi to All,
I've the same problem, using BAPI_PR_CREATE and filling EXTENSIONIN ( BAPI_TE_MEREQITEM/X)
the custom field has not filled. I've also tried to implement BADI ME_PR_CUST but doesn't work.
Please help up.
Thanks a lot.
Umberto

Similar Messages

  • Replicating Custom Fields for Products in CRM  from ECC

    Hi All,
    I am having difficulty in replicating SAP standard field values from ECC to custom fields for products in CRM. This is what i did:
    1. I created a new settype(ZMASTER_INFO) with a single attribute(ZIND_STD) and added
        this new settype to MAT_HAWA. (As all our materials fall under this material type).
    2. I am looking to map SAP standard field from ECC to this custom field of mine.
        I wrote the code in CRM BADI 
        'ZPRODUCT_CUSTOMER2->MAP_R3_TO_CRM_MATERIAL' with the following code:
    DATA: ls_ZMASTER_INFO TYPE ZMASTER_INFO_maintain.
    DATA: ls_category_bdoc       TYPE COMT_PROD_CAT_REL_MAINTAIN,
          ls_category            TYPE COMT_PROD_CAT_REL,
          lt_categories          TYPE COMT_PROD_CAT_REL_TAB,
          ls_settype             TYPE COMT_settype_ext,
          ls_cat_settype_rel     TYPE COMT_CAT_FRAG_REL,
          lt_cat_settype_rel     TYPE COMT_CAT_FRAG_REL_TAB,
          lt_cat_settype_rel_all TYPE COMT_CAT_FRAG_REL_TAB.
    LOOP AT lt_cat_settype_rel_all INTO ls_cat_settype_rel.
          CALL FUNCTION 'COM_SETTYPE_READ_SINGLE'
            EXPORTING
              IV_SETTYPE_GUID         = ls_cat_settype_rel-frgtype_guid
            IMPORTING
              ES_SETTYPE              = ls_settype
           EXCEPTIONS
             NOT_FOUND               = 1
             NO_IMPORT_VALUES        = 2
             NO_TEXT_FOUND           = 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.
      CASE ls_settype-frgtype_id.
          WHEN 'ZMASTER_INFO'.
          ls_ZMASTER_INFO-relation-owner = 'X'.
          ls_ZMASTER_INFO-relation-logsys = cs_product_bdoc-header-com_product-logsys.
          ls_ZMASTER_INFO-data-ZZ0010 = is_mara-STD_DESCR.
          ls_ZMASTER_INFO-DATA_X-ZZ0010 = 'X'.
          APPEND ls_ZMASTER_INFO TO cs_product_bdoc-data-ZMASTER_INFO.
          APPEND ls_settype-FRGTYPE_GUID TO cs_product_bdoc-data-MNT_SETTYPE.
       ENDCASE.
    ENDLOOP.
    Since in ECC i am not having any custom fields i did not write any code in ECC for TPS34 and TBE24. I just wrote this BADI in CRM and using the field S_MARA-STD_DESCR.
    I am not sure if i need to write the code in ECC. COUld anyone please confirm if i need the code in ECC?
    Also in the CRM BADI, lt_cat_settype_rel_all is EMPTY. Not sure how this gets its value.
    Could anyone please suggest if i am missing anything here? Any help is appreciated.
    Thanks,
    Karuna.

    Hi Karuna,
    One more solution is to change the BDoc data content before it hit the Database.
    this can be done in badi: Data_Exchange_badi (if u dont find this try with following search string: xchange)
    In the above mention badi you will find a method which is used to populated the contend jst after bdoc in CRM is being populated by R/3 data.
    Best Regards,
    Pratik Patel
    <b>Reward with Points!</b>

  • User's custom field for metadata entrance

    It would be wonderful if the user could add a series of metadata custom fields.
    I'm thinking in a situation where you might be photographing for a national museum or an art gallery where you could enter a custom field for the artist's name, date of birth & death, nationality, restoration details (who did what & when?), etc..

    I second that one, too. It would be immensely useful. After all, LR is a database, so adding custom fields shouldn't be too difficult, should it?
    I'd be happy for these to be internal only, not exportable.
    David.

  • Adding customized fields for Travel Expenses

    Hi,
    I would like to add some customized fields for user input during the creation of travel expense form.  Is this possible?  If yes, any advise on the steps to create customized fields for data entry of travel expense form?
    Thanks.

    Hi Yvonne ,
    Thank you for the tip , it was helpfull.
    We are using field BUS_REASON "Business Partners", We changed label for data element but is not showed in TRIP transaction we can see it in PR05 transaction.
    How can I change labels for TRIP transacction?
    We did the change in CMOD transaction
    Thanks.

  • Add a custom field for Product Allocation

    Hi experts,
    I have copied S140 to S501 to add a custom field for product allocation.
    I have added the custom field in MCVBAKUSR, so it is visible in MCVBAK.
    However, I don't know whether I can populate data into custom field. I searched in forum, someone said it can be done in SAP enhancement MCS10001. But it can't work. I have tried to place a break-point in the code, and seems that throughout the order creation and product allocation check, it hasn't get into the codings in enhancement MCS10001.
    Can anyone give me some idea on it? Thanks.

    You should have simply extended VBAK table. It would've taken care of extending MCVBAK, etc. Then VBAK field would have to be populated in a user exit USEREXIT_CHECK_VBAK in MV45AFZB, when a document is being created/changed.

  • Enabling Quote custom field for External Pricing Response

    Hi All,
    Using UI configuration (adaptation) we are able to define new fields and enable them for standard web services. The result is that they are included in the relevant WSDLs and can be mapped using PI/HCI to equivalent fields in an external system such as SAP ECC.
    Looking at Quote's for example, we have defined a new field at Product Item Line level and have the following services we can enable it for.
    Enabling for the CustomerQuoteRequestExternalSalesDocumentDataOut outbound service adds the field to the External Pricing request part of the resulting WSDL, however it is not enabled for the response which is key to our requirement.
    Is it possible through PDI to enable this field for the inbound equivalent for CustomerQuoteRequestExternalSalesDocumentDataOut??? If not, is it possible to create the field through PDI and enable it that way?
    Thanks
    Indi

    Hi Chandan,
    Thanks for the response.
    The External Pricing interface for Quotes is synchronous so has no IDoc as such. We send some parameters to fetch a price from SAP ECC, and the response contains all the pricing information.
    In terms of the response, we're able to pass the value we need from SAP ECC to HCI, however there is no place in the WSDL for us to pass it to the field we have defined in C4C.
    The WSDL for External Pricing contains both the request and response structures, therefore two root nodes. Adaptation only allows us to enable the field for the request (outbound) node. I'm trying to work out how we can enable our custom field for the response (inbound) node within the WSDL structure.
    Thanks
    Indi

  • 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

  • Add custom field for Item Manufacturer logo?

    Hi All,
    I would like to add a custom field to hold manufacturers logo file names.
    I want to be able to print out Item Price lists by Brand (manufacturer) that display the manufacturers logo at the top of the page. The Price List includes the Item code and description along with List Price and Dealer Cost Price.
    I have prepared a user query with two variables (Manufacturer and Price List) that returns the correct data. I have also prepared a PLD layout that formats the document as expected.....all except for the manufacturer logo.
    Here is the query for the Brand Specific Dealer Price List:
    SELECT T0.[ItemCode], T0.[ItemName], (SELECT price from ITM1 where ItemCode=t0.ItemCode and PriceList=6)
    As 'RRP Inc GST', T2.[Price] As 'Dealer Cost Ex GST', T4.[ItmsGrpNam] FROM OITM T0  INNER JOIN OMRC T1 ON
    T0.FirmCode = T1.FirmCode INNER JOIN ITM1 T2 ON T0.ItemCode = T2.ItemCode INNER JOIN OPLN T3 ON
    T2.PriceList = T3.ListNum INNER JOIN OITB T4 ON T0.ItmsGrpCod = T4.ItmsGrpCod WHERE T1.[FirmName] = [%0]
    And  T3.[ListName]  = [%1]
    I hope to be able to add a logo field to the OMRC table (I assume?), and then be able to return that on the PLD layout.
    This would be a perfect result for my requirement as we could print or email formated Brand (manufacturer) specific dealer price lists (with variable price list pricing) on demand.
    Any help would be most appreciated.
    Best regards,
    John

    Hi Gordon,
    SAP B1 2007 A (8.00.234) SP:01 PL:10
    No, I have yet to add the UDF as I am unsure how to do so. I attempted to do this via "User-Defined Fields - Management", but cannot find the OMRC table in the list of available categories to add field data to.
    Best regards,
    John

  • CN41 Customer Fields for WBS not visible in the CN41 report

    Hi,
    I have Done the Below Steps:
    I have done all the Things Below and it is working Also.:
    Create structure CI_PRPS.
    Create enhancement.
    Edit the function exits.
    Maintain the global declarations.
    Design the customer-specific screen.
    Activate the enhancements in CMOD.
    Generate the structures in the Project Information System.
    In CJ20N i have these customer fields as a new Tab and i am also able to save the data in the Database also.
    My problem comes not in transaction execution but in Reporting.
    When i run the Report CN41 the fields which i have added into the PRPS using the Include CI_PRPS is not displayed in the Report.These fields are available in the selection screen but not available in the report when i execute the Report and do choose fields to display collums in the report.
    I am getting these fields in CN43 but not in CN41.
    In CN43 also the Values are comming in ####### but not in correct values.
    Also when i tried to Run the Report RCNCT001 it is asking for the access Key.
    Thanks

    Hi,
          I have Done the Below Steps:
    I have done all the Things Below and it is working Also.:
    Create structure CI_PRPS.
    Create enhancement.
    Edit the function exits.
    Maintain the global declarations.
    Design the customer-specific screen.
    Activate the enhancements in CMOD.
    Generate the structures in the Project Information System.
    In CJ20N i have these customer fields as a new Tab and i am also able to save the data in the Database also.
    My problem comes not in transaction execution but in Reporting.
    When i run the Report CN41 the fields which i have added into the PRPS using the Include CI_PRPS is not displayed in the Report.These fields are available in the selection screen but not available in the report when i execute the Report and do choose fields to display collums in the report.
    I am getting these fields in CN43 but not in CN41.
    Thanks

  • Custom fields for ROS initial page in BSP application

    Hi,
    We want to add some more customer fields in ROS initial page, for example TIN number. We have added a field to ZZTIN in the include CI_CUF_REQ_FIELDS of structure ROS_CUF_REQ_FIELDS and also implemented BAdI ROS_REQ_CUF. After adding custom codes in BSP application ROS_SELF_REG under page u201Caddress.htmu201D we are able to see this field in the initial registration page.
    Now the question is WE ARE UNABLE TO KNOW HOW TO STORE THE VALUE ENTERED HERE. We are facing below issues.
    (1)     If we try to input  ZZTIN to structure u201Cgs_address u201C it is asking us to add custom fields here also.
    (2)      But when we tried to append ZZTIN to structure BAPIBUS1006_ADDRESS,  it is not allowing to activate it.
    (3)     We have also appended ZZTIN to ADRC table. How can we input to ADRC table from here?
    Ganapathi

    Dear VASILIEVA Irina,
    Thanks for the reponse. Could not get what do you menat by "core mod", did you meant you created a separate table with key field business partner id... Can you just elaborate?
    However we would prefer to add a custom filed in the standard strcucure itself.. both type suggetions are welcome....
    Ganapathi

  • VBA - Setting Custom Fields For Sub-Projects Using a Master File

    Hello,
    I was wondering if anyone had any experience or could provide some help with a Macro to set the Custom Fields in Sub-Project Files directly from the Macro. I had this macro working in the past with Project 2007, but it has been a couple years and I am struggling
    to resolve an error. I am currently running Project 2010 with SP2. I intend to use this Macro in our Server 2010 environment, however at this time, I'm testing locally on my desktop.
    Scenario.
    I have a Master File with 2 sub-project (Project A, and Project B) inserted. While working in the Master File, I create a custom field title "TEAM Lookup". While in the Master File and without having to individually go and open, edit, save, and
    close each sub-project, push the custom field down to the project files.
    ERROR: Currently, the Macro will run and I can step through the lines of code until line 12 where I'm asking Project to use the organizer to shift the newly created custom field from the Master File to a sub-project. The line appears to
    populate correctly, but instead of continuing through the loop, an error is caught (ID - 1101 - "The File (Master File) was not found")
    Any ideas or suggestions would be greatly appreciated. Thanks
    Sample Code
    1. Sub CopyCustomFieldToSubprojects()
    2. Dim MASTER, custfield, contin, AllDone
    3. Dim SubProj As Subproject
    4. Alerts False
    5. MASTER = ActiveProject.Name
    6. Application.EnableCancelKey = pjInterrupt
    7. custfield = CustomFieldGetName(ActiveCell.FieldID) & ActiveCell.FieldName
    8. On Error GoTo errhand
    9. contin = MsgBox("This macro will copy the field " & "(" & custfield & ")" & " (the currently selected field) to all subprojects in this consolidated schedule." & vbCrLf & vbCrLf & "Be
    patient, it may take more than 70 seconds to run. You will be notified when it's done. Continue?", vbOKCancel)
    10.    If contin = vbCancel Then GoTo done
    11.    For Each SubProj In ActiveProject.Subprojects
    12.    OrganizerMoveItem Type:=pjFields, FileName:=MASTER, ToFileName:=SubProj.SourceProject.Name, Name:=custfield
    13.    Next SubProj
    14.     AllDone = MsgBox("The " & custfield & " field has been copied to all subprojects.", vbOKOnly)
    15. GoTo done
    16. errhand:
    17. ret = err.Description
    18. ret1 = err.Number
    19. done:
    20. End Sub

    SGBlaine,
    Project VBA can get rather fussy about some things so you just have to find out what it wants and then adjust your code accordingly. The following will work:
    Note the tweaks to the custfield variable and to the MASTER and source project names. Also when working with strings in VBA it is a good idea to eliminate at least one little gotcha, the need for exact capitalization. Therefore I always add the Option Compare
    Text statement. In your macro it won't make any difference since you do not directly create a string value, but it's good practice to have the option.
    Option Compare Text
    Sub CopyCustomFieldToSubprojects()
    Dim MASTER, custfield, contin, AllDone
    Dim SubProj As Subproject
    Alerts False
    MASTER = ActiveProject.FullName 'FullName includes the path, now it can find it
    Application.EnableCancelKey = pjInterrupt
    custfield = CustomFieldGetName(ActiveCell.FieldID) & " (" & ActiveCell.FieldName & ")"
    'strings are very fussy, it has to be exact
    On Error GoTo errhand
    contin = MsgBox("This macro will copy the field " & "(" & custfield & ")" & " (the currently selected field) to all subprojects in this consolidated schedule." & vbCrLf & vbCrLf & "Be
    patient, it may take more than 70 seconds to run. You will be notified when it's done. Continue?", vbOKCancel)
    If contin = vbCancel Then GoTo done
    For Each SubProj In ActiveProject.Subprojects
        OrganizerMoveItem Type:=pjFields, FileName:=MASTER, ToFileName:=SubProj.SourceProject.FullName, Name:=custfield
    Next SubProj
    AllDone = MsgBox("The " & custfield & " field has been copied to all subprojects.", vbOKOnly)
    GoTo done
    errhand:
    ret = Err.Description
    ret1 = Err.Number
    done:
    End Sub
    John

  • Transfer of Customer field for Confirmation

    Hello Expert,
    We are implementing Classic scenario for Self Service Procurement. We have implemented customer field in Confirmation for Goods.
    We want to know that how we can transfer the value of customer field to Backed GR?
    Your valuable inputs will help us.
    Thanks in advance.
    Aakash.

    You can try BADI 'BBP_DOC_CHANGE_BADI' , method 'BBP_CONF_CHANGE'. In 'IT_ITEM', you can try to find an unused placeholder and create the GR in backend with the custom field in the selected placeholder field.

  • Adding Custom Fields for Change Request in EHS

    Hi,
    I need to add custom fields in Change request screen, where I am not able to identify for BO and node to do same.
    Its Configuration name  /MOC/F_ISS_ROOT_OBJECT_INFO.
    I tried with /IAM/ISSUE and /IAM/ACTIVITY BO.. but it is not working.
    Not able to identify the correct table for adding fields.Pls help me on the same.
    Regards,
    Reny Richard

    Reny,
    Why don't you check for the ST05, so that you can grasp some of the table names. Should be useful to you
    http://scn.sap.com/community/abap/testing-and-troubleshooting/blog/2007/09/05/the-sql-trace-st05-quick-and-easy
    BR,
    RAM.

  • ISE 1.3 Guest API - using custom fields for guest creation?

    I am currently working with the new ISE 1.3 guest api, i have most everything working, i can create guests fine, with the basic information entered into the guest account like first name, last name, company, email, phone and so on. Now i need some more fields to enter other information in for that guest, and i have created 5 extra custom fields called option1-option5, and enabled them for the "Known Guests" page on my sponsor portal. I can however not figure out how they should be adressed in the xml input sent in the api request...anyone tried this ?
    Regards
    Jan

    Hi Johan,
    Sure i can lead on the way, the stuff i am doing is part of a complete system i build and sell, that integrates with ISE to give customers the ability to create guest accounts using a number of different social media facebook, google and so on, to self-provision accounts for guest acces (and many other things :-)
    I mainly use PHP for this, and for simplicity you can use a curl command line executed by any scripting you prefer, or use any curl library you might have available to you.
    So, you need an ise sponsor account that has the "api usage flag" allowed in the sponsor group it is a member of. Then you need to know a few things about the ise setup, that needs to be sent with your request to ise, to allow the creation of a guest account.
    If you need some code examples, send me a pm and we can figure something out
    API Reference :
    http://www.cisco.com/c/en/us/td/docs/security/ise/1-3/api_ref_guide/api_ref_book/ise_api_ref_guest.html

  • Add IT0006 custom fields for segment definition E1P0006 basic type HRMD_A06

    Hello!  I am am trying to determine how to bring in our custom fields from IT0006 into our IDOC's for message type HRMD_A basic type HRMD_A06 without performing a custom SAP modification.  I was able to create a new segement definition called Z1P0006 and replace the SAP standard E1P0006 IDOC segment defintion in table T777D for infotyp 0006 to Z1P0006.  However, I receive a message that I must not maintain this IDOC segment manually and instead you must maintain infotypes and their individual elements by using the transactions for processing infotypes: PPCI or PM01 (Infotype copy transaction for personnel administration). 
    Does anyone know of a way to bring in the new custom infotype fields from i.e. reimport the table structure for IT0006 into the segment definition without a custom SAP modificaiton?  I would really appreciate any help on this topic!
    Thanks!
    Holly

    unfortunately, the standard do not provide the infotypes for the HR-TM (Time Management), that
    are between the structures i must send in the other system sap.
    Ok, I have never delt with Time data in HRMD_A. Probably this is the case then
    Ok,now i've checked the filter in BD64 and the tables BDCP2, CDHDR and CDPOS but it seems
    all correct!!
    By checking Filters I mean that confirm if you have added Time Infotypes there (just
    making sure). If data is appearing in BDCP2 that means there is no problem in Change
    pointer creation, Just ruling out possibility.
    Try with an user exit it's a good idea, but why in the PFAL the idoc (with the custom segments)
    is created without problems and in the BD21 no??? This is very strange
    1) Well BD21 uses the Function module (TBDME for HRMD_A) which read change pointers and
    create IDOCs. So now if you have extended Segment you have to add your population code
    here somewhere.
    2) PFAL is Push program, my assimption here is you have wriiten some piece of code to
    populate Additinal segments data here? Otherwise IDOC will not be populated
    automatically.
    Let me know what you think.

Maybe you are looking for

  • DNS Router & Server Setup Issues

    I'm running a Mac OS X Server on my local network. I have a D-Link 655 router that connects the machines and conencts to the internet. I'd like to use OS X Server's DNS instead of my ISP's. In the D-Link Router I've set the DNS to the OSX server in t

  • Windows xp, itunes does not recognize iphone or ipad. Have tried reloading itunes

    Itunes will not recognize iphone4s or ipad on windows xp. Have tried all recommendations from Apple. Help

  • Product Id replication after Sysprep cloning

    Hello, I have to setup 30 identical systems, with Windows 7 Enterprise edition for my lab. I decided to setup a machine, install all the required software in windows audit mode and clone it using Sysprep with an answer file. For the activation part m

  • IDOC related Query

    hi i am adding one field VBKD-IHREZ in the IDOC. i have added following code in the Include which exists inside a User exit corresponding to fill Idoc Structure to BDC data structure. z1edk05 is the new segment which i have add in z1orders through we

  • Delegated Admin and non-flat user/group structures

    Hello, I am trying to build a directory structure with several containers under an organization used to store different portions of userdata and group data (i.e. not only ou=people and ou=group, but also a few ou's like them). Server software is from