Proble with managment fields custom mara

Dear Expert,
i have created the implementation for segment E1MARAM added the new fields custom  and implemented the badi BADI_MATMAS_ALE_IN for managment this field, but the idoc not valorize thise fields???
i know what i forgot ???
best regards

HI Ahmed,
We have written the Select BAPI & are using the standard Update BAPI but we cannot get
CUSTOM fields in MARA to update.
So my question is :-  Does anyone have experiece on how to use the Extensionin and Extensioninx functionality
in ithe BAPI in Visual Composer for Custom fields in table MARA or another solution.
Thanks,
Robert

Similar Messages

  • Dispaly material with key field customer based on tax classification

    Hello all,
    Material is classified based on tax classification as products and goods.I need to dispaly these of either for some customers.
    Client is saying me to use the table MLAN(Tax Classification for material).
    Can anybody suggest me how can i pull the material part/service part(matnr)  from the table (MLAN) based on tax classification(TAXKM) with key field customer(KUNNR) when this table does not have customer has key field in it.
    Thank you,
    Sirisha

    Hello all/Brad,
    Requirement is , i need to add and dispaly material data in a column with heading as  tax classification  in ALV Report for the customer.
    Ex:  Customer 11094 brings material 336047-B21(Product)
          Customer 10973 brings material LDMSPMAP-M (Service)
    Material is classified as per the tax classification  as Product and Service. If tax classification is 1 then it is Product and if the tax classification is 2 then it is Service.
    So i'm trying to pull the material(Product/Service) based on tax classification with customer as key field.
    Customer is coming from customer master data.
    So i have used MARA table which has all three fields (Customer,Material,Tax classification) to get the required information but the table does not have test data for customer.So i told my client to update mara table with customer and tax classification data.
    But  my client told me to use MLAN table  because they have updated the data in this table.But unfortunately this table doesn't have customer field to pull the data.
    So that is the reason, i put the above question in the forum.
    PLease help me in solving this issue.
    Thank you,
    Sirisha

  • Using ME21N/ME22N with own Fields from MARA

    Hallo,
    i need help to insert some fields from MARA in
    the Tcode ME21/2N. For example MARA-GROES or MARA-ZEINR
    in the Item-List.
    Can i use the exit MM06E005, and has anybody a
    Codeexample?
    Thanks for help
    Dieter
    We have a new Problem. We have to store the new Fields
    in the EKPO. I use EXIT_SAPMM06E_013 with xekpo-ZZEINR
    but it doesn't work correct.
    Has anyone an idea?
    Thanks
    Regards Dieter
    Message was edited by: Dieter Gröhn

    Hi Dieter,
    1. Insert new field ZZ_ZEINR with component type<b> DZEINR</b> in structure CI_EKPODB via SE11. Save and activated once done.
    2. Go to <b>SE51</b> (Screen Painter), enter program <b>SAPLXM06</b> and screen number <b>0111</b> and click on change and select maintain in original language.
    3. Click on <b>Layout</b> button and create text field and input/output field for EKPO_CI-ZZ_ZEINR. Save and activated.
    4. Go to SE37 and enter function module <b> EXIT_SAPMM06E_016</b> and click on include <b>ZXM06U41</b>. In here you can code something like this. Save and activated once done.
    CLEAR: EKPO_CI-ZZ_ZEINR.
    SELECT SINGLE *
    FROM MARA
    WHERE MATNR = I_EKPO-MATNR.
    IF SY-SUBRC = 0.
      EKPO_CI-ZZ_ZEINR = MARA-ZEINR.
    ENDIF.
    Hope this will help.
    Regards,
    Ferry Lianto

  • Reconciliation of User's Manager Field using GTC

    Hi,
    Could anyone suggest how to manage the reconciliation of Manager field of users using GTC.
    As for the first trusted reconciliation of users , the manager value coming from the source would not exist in OIM, so if we map the manager field of source with manager field in OIM, it would fail, as the manager user doesn't yet exist in OIM. How can we implement this.
    Regards

    Hi Rajiv,
    Thanks for your response.
    We have configured our GTC with the manager attribute mapped as well, in the sense, there are race conditions, manager user might not exist while OIM is reconciling and trying to create a user.
    So, the recon event comes as Data Validation Failed. But eventually the users will be created and this Retry Failed Recon Events ST, which is OOTB will slowly resolve all the users as and when the users are created in OIM.
    What happening is :- when i am running this Retry Failed Recon Events ST (as there are lots of failed recon events), OIM is crashing after every half n hour.
    What i could see in logs is below:- Is this somehow related to CPU usage and Memory???
    at oracle.iam.reconciliation.scheduledtasks.ReconRetrySchedulerTask.process(ReconRetrySchedulerTask.java:43)
    at oracle.iam.reconciliation.scheduledtasks.ReconRetrySchedulerTask.process(ReconRetrySchedulerTask.java:43)
    at oracle.iam.reconciliation.scheduledtasks.ReconRetrySchedulerTask.process(ReconRetrySchedulerTask.java:43)
    >
    /u01/oracle/admin/OIMDomain/mserver/OIMDomain/bin/startWebLogic.sh: line 180: 19488 Segmentation fault (core dumped) ${JAVA_HOME}/bin/java ${JAVA_VM} ${MEM_ARGS} -Dweblogic.Name=${SERVER_NAME} -Djava.se
    curity.policy=${WL_HOME}/server/lib/weblogic.policy ${JAVA_OPTIONS} ${PROXY_SETTINGS} ${SERVER_CLASS}
    <FINEST> <NodeManager> <Waiting for the process to die: 19417>
    <INFO> <NodeManager> <Server failed so attempting to restart (restart count = 1)>
    <INFO> <NodeManager> <Starting WebLogic server with command line: /u01/oracle/admin/OIMDomain/mserver/OIMDomain/bin/startWebLogic.sh >
    <FINEST> <NodeManager> <Environment: TERM=xterm>
    <FINEST> <NodeManager> <Environment: JAVA_HOME=/u01/oracle/product/fmw/11.1.2/jdk1.6.0_30>
    Any Suggestions???
    Thanks

  • Adding a custom tab in Purchase Order with two fields - ME21N

    Hello Experts,
    My requirement is to add a custom tab with two fields in purchase order at header level.
    The BADI ME_PROCESS_PO_CUST is alreday implemented previously as there was one custom tab added previously in header.
    The structure  CI_EKKODB already have the custom fields for the enhancement done earlier.
    Now to add my additional tab how should i proceed ....should i put my additional fields in the same structure and write my code in same BADI.....will there be any impact on already done enhanecement.
    Please suggest in achieving this functionality.
    Thanks,
    Naveen

    Hi,
    Check this [wiki|http://wiki.sdn.sap.com/wiki/display/ABAP/DetailedexplanationaboutBADIandthewaystofindtheBADIwithanexample%28ME23n+transaction%29], it tells you how to do with an example for item data.
    Regards,
    Eduardo

  • ESS Travel Management - Link ITEM TEXT with DESCRIPTION field

    Hi guys!
    We are using the travel management in ess.
    If I create a trip and use for example the travel expense type flight or hotel and
    write a description for each type, I want, that this description is display in the ITEM TEXT in tc FB03.
    But the ITEM TEXT displayed always for example *Trip from 09.06.2008 to 12.06.2008
    for each position. In the IMG I found nothing to modify this text field.
    Where can I customize this field?
    It is possible to link the ITEM TEXT with description field in ESS.
    Thanks,
    Dirk Sorgatz

    Hello Dirk,
    You can use the method ex_sgtxt of Badi TRIP_POST_FI to manipulate the transferred segment text!                                            
    Regards,
    Raynard

  • Need to pass custom metadata with Managed Attachment in EBS

    Hi All,
    I have enabled Managed attachment in EBS.
    I also want to pass few custom metadata along with managed attachment.
    I have followed the section  "6.5 Configuring Managed Attachments Settings"
    from the Application Adapter's guide at http://docs.oracle.com/cd/E23943_01/doc.1111/e17953/c06_confg_attchmts.htm#BABIEIDF
    but still i dont see the custom metadata in the Managed attachment checkin screen.
    thanks,
    swapnil

    Hi Swapnil ,
    You will need to apply the following patch :
    Patch 13943045
    Read me file has all the steps required in addition to the patch to get Custom Parameters sent with EBS request , please check it and complete the steps .
    Once done , check to see if OAF is able to send the parameters .
    If not , then check the request / response files from EBS to get more details .
    Thanks,
    Srinath

  • Problem in delta management for custom fields added in standard Table

    Hi developers,
    we have a problem, when a sales order is modified in a field custom, added in tables (VBAP-VBAK), the delta BW doesn't recognize the modifications. The data type of these fields haven't the flag (Change document) setted in
    view Definition.
    If this flag is setted, Can the delta BW recognize the modifications of the custom fields?
    Best regards
    Domenico

    You cannot get delta by just appending fields to extract structure & writing the user exit coding as this user exit code is run by the extractor after the X- and Y- tables are compared to create the before & after images.
    You have to do this procedure by enhancing  LIS comm structures like MCVBAP (for example).
    Please refer to OSS note 576886 for complete details.
    Kumar Gudiseva.

  • Urgent help:Populate Manager field in AD process from

    Hi All,
    I have been trying to populate AD Manager field in process from. I have a custom pre pop adapter that fetches DN from the AD. The DN fetched has an escape character which i am removing it in custom code.
    The pre pop adapter populates Manager Name filed with a value similar to CN=userlastname, userfirstname,CN=Users,DC=dummy,DC=com.
    We have a requirement that the CN should be lastname, firstnamame. I will not be able to use the escape characters while provisioning. Any suggestions as how to implement this would be of great help.
    Also when i try to provision with DN=CN=userlastname userfirstname,CN=Users,DC=dummy,DC=com i get the following error message.
    <Sep 14, 2011 5:40:34 AM PDT> <Error> <OIMCP.ADCS> <BEA-000000> <================= End Stack Trace =======================>
    <Sep 14, 2011 5:40:34 AM PDT> <Error> <OIMCP.ADCS> <BEA-000000> <====================================================>
    <Sep 14, 2011 5:40:34 AM PDT> <Error> <OIMCP.ADCS> <BEA-000000> <com.thortech.xl.integration.ActiveDirectory.tcUtilADTasks : createUser : Attribute Mapping Error encountered
    Error in attribute conversion operation:[LDAP: error code 19 - 000020B5: AtrErr: DSID-03152395, #1:
            0: 000020B5: DSID-03152395, problem 1005 (CONSTRAINT_ATT_TYPE), data 0, Att 15000a (manager)
    ]>
    <Sep 14, 2011 5:40:34 AM PDT> <Error> <OIMCP.ADCS> <BEA-000000> <====================================================
    >
    <Sep 14, 2011 5:40:34 AM PDT> <Error> <OIMCP.ADCS> <BEA-000000> <================= Start Stack Trace =======================>
    <Sep 14, 2011 5:40:34 AM PDT> <Error> <OIMCP.ADCS> <BEA-000000> <com.thortech.xl.integration.ActiveDirectory.tcUtilADTasks : createUser>
    <Sep 14, 2011 5:40:34 AM PDT> <Error> <OIMCP.ADCS> <BEA-000000> <Error in attribute conversion operation:[LDAP: error code 19 - 000020B5: AtrErr: DSID-03152395, #1:
            0: 000020B5: DSID-03152395, problem 1005 (CONSTRAINT_ATT_TYPE), data 0, Att 15000a (manager)
    ]>
    <Sep 14, 2011 5:40:34 AM PDT> <Error> <OIMCP.ADCS> <BEA-000000> <Description : Error in attribute conversion operation:[LDAP: error code 19 - 000020B5: AtrErr: DSID-03152395, #1:
            0: 000020B5: DSID-03152395, problem 1005 (CONSTRAINT_ATT_TYPE), data 0, Att 15000a (manager)
    ]>
    <Sep 14, 2011 5:40:34 AM PDT> <Error> <OIMCP.ADCS> <BEA-000000> <com.thortech.xl.exception.InvalidDataException: Error in attribute conversion operation:[LDAP: error code 19 - 000020B5: AtrErr: DSID-03152395, #1:
            0: 000020B5: DSID-03152395, problem 1005 (CONSTRAINT_ATT_TYPE), data 0, Att 15000a (manager)
    at com.thortech.xl.integration.ActiveDirectory.tcADUtilLDAPController.createObject(Unknown Source)
    at com.thortech.xl.integration.ActiveDirectory.tcUtilADTasks.createUser(Unknown Source)
    at com.thortech.xl.integration.ActiveDirectory.tcUtilADTasks.createADorADAMUser(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpADCSCREATEUSER.CREATEUSER(adpADCSCREATEUSER.java:163)
    at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpADCSCREATEUSER.implementation(adpADCSCREATEUSER.java:61)
    at com.thortech.xl.client.events.tcBaseEvent.run(tcBaseEvent.java:196)
    at com.thortech.xl.dataobj.tcDataObj.runEvent(tcDataObj.java:2492)
    at com.thortech.xl.dataobj.tcScheduleItem.runMilestoneEvent(tcScheduleItem.java:2936)
    at com.thortech.xl.dataobj.tcScheduleItem.eventPostInsert(tcScheduleItem.java:554)
    at com.thortech.xl.dataobj.tcDataObj.insert(tcDataObj.java:602)
    at com.thortech.xl.dataobj.tcDataObj.save(tcDataObj.java:474)
    at com.thortech.xl.dataobj.tcORC.insertNonConditionalMilestones(tcORC.java:850)
    at com.thortech.xl.dataobj.tcORC.completeSystemValidationMilestone(tcORC.java:1163)
    at com.thortech.xl.dataobj.tcOrderItemInfo.completeCarrierBaseMilestone(tcOrderItemInfo.java:508)
    at com.thortech.xl.dataobj.tcOrderItemInfo.eventPostInsert(tcOrderItemInfo.java:153)
    at com.thortech.xl.dataobj.tcUDProcess.eventPostInsert(tcUDProcess.java:192)
    at com.thortech.xl.dataobj.tcDataObj.insert(tcDataObj.java:602)
    at com.thortech.xl.dataobj.tcDataObj.save(tcDataObj.java:474)
    at com.thortech.xl.dataobj.tcTableDataObj.save(tcTableDataObj.java:2905)
    at com.thortech.xl.ejb.beansimpl.tcFormInstanceOperationsBean.setProcessFormData(tcFormInstanceOperationsBean.java:682)
    at com.thortech.xl.ejb.beansimpl.tcFormInstanceOperationsBean.setProcessFormData(tcFormInstanceOperationsBean.java:397)
    at Thor.API.Operations.tcFormInstanceOperationsIntfEJB.setProcessFormDatax(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
    at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
    at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy338.setProcessFormDatax(Unknown Source)
    at Thor.API.Operations.tcFormInstanceOperationsIntfEJB_h6wb8n_tcFormInstanceOperationsIntfRemoteImpl.setProcessFormDatax(tcFormInstanceOperationsIntfEJB_h6wb8n_tcFormInstanceOperationsIntfRemoteImpl.java:353)
    Please help.

    Two ideas:
    First, are you using the latest AD Connector? If not you might look at the bugs fixed because there are a couple related to commas.
    Second, LDAP error 19 is coming from AD and is a constraint violation. You might check if there are any constraints on the AD field in the schema. You also have to make sure that the manager DN that you are trying to use is actually where you say it is before you can set it on a subordinate.
    Hope that helps.

  • Problems in transaction F871,with the field  docuemnt type:

    Hello,m
    I´m trying to create a Payment Request with transaction F871,and I have a problem with the field docuemnt type that is mandatory, when I try to open the match code there is no values, and a message is displayed as follows: " No document type assigned to request category 01 "

    Hello Olga,
    Thanks for your words in the other thread. In any case your english is perfect, it is not my mother language also so apologize my errors too
    Please check if you have done this customizing:
    SPRO -> Public Sector Management -> Funds Management Government -> Funds Management-Specific Postings -> Requests -> Request Types -> Assign Request Category to FI Document Type
    I hope it helps.
    Greetings from Brazil
    Vanessa.

  • Populate Manager Field on Recon

    Hi, the manager attribute in the user-search-profile of the console is empty after each recon using DBAT connector to a non-dba_users table (by the way, the DBUM connector to a dba_users table DOES populate the manager field using the scheduled jobs). I'd like to get that job working that populates the manager field working with the DBAT table (which is the majority of accounts).
    When searching the manager field, the available choices are either full name or userid.
    Which path should I take to modify the DBAT job to populate the manager field?

    If you have to search on the basis of some value of manager and if nothing is available directly, don't write this manager key population code in the Process Event Handlers.
    Because since Process Event Handlers will always be triggered and they will always try to obtain Manager Login from your Database, even for any other user attribute.
    Also, it would mean that for 10000s of user records, 10000s times individual user records will connect with the trusted database for picking up their individual managers... Then it defeats the Trusted Source recon purpose...
    Rather write one separate custom scheduler which will be executed after say 30 minutes... It will Create database connection with your trusted database just once... So, in this way you are simply extending the OOTB Trusted Recon functionality... If you had the source code for OOTB database trusted recon, you would have embedded the logic to figure out the manager login for the user then and there itself... Since you don't have source code, you should let the OOTB recon do its default behavior. Don't use OOTB for manager, just populate USR_UDF_CUSTOM_MANAGER_SOME_VALUE attribute...
    And on day 0 Trusted recon when the volume will be a lot, after all recon events are properly linked, then execute your second custom scheduler for populating manager and also some other things which your OOTB doesn't provide for in a straight forward way... Don't use Event Handlers for handling this functionality... Use Event Handlers only if there is a way to figure out the manager login within OIM Database... And yes, in that case writing custom scheduler will be an overkill... At the same time if for figuring out manager is not straight-forward and you have to hit the Trusted Database on an individual basis, use custom scheduler which will be able to process 10000s records in one go... Take into consideration all points before making your design...

  • Sharepoint 2013 - Active Directory Import User Profile Property manager fields

    Hi there,
    I juste encountered actually a little issue regarding the Active Directory Import User Profil.
    Importation seems to work well but I have a little problem regarding the Manager field.
    When I verify a user profil through the sharepoint admin page ("Manage user profil") , I can see the manager field is correctly populated, but if I want to check my profil as a user (personal information), the manager field is not visible.
    With Sharepoint Admin and Manage Profil Properties, I haven't the possibility to modify some settings for the manager.
    For example, Policy parameters is greyed.
    The only way I found to show this field in a user profil is to give the permission "allow users to Edit values ...".... setting I don't want to set.
    Have you already this sort of issue ?
    Thanks for your help/idea.

    Hi Michael,
    I don't remember well what I did exactly regarding this issue because I played a lot with user profil.
    I know I used this powershell script from Sheyia which in fact help me a lot to clean and create a good profil setting.
    http://blogs.technet.com/b/sheyia/archive/2013/10/09/sharepoint-2013-another-way-to-change-order-for-user-profile-properties-via-powershell.aspx
    For example, this script help me to resolve some double entries.
    Let-me know if it help you (or not of course)

  • Create a Procedural ALV Report with editable fields and save the changes

    Hi,
    I am new to ABAP. I have created a Procedural ALV Report with 3 fields. I want to make 2 fields editable. When executed, if the fields are modified, I want to save the changes. All this I want to do without using OO concepts. Please help . Also, I checked out the forum and also the examples
    BCALV_TEST_GRID_EDIT_01
    BCALV_TEST_GRID_EDIT_02
    BCALV_TEST_GRID_EDIT_04_FORMS
    BCALV_TEST_GRID_EDITABLE
    BCALV_EDIT_01
    BCALV_EDIT_02
    BCALV_EDIT_03
    BCALV_EDIT_04
    BCALV_EDIT_05
    BCALV_EDIT_06
    BCALV_EDIT_07
    BCALV_EDIT_08
    BCALV_FULLSCREEN_GRID_EDIT
    But all these are using OO Concepts.
    Please help.
    Regards,
    Smruthi

    TABLES:     ekko.
    TYPE-POOLS: slis.                                 "ALV Declarations
    *Data Declaration
    TYPES: BEGIN OF t_ekko,
      ebeln TYPE ekpo-ebeln,
      ebelp TYPE ekpo-ebelp,
      statu TYPE ekpo-statu,
      aedat TYPE ekpo-aedat,
      matnr TYPE ekpo-matnr,
      menge TYPE ekpo-menge,
      meins TYPE ekpo-meins,
      netpr TYPE ekpo-netpr,
      peinh TYPE ekpo-peinh,
      line_color(4) TYPE c,     "Used to store row color attributes
    END OF t_ekko.
    DATA: it_ekko TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
          wa_ekko TYPE t_ekko.
    *ALV data declarations
    DATA: fieldcatalog TYPE slis_t_fieldcat_alv WITH HEADER LINE,
          gd_tab_group TYPE slis_t_sp_group_alv,
          gd_layout    TYPE slis_layout_alv,
          gd_repid     LIKE sy-repid.
    START-OF-SELECTION.
      PERFORM data_retrieval.
      PERFORM build_fieldcatalog.
      PERFORM build_layout.
      PERFORM display_alv_report.
    *&      Form  BUILD_FIELDCATALOG
          Build Fieldcatalog for ALV Report
    FORM build_fieldcatalog.
      fieldcatalog-fieldname   = 'EBELN'.
      fieldcatalog-seltext_m   = 'Purchase Order'.
      fieldcatalog-col_pos     = 0.
      fieldcatalog-outputlen   = 10.
      fieldcatalog-emphasize   = 'X'.
      fieldcatalog-key         = 'X'.
    fieldcatalog-do_sum      = 'X'.
    fieldcatalog-no_zero     = 'X'.
      APPEND fieldcatalog TO fieldcatalog.
      CLEAR  fieldcatalog.
      fieldcatalog-fieldname   = 'EBELP'.
      fieldcatalog-seltext_m   = 'PO Item'.
      fieldcatalog-col_pos     = 1.
      APPEND fieldcatalog TO fieldcatalog.
      CLEAR  fieldcatalog.
      fieldcatalog-fieldname   = 'STATU'.
      fieldcatalog-seltext_m   = 'Status'.
      fieldcatalog-col_pos     = 2.
      APPEND fieldcatalog TO fieldcatalog.
      CLEAR  fieldcatalog.
      fieldcatalog-fieldname   = 'AEDAT'.
      fieldcatalog-seltext_m   = 'Item change date'.
      fieldcatalog-col_pos     = 3.
      APPEND fieldcatalog TO fieldcatalog.
      CLEAR  fieldcatalog.
      fieldcatalog-fieldname   = 'MATNR'.
      fieldcatalog-seltext_m   = 'Material Number'.
      fieldcatalog-col_pos     = 4.
      APPEND fieldcatalog TO fieldcatalog.
      CLEAR  fieldcatalog.
      fieldcatalog-fieldname   = 'MENGE'.
      fieldcatalog-seltext_m   = 'PO quantity'.
    fieldcatalog-edit             = 'X'
      fieldcatalog-col_pos     = 5.
      APPEND fieldcatalog TO fieldcatalog.
      CLEAR  fieldcatalog.
      fieldcatalog-fieldname   = 'MEINS'.
      fieldcatalog-seltext_m   = 'Order Unit'.
      fieldcatalog-col_pos     = 6.
      APPEND fieldcatalog TO fieldcatalog.
      CLEAR  fieldcatalog.
      fieldcatalog-fieldname   = 'NETPR'.
      fieldcatalog-seltext_m   = 'Net Price'.
      fieldcatalog-col_pos     = 7.
      fieldcatalog-outputlen   = 15.
      fieldcatalog-datatype     = 'CURR'.
      APPEND fieldcatalog TO fieldcatalog.
      CLEAR  fieldcatalog.
      fieldcatalog-fieldname   = 'PEINH'.
      fieldcatalog-seltext_m   = 'Price Unit'.
      fieldcatalog-col_pos     = 8.
      APPEND fieldcatalog TO fieldcatalog.
      CLEAR  fieldcatalog.
    ENDFORM.                    " BUILD_FIELDCATALOG
    *&      Form  BUILD_LAYOUT
          Build layout for ALV grid report
    FORM build_layout.
      gd_layout-no_input          = 'X'.
      gd_layout-colwidth_optimize = 'X'.
      gd_layout-totals_text       = 'Totals'(201).
      gd_layout-info_fieldname =      'LINE_COLOR'.
    ENDFORM.                    " BUILD_LAYOUT
    *&      Form  DISPLAY_ALV_REPORT
          Display report using ALV grid
    FORM display_alv_report.
      gd_repid = sy-repid.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
           EXPORTING
                i_callback_program      = gd_repid
                i_callback_pf_status_set = 'STATUS'
                i_callback_top_of_page   = 'TOP-OF-PAGE'
               i_callback_user_command = 'USER_COMMAND'
               i_grid_title           = outtext
                is_layout               = gd_layout
                it_fieldcat             = fieldcatalog[]
               it_special_groups       = gd_tabgroup
               IT_EVENTS                = GT_XEVENTS
                i_save                  = 'X'
               is_variant              = z_template
           TABLES
                t_outtab                = it_ekko
           EXCEPTIONS
                program_error           = 1
                OTHERS                  = 2.
    ENDFORM.                    " DISPLAY_ALV_REPORT
    *&      Form  DATA_RETRIEVAL
          Retrieve data form EKPO table and populate itab it_ekko
    FORM data_retrieval.
      DATA: ld_color(1) TYPE c.
      SELECT ebeln ebelp statu aedat matnr menge meins netpr peinh
       UP TO 10 ROWS
        FROM ekpo
        INTO TABLE it_ekko.
      LOOP AT it_ekko INTO wa_ekko.
        ld_color = ld_color + 1.
        IF ld_color = 8.
          ld_color = 1.
        ENDIF.
        CONCATENATE 'C' ld_color '10' INTO wa_ekko-line_color.
        MODIFY it_ekko FROM wa_ekko.
      ENDLOOP.
    ENDFORM.                    " DATA_RETRIEVAL
          FORM top-of-page                                              *
    FORM top-of-page.
      WRITE:/ 'This is First Line of the Page'.
    ENDFORM.
          FORM status                                                   *
    FORM status USING rt_extab TYPE slis_t_extab.  .
      SET PF-STATUS 'ALV'.
    ENDFORM.
          FORM USER_COMMAND                                          *
    -->  RF_UCOMM                                                      *
    -->  RS                                                            *
    FORM user_command USING rf_ucomm LIKE sy-ucomm
                             rs TYPE slis_selfield.            
      DATA ref1 TYPE REF TO cl_gui_alv_grid.
      CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
        IMPORTING
          e_grid = ref1.
      CALL METHOD ref1->check_changed_data.
      CASE rf_ucomm.
    when 'SAVE'.
    get all the modified entries and store them in an internal table and udpate them in to the required transaction or your custom table.
    endcase.
    endform.
    ENDFORM.
    here u need to 2 performs for PF status and USER_COMMAND in the ALV parameters.
    create a custom PF status and create push buttons and assign your ok codes in your PF status.
    if the field has to be edited in the ALV then pass EDIT = 'X' for that field in the fieldcatlog preparation.
    Hope this will help you.
    Regards,
    phani.

  • Unable to remove manager field in AD through OIM 9.1

    Hi,
    I am trying to remove the manager of a user in the AD Profile without changing the Manager ID in the OIM Profile. I am getting the below error when I try to modify the attribute manager by replacing it with a null string.
    LDAP: error code 21 - 00000057: LdapErr: DSID-OC090B8A, comment: Error in attribute conversion operation, data 0, v1db1)
    I am getting the same error even if I am trying to change the manager field in AD without changing the manager field in OIM.
    I am trying with the below code;
    BasicAttributes at = new BasicAttributes();
    at.put("manager","");
    context.modifyAttribute(UserDN,2,at);
    What could possibly be the reason for this error? Please help guys.
    Edited by: User_OIM on Dec 27, 2012 7:06 PM

    Check if below works for you
    +// Specify the changes to make+
    ModificationItem[] mods = new ModificationItem[1];
    +// Remove the "manager" attribute+
    mods[2] = new ModificationItem(DirContext.REMOVE_ATTRIBUTE,
    new BasicAttribute("manager"));
    +// Perform the requested modifications on the named object+
    context.modifyAttributes(UserDN, mods);

  • I just want to share my experience or rather terrible experience with apple service.....I am soooo disappointed with the apple customer service at the local store in Tampa......every time they give u an appointment and make people wait for hours......ther

    I am soooo disappointed with the apple customer service at the local store in Tampa......every time they give u an appointment and make people wait for hours......there was some cosmetic problems with the screen of my Mac book pro....they replaced it but the computer would not turn on....and btw when I went to pick up my computer the representative handover my computer to another guy without checking his id who was there to pick up his phone.......then I had to take it back second time this time they messed up my iWork...I took it back but they couldn't retrieve my history of purchase of iWork...and then when I installed the iWork at home...none of the applications is working.... .I will have to take is back fourth time.....I loved apple products but may be not anymore.......

    Other than what Shotist007's remarks (which solves nothing) your experience is not common. First I would speak to the store manager to get things rectified for you. If that doesn't work out then I would contact AppleCare and speak to a customer service representative and complain via that venue.

Maybe you are looking for

  • Please Help!! Lists and libraries suddenly blocked just before migrating from SharePoint 2007 to 2010

    Hi all, I took several weeks preparing the migration of a large farm from SharePoint 2007 to 2010 using the system of restore databases and mount site collections. I've built the new farm and I have done several full migration tests to verify that al

  • HT5409 why can't I play an MPEG4 movie on my mac

    Why can't I play a movie shared from my MacBookPro as an MPEG4 on my MacBook Air or my main Mac computer?

  • Itunes screen is pink

    I just upgraded to the itunes 8.0 & my window is pink & purple. My husband has the same on his computer & his window is the normal white & gray. My OS is windows Vista. How do I get my screen to go back to the normal color? The pink is driving me cra

  • Synchronizing new apps to iphone?

    Hi there, I've got a problem with new apps that I bought in Itunes on my home computer. I have checked the "synchronize new apps automatically"button in the apps synchronizing tab. New apps are automatically unchecked in the apps list on the left and

  • How can i connect more  than one database

    i would like to connect more than one database one my laptop now i have database one and sid=ddms and i would another such as sid=ddmf how can i connect two database on the same my laptop