Get the custom fields data at the time of save

Hi,
We have added few fields in the ICWC for the complaint screen.
At the time of save i am trigering a BADI.
I would like to check the data that is entered in those fields of complaint screen.
Is there any FM which can be used to get the data from the buffer ?
I have the header GUID available to me .
Thanks.
R

Hi,
Let me elaborate a bit.
Users would create the complaints in the ICWC.We have addeded few custom fields in the complaint screen.
CRMT_CUSTOMER_H_WRKT is extended with the custom fields.
At the save i am trigerring the Partner Determination BAdi.
Here i have the complaint guid at run time.
I would like to check the data entered in the custom field in the complaint screen. Based on this i would like to determine one more partner.
My question is how can i get the custom field data in the complaint screen in this BAdi.
The FM:  CRM_ORDER_READ is not returning this data.Is there any FM to get this ?
Thanks.
R.

Similar Messages

  • Using ms project 2007 and vba macro to list all the custom fields used in the project?

    Hi,Using ms project 2007 vba macro, I would like to be able to list all the custom fields used in the project and their corresponding field names. e.g. let us say I create a calculated duration field and name it "expected duration" and the name
    of the field I select is Duration1.
    I am trying to write a macro that will list all the used custom fields such as the result would look like:
    Duration1 ---> "expected duration"
    Text1       ---> "anything"
    Flag1        ---> "....."
    Number1  ---> "..............."
    Can anyone provide me with the solution?
    Regards,
    Chuck

    John,
    I found this module, which provides the the list of custom fields used in the project but does not provide the name given to the field. Here below is the module and hope you could help me achieve this by modifying the macro to list the renamed field.
    ' MSP Checks all Custom Task Fields
    Sub checkfields2()
    'This macro will check and report out which custom task fields are used
    'It requires Project 2002 and above as it relies on the GetField
    'and FieldNameToFieldConstant methods which were not introduced until
    '2002.
    'It does not include resource fields, however it is a simple matter to
    'do it by replacing the pjTask constant with pjResource.
    'Copyright Jack Dahlgren, Oct. 2004
    Dim mycheck As Boolean
    Dim myType, usedfields As String
    Dim t As Task
    Dim ts As Tasks
    Dim i, it As Integer
    Set ts = ActiveProject.Tasks
    usedfields = "Custom Fields used in this file" & vbCrLf
    myType = "Text"
    usedfields = usedfields & vbCrLf & "--" & UCase(myType) & "--" & vbCrLf
    For i = 1 To 30
    mycheck = False
    it = 0
    While Not mycheck And (it < ts.Count)
    it = it + 1
    If Not ts(it) Is Nothing Then
    If ts(it).GetField(FieldNameToFieldConstant(myType & i, pjtask)) <> "" Then
    usedfields = usedfields & myType & CStr(i) & vbCr
    mycheck = True
    End If
    End If
    Wend
    Next i
    myType = "Number"
    usedfields = usedfields & vbCrLf & "--" & UCase(myType) & "--" & vbCrLf
    For i = 1 To 20
    mycheck = False
    it = 0
    While Not mycheck And (it < ts.Count)
    it = it + 1
    If Not ts(it) Is Nothing Then
    If ts(it).GetField(FieldNameToFieldConstant(myType & i, pjtask)) <> 0 Then
    usedfields = usedfields & myType & CStr(i) & vbCr
    mycheck = True
    End If
    End If
    Wend
    Next i
    myType = "Duration"
    usedfields = usedfields & vbCrLf & "--" & UCase(myType) & "--" & vbCrLf
    For i = 1 To 10
    mycheck = False
    it = 0
    While Not mycheck And (it < ts.Count)
    it = it + 1
    If Not ts(it) Is Nothing Then
    If Left(ts(it).GetField(FieldNameToFieldConstant(myType & i, pjtask)), 2) <> "0 " Then
    usedfields = usedfields & myType & CStr(i) & vbCr
    mycheck = True
    End If
    End If
    Wend
    Next i
    myType = "Cost"
    usedfields = usedfields & vbCrLf & "--" & UCase(myType) & "--" & vbCrLf
    For i = 1 To 10
    mycheck = False
    it = 0
    While Not mycheck And (it < ts.Count)
    it = it + 1
    If Not ts(it) Is Nothing Then
    If ts(it).GetField(FieldNameToFieldConstant(myType & i, pjtask)) <> 0 Then
    usedfields = usedfields & myType & CStr(i) & vbCr
    mycheck = True
    End If
    End If
    Wend
    Next i
    myType = "Start"
    usedfields = usedfields & vbCrLf & "--" & UCase(myType) & "--" & vbCrLf
    For i = 1 To 10
    mycheck = False
    it = 0
    While Not mycheck And (it < ts.Count)
    it = it + 1
    If Not ts(it) Is Nothing Then
    If ts(it).GetField(FieldNameToFieldConstant(myType & i, pjtask)) <> "NA" Then
    usedfields = usedfields & myType & CStr(i) & vbCr
    mycheck = True
    End If
    End If
    Wend
    Next i
    myType = "Finish"
    usedfields = usedfields & vbCrLf & "--" & UCase(myType) & "--" & vbCrLf
    For i = 1 To 10
    mycheck = False
    it = 0
    While Not mycheck And (it < ts.Count)
    it = it + 1
    If Not ts(it) Is Nothing Then
    If ts(it).GetField(FieldNameToFieldConstant(myType & i, pjtask)) <> "NA" Then
    usedfields = usedfields & myType & CStr(i) & vbCr
    mycheck = True
    End If
    End If
    Wend
    Next i
    MsgBox usedfields
    End Sub
    This is what the module gives me. But I would like to have beside Text 1 the name that is shown as below. e.g Text1 is "Test".
    Would you mind helping me achieve this?
    Thanks in advance.
    Chuck

  • Restricting the Custom fields while copying the satandard TA

    Dear Experts
    I have a scenario where i have to create new Transaction type ZSBC for B2C sales in R3 4.7 ; and i want to map same in CRM2007 inorder to flow transaction type for further execution in both the systems.
    so my problem is when i try to copy from the standard Transaction type (TA) which has got Custom fields they are also getting copied in CRM2007 where i am  able to copy Standard order (OR) in R3 4.7.which does not have any custom field. the thing is i don't want copy those custom field  so how do i restrict them ,in order to make both the transaction types and item categories as same.
    Hence i request you all could you please help me
    Thanking you in advance.
    Regards
    Rao

    HI,
    This kinda functionality can be achieved through standards and dont need any developments.
    THis can be achieved via Partner determination procedure.
    In partner determination procedure, for a particular partner function, say Payer, you can assign an access sequence.
    Use acess sequence 0001 or 0002 whichever satisfies your criteria.
    SPRO > SAP Implementation Guide > Customer Relationship Management > Basic Functions > Partner Processing
    Under this node you will find Access sequence definition and Partner determination procedure.
    Hope this helps.
    Kindly reward with points in case helpful
    Sharif.

  • Problem is with the custom field validate in the custome tab

    Hello Experts,
    We have created additional tab in cProject Project definition level
    with some Custom fields.
    1. These all custom field we have maintained search help with Check
    table. But cProject screen these fields it is allowing other values
    also aprt from check table values. It is not through any error while
    entering wrong value apart from check table values. Properly maintained
    the check tables in back end.
    2. One custom fields my client need only to allow Numeric values only.
    For this we change the data element as 'NUMC' in field. But it is
    allowing entering the char value also.
    Kindly suggest if anything is needed to be done in webdynpro component
    level to maintain validations for custom fields.
    Thanks in advance for your help.
    Thanks & Regards,
    Raj

    Hello Raj
    I am having the same issue. Have you been able to resolve yours, and how did you ressolve it?
    Thanks
    Chatsworth

  • Required a customer field(located in the profitability segment box) as mand

    our client is requested  that the customer field (located in the Profitability Segment box) be a mandatory field for GL accounts which are getting posted directly from FI. This field is needed so that proper reporting can be generated for bad debt and product liability claims. Currently this field is not a mandatory when making journal entries, so there were some postings happened with out customer field. Due to this we are unable to extract exact values in CO-PA reports . Please can some one help me on this and explain the process and settings for this??
    Thanks in advance.
    Regards,
    Venkat

    Hi Eli,
    I have posted note to SAP and i got the below reply from them.
    Get this functionality you should change
    the coding of form DERIVE_CRITERIA_EXTENDED from include RKEVRK2L after
    uninstallation of note 115500(in case you have installed) like this:
    Im Dialogfall (Kontierungspopup) Verprobung ob für Feld
    Mußeingabe erforderlich (Merkmalsgruppe!)
    (nicht f. Faktura, da dort keine Fehlermeldung moeglich)
    if ( xt_criteria-field is initial
    BEGIN OF DELETION *****
    and xt_criteria-status eq '2'
    and not is_status_flags-dialog is initial ) .
    perform send_message using 'KE' 'E' '494'
    END OF DELETION *****
    BEGIN OF INSERTION *****
    and xt_criteria-status eq '2' ) .
    data: l_mtyp type c.
    if not IS_STATUS_FLAGS-DIALOG is initial.
    l_mtyp = 'E'.
    else.
    l_mtyp = 'W'.
    endif.
    perform send_message using 'KE' l_mtyp '494'
    END OF INSERTION *****
    xt_criteria-fieldname
    is_cobl-vorgn
    i_char_group
    endif.
    Afterwards you have to run function module RKE_GENERATE_INTERFACE_ACT
    for your operating concern to update the generated program RK2LXXXX.
    Thanks & Regards,
    Venkat

  • Problem with the custom field - enabling

    hi,
    i am using one customer field in the shopping card header , and using BBP_DOC_CHECK_BADI to issue an error message if this field is left empty.
    but the problem comes after the error message is issues , this field becomes disabled , and the user has to go back , and again come to the order screen to enter the value and order the cart.
    i have tried all possible options , to keep the customer field enabled , but not able to do so.
    have you got any inputs for me..
    Edited by: khan voyalpad usman on Aug 21, 2008 12:29 PM

    Hi,
    Have you checked the BBP_CUF_BADI_2 implementation in your system ??
    May be some logic there is disabling the customer field right after the error message is generated..
    Thanks,
    Pradeep

  • Custom fields data in mm02/mm03 is not showing

    Hi,
      My requirement is to add custom fields to mm01 and update the database.but at the same time if i check the material in mm02/mm03 the custom field data also should show.
    iam able to update database.my custom fields data is not showing if iam checking in mm02/mm03.
    Please help me how can i do this.
    Thanks in advance,
    Neelima.N

    Hi folks,
      can u please help me out.
    By the following code i can able to display the data in mm02/mm03.but my problem is the last created customer field(model) data is showing for all the materials.
    for eg matnr-10 model -xx.
             matnr-20 model-yy.
      if iam checking in mm02/mm03 for matnr-10 model-yy it is displaying.in database it is updating correctly.
    can  u please tell me how can i write a code to select the zfield data for that particular material.
    Module get_data.
    if sy-tcode = 'MM02'.
        select single model into mara-model from mara
                  where matnr is not null.
    elseif sy-tcode = 'MM03'.
        select single model into mara-model from mara
                  where matnr is not null.
      loop at screen.
      if screen-name = 'MARA-MODEL'.
       screen-input = 0.
       modify screen.
       ENDIF.
      endloop.
    endmodule.
    Thanks,
    Neelu.
    Edited by: neelima natta on Feb 26, 2009 2:02 PM

  • Loss/Wrong custom field data

    Hi All,
    When i get the document data by using "getItemRequest", that responses the custom field data will be loss or wrong.
    For Example:
    <field>custom field A</field>
    <value>aaa</value>
    <field>custom field b</field>
    <value>bbb</value>
    it will response.....
    <field>~8010</field>
    <value>0</value>
    <field>custom field b</field>
    <value>bbb</value>
    or response......
    <field>custom field b</field>
    <value>bbb</value>
    Am i missing something or step?
    Or what i need to do?
    Thanks a lot
    Jim

    I would need the database files.
    There are different labels put on custom fields
    marking them as custom email address, mail or
    document fields.
    There have been cases in the past where the
    wrong label had been associated with the custom
    field. SOAP originally marked the wrong label.
    Once the custom field is set, you can't change it.
    You didn't mention what version of the POA you
    are using.
    Preston
    Originally Posted by wouser
    Hi All,
    When i get the document data by using "getItemRequest", that responses the custom field data will be loss or wrong.
    For Example:
    <field>custom field A</field>
    <value>aaa</value>
    <field>custom field b</field>
    <value>bbb</value>
    it will response.....
    <field>~8010</field>
    <value>0</value>
    <field>custom field b</field>
    <value>bbb</value>
    or response......
    <field>custom field b</field>
    <value>bbb</value>
    Am i missing something or step?
    Or what i need to do?
    Thanks a lot
    Jim

  • Setting required to create Business partner record in SAP GTS for the customer who transferred from the SAP ECC system

    Dear Experts,
    Can you please suggest me list of activities require to automatically  create Business partner record in SAP GTS for the customer who transferred from the SAP ECC system .
    i.e If I create the customer master record and transfer the same CMR to SAP GTS , what are the setting requires to maintain in SAP GTS sytem to automatically create the Business partner .
    Ram

    Hi Raghu,
    Below are the main settings required to enable you to transfer Customer Master Data to SAP GTS. Please note that their is a difference between, Customer Master Record and Customer Master Data in terms of data and for GTS, we transfer Customer Master Data. Hence, below are the settings required:-
    In SAP ECC system:-
    Activate the change pointers for Customer Master Data apart from enabling basic connection settings.
    Schedule a job to run at regular intervals to transfer all the customer master data for the available change pointers to the SAP GTS system
      2.  In SAP GTS system:-
    Maintain the Mapping for ECC Customers to SAP GTS Business Partners in the General settings area of the SPRO in SAP GTS system
    Ensure that the Number range is maintained for those GTS  Business Partners.
    Also, some time you may be required to maintain the organisational structure to ensure full working.
    I hope this will be helpful to you.
    Regards,
    Aman

  • Data entered in the custom field in the SRM portal not getting saved..

    Hi Experts,
    I have added a custom field in Contract Screen of the SRM portal by adding the field as an append structutre in structure INCL_EEW_PD_HEADER_CSF_CTR.
    The custom field now appears in the header (basic data ) of the 'Process contract' screen.
    NOw It allows me to enter data in the custom field .
    The problem is ..
    When I  'CHECK' or "RELEASE'   the contract, the value entered in the custom field disappears..
    How do i capture the data entered in the custom field ...please HElp!!!
    Thanks in Advance.
    Vidya

    Hi Pradeep,
    Thanks for the reply!!
    We have upgraded our SRM system from 3.0 to 5.5
    I have added the custom field in structures INCL_EEW_PD_HEADER_CSF_CTR  and
    INCL_EEW_PD_HEADER_CSF  as the field has to appear in the basic data tab of 'Process Contract'.
    Regarding debugging:
    1. I tried to debug in BBP_DOC_CHECK_BADI by calling the FM BBP_PD_CTR_GETDETAIL. inside the badi and the parameter e_header of the function module contained the custom field but had no value...!!
    2. I tried to debug the badi BBP_CUF_BADI_2  method MODIFY_INPUT..
       The import variable iv_fieldname contains the field name amd the variable iv_value has the value entered in the custom field .........but another import structure ls_header also contains the custom field but no value....
    Method  MODIFY_INPUT has only one export parameter ev_value,,,,,,,,,,,,,,,,!!!!!!!!!!!!
    Edited by: vidya vidya on Apr 24, 2009 6:06 PM

  • How do you get the custom fields added to a address book to show up on Pages 09 when merging fields?

    I created some custom fields in the address book and want to get them merged into a Pages 09 document.  When using the merge fields feature in Pages, only the standard fields are displayed.  I am looking for a way to have the custom fields from the address book inserted into the document.

    I believe you will find them if you go to table - unhide all columns.  When you drag and drop card(s) into pages, it automatically shows default fields.  The others are there but hidden.  I hope this works for you!

  • How to get the exact day date with the another date field?

    Hi,
    Please help me how to get the specific day of the week's date with the help of another date field.
    Actually , one field(week_day) has 1,2,3,4,5,6,7 here 1--MON,2-- TUE like that.
    another field has the date. based on that date, we have to go to that particular week and need to pick up the date by the above week_day. It should be in that week itself.
    Thanks in advance!!
    Regards,
    Vissu...
    Edited by: vissu on Oct 29, 2010 3:07 AM

    Hi,
    Something like this
    SELECT TRUNC(<DATE_COLUMN>,'DAY')+<WEEK_NO_COLUMN> FROM <YOUR_TABLE>;for the particular week of the date
    SELECT TRUNC(SYSDATE,'DAY')+<WEEK_NO_COLUMN> FROM <YOUR_TABLE>;for the current week
    cheers
    VT

  • How to update the Customer field value of PO Item under the Delivery Address Tab?

    Hi Friends,
         i tried to update the Customer field Using Bapi_PO_change.I passed the PO Order no,POADDRDELIVERY data with Item no,Adrees no,Customer no.But i am getting no data changed message from return table.I attached the screen shots.So please suggest me the helpful information for resoving this issue.
    Thanks,
    Dinesh

    Thank you friends,
                My Problem was resolved.In my case i have passed the customer value in BAPI_PO_CHANGE POITEM Table with updated customer value.
    Thanks,
    Dinesh

  • Validate Street and House Number in the Customer Master Data (xd01/xd02)

    All.
    I need to validate if the fields street and house number are in blank in the Customer Master Data transaction (xd01/xd02). I found an user-exit (EXIT_SAPMF02D_001), which I can validate the customer data (KNA1, KNB1, etc) before to save. The problem is in the KNA1 structure, there aren't the fields street (STREET) and house number (NOUSE_NUM1), there is only the field STRAS, which street and house number values are concatenated.I solved this problem using field-symbol to catch these values in the screen, but I know it isn't a good solution. Is there another solution to solve this ? I had problem using this user-exit. It shows a message error type 'E' when either field street or field house number are in blank, after show this message if the user click in the tabs navigator button before press enter button, the transaction shows the error message "System error on reading table  DYNTAB, screen no. 0370". Does Somebody know this problem?
    Best regards,
    Alexandre
    ps: I'm coding in the ECC 6.

    Amit.
    Thanks for your suggestion, but I need to validate these values typed by the user. When I create a customer, I can't get these values in the ADRC table.
    Regards, Alexandre

  • Update EKKO table for the custom field through BAPI

    Hi Experts,
    I need to create an Custom field in EKKO table through Include Structure.
    Now I have to update that custom field in my program.
    I have gone through the following but could not solve my question.
    Update EKKO table
    User Exit for ME21 PO Creation at the time of saving--Urgent
    I don't need to update when I hit the save button or any thing
    I have the PO's which needs to be updated with that field...
    Any suggestions would be greatly helpful.
    Thanks,
    Chaithanya...
    <removed_by_moderator>
    Edited by: Julius Bussche on Jul 7, 2008 10:47 PM

    Hi Patrick,
    Sorry Patrick you are right.. The structure is at header level.
    I have made the changes still I could not achieve it.
    I have made the following
    In EKKO table I have append the structure with a custom field ZZBUY.
    Now I have also appended BAPI_TE_MEPOHEADER and BAPI_TE_MEPOHEADERX with the custom field
    ZZBUY.
    Here is my program
    Data: wa_bapi_poheader  type BAPIMEPOHEADER,
             wa_bapi_poheaderx type BAPIMEPOHEADERX.
    Data: it1_bapi_poheader  like BAPI_TE_MEPOHEADER,
             it1_bapi_poheaderx like BAPI_TE_MEPOHEADERX.
    CALL FUNCTION 'BAPI_PO_GETDETAIL1'
      EXPORTING
        PURCHASEORDER            = wa_DATA-ebeln
    *   ACCOUNT_ASSIGNMENT       = ' '
    *   ITEM_TEXT                = ' '
    *   HEADER_TEXT              = ' '
    *   DELIVERY_ADDRESS         = ' '
    *   VERSION                  = ' '
    *   SERVICES                 = ' '
      IMPORTING
        POHEADER                 = wa_bapi_poheader
    *    POEXPIMPHEADER           =
      TABLES
        RETURN                   = it_bapireturn
    it1_bapi_poheader-ZZBUY = 'X'.
    it1_bapi_poheaderx-ZZBUY = 'X'.
    it_extensionin-structure = 'BAPI_TE_MEPOHEADER'.
    it_extensionin-valuepart1 = it1_bapi_poheader.
    append it_extensionin.
    Clear  it_extensionin.
    it_extensionin-structure = 'BAPI_TE_MEPOHEADERX'.
    it_extensionin-valuepart1 = it1_bapi_poheaderx.
    append it_extensionin.
    Clear  it_extensionin.
       CALL FUNCTION 'BAPI_PO_CHANGE'
         EXPORTING
           PURCHASEORDER                = wa_data-ebeln
           POHEADER                     = wa_bapi_poheader
           POHEADERX                    = wa_bapi_poheaderx
    *      POADDRVENDOR                 =
    *      TESTRUN                      =
    *      MEMORY_UNCOMPLETE            =
    *      MEMORY_COMPLETE              =
    *      POEXPIMPHEADER               =
    *      POEXPIMPHEADERX              =
    *      VERSIONS                     =
    *      NO_MESSAGING                 =
    *      NO_MESSAGE_REQ               =
    *      NO_AUTHORITY                 =
    *      NO_PRICE_FROM_PO             =
    *    IMPORTING
    *      EXPHEADER                    =
    *      EXPPOEXPIMPHEADER            =
         TABLES
           RETURN                       = it_bapireturn
    *      POITEM                       =
    *      POITEMX                      =
    *      POADDRDELIVERY               =
    *      POSCHEDULE                   =
    *      POSCHEDULEX                  =
    *      POACCOUNT                    =
    *      POACCOUNTPROFITSEGMENT       =
    *      POACCOUNTX                   =
    *      POCONDHEADER                 =
    *      POCONDHEADERX                =
    *      POCOND                       =
    *      POCONDX                      =
    *      POLIMITS                     =
    *      POCONTRACTLIMITS             =
    *      POSERVICES                   =
    *      POSRVACCESSVALUES            =
    *      POSERVICESTEXT               =
           EXTENSIONIN                  = it_extensionin
    *      EXTENSIONOUT                 =
    *      POEXPIMPITEM                 =
    *      POEXPIMPITEMX                =
    *      POTEXTHEADER                 =
    *      POTEXTITEM                   =
    *      ALLVERSIONS                  =
    *      POPARTNER                    =
    *      POCOMPONENTS                 =
    *      POCOMPONENTSX                =
    *      POSHIPPING                   =
    *      POSHIPPINGX                  =
    *      POSHIPPINGEXP                =
    *      POHISTORY                    =
    *      POHISTORY_TOTALS             =
    *      POCONFIRMATION               =
    It gives me messages saying that
    Please also populate interface parameter POHEADERX
    No data changed
    Where am I going wrong..
    Waiting for your replies....
    Thanks,
    Chaitanya

Maybe you are looking for

  • BAPI_SALESORDER_CREATEFROMDAT2 - not working for multiple  BOM

    Hi - I am using BAPI_SALESORDER_CREATEFROMDAT2 function module to create sales order with multiple material. If more than one BOM materials are passed to the FM,this FM is giving error and not creating sales order. I have to pass multiple BOM to the

  • Error opening the database for the library | [name].aplibrary | Aperture 3.1.2

    I've read and followed through the archived threads relating to this problem but I could not resolve this. Can anyone help please. Software: Aperture 3.1.2 Issue: Error message when attempting to launch an Aperture Library file: Location of database:

  • Can I hook use an  older iMac as an display for my Macbook Pro?

    Can I use an older iMac as an display for my Macbook Pro?  The Macbook Pro has the Mini display port and the iMac has the older (larger) display port.  I am trying to have a document open on the iMac while writing a paper on the Macbook Pro. Thank yo

  • Dolly Parton's Seatbelt?

    Unlike Dolly's seatbelt I'm NOT tight, honest ... but I do need a wee bit of convincing on a couple of purchases I'm considering. (Also, apologies in advance, because this is more a general iLife question, rather than a specific iPhoto query - hope n

  • Is the Jdeveloper 10.1.3.1 production only for windows OS

    I am excited to hear that the Jdeveloper 10.1.3.1 goes production. but the download page only display the available download for Windows. so I just wonder if the new release come with the Mac OSX version? Message was edited by: user535486