Need RFCs to call to update Position attributes....

Hi,
   We have a custom ISR scenarios installed. We're trying to take these 3 changes
1) Update title of an Unoccupied  Position
2) Update cost center of an Unoccupied Postion
3) Make an Unoccupied Position Vacant
We're trying to identify RFCs we can call from the ESS JAva Webdynpro ISR application when the user submits these 3 changes from the web.
Currently they work using the standard ISR process, 1 up approval, shared services executed the transaction in their inbox,
Can anyone please help me with some standard RFC's I would use for these changes...
Ideally the RFC would get the data for the position infotype 1000 from teh system for the id passed in, change the 1 field title and then call the standard RFC to update the infotype for position,
Thanks,
Venkatesh

Dear Darshan,
               i have seen some updates in this forum , so i would request you to please
help on the RFC,
I have custom infotype 9004 with the fullowing custom fields ZNOTENROLED,ZEMPLOYEE1,zEMPLSPCHLD1,ZEMPCHLOTH through PM01  
and now we want this custom infotype fields has to be shown on the
portal, for that i have written a RFC ,
however iam not able to get correct picture they portal team has asked me to create remote enabled function module.
i have created the function module.
he qustion is i have already created the strucutre through infotype creation(PM01)
the following fields ZNOTENROLED,ZEMPLOYEE1,zEMPLSPCHLD1,ZEMPCHLOTH. for my structure (P9004).
so as per you i have created one more structure with 5 fields ZNOTENROLED,ZEMPLOYEE1,zEMPLSPCHLD1,ZEMPCHLOTH.
so could you please let me know the code which i written in RFC should be enough to populate in portal or could you please give me sample  code in this regard .
this is the code i have written in the RFC.
import parameters:
EMPLOYEENUMBER     LIKE     P9004-PERNR                         
BEGINDATE     LIKE     P9004-BEGDA     '18000101'
ENDDATE                     LIKE     P9004-ENDDA     '99991231'
NOTENROLEDINSUR     LIKE     P9004-ZNOTENROLED     ' '
EMPLOYEEINSUR     LIKE     P9004-ZEMPLOYEE1     ' '
EMPLSPOUINSUR     LIKE     P9004-ZEMPLSPCHLD1     ' '
EMPLCHILD1INSUR     LIKE     P9004-ZEMPCHLD1     ' '
EMPLCHILDOINSUR     LIKE     P9004-ZEMPCHLOTH     ' '
Export Parameters:
RETURN     LIKE     BAPIRETURN1
RESULTTAB     LIKE     ZINSUR_MED
in zinsur_med custom table i have following fields ZNOTENROLED,ZEMPLOYEE1,zEMPLSPCHLD1,ZEMPCHLOTH.
Source code is as follows :
call function 'BAPI_EMPLOYEE_ENQUEUE'
    exporting
      number = employeenumber.
  call function 'HR_INFOTYPE_OPERATION'
       exporting
            infty          = '9004'
            number         = employeenumber
           subtype        = subtype
           objectid       = objectid
           lockindicator  = lockindicator
            validityend    = enddate
            validitybegin  = begindate
           recordnumber   = recordnumber
            record         = p9004
            operation      = 'INS'  "change
            nocommit       = ' '       " nocommit
       importing
            return         = return
       exceptions
            others         = 0.
*deque
  call function 'BAPI_EMPLOYEE_DEQUEUE'
    exporting
      number = employeenumber.
Now how to export the data into the export parameter RESULTTAB.
Regards
syamla

Similar Messages

  • Need RFC/BAPI to Create Requisition,Position, Hiring an Employee

    Hi,
    I need RFC/BAPI to Create Requisition,Position,Hiring an Employee.
    Regards,
    R.Ragu

    Hi,
    For creation of a Posiotn you can use FM 'RH_OBJECT_CREATE'.

  • UpdateRow of EO is not calling while updating VO Attribute fields of table

    I have one seeded VO and EO which is attached with one seeded Region. When i change any display field in region updateRow of EO calls and update row in database.
    I have added one messageTextInout through personalization and used one attribute field as a View Attribute and View Instance Same as above.
    But when i apply it does not call updateRow and does not update my data in table.
    updateRow is having one API call which update data. I have extended this EO to call my API to store this attribute in table through extended updateRow Method.
    Please help.
    Thanks in advance

    have you created substitution for the EO?
    also check whether you have configured -Djbo.project=<project name> in the project settings.
    --Prasanna                                                                                                                                                                                                                                                                                                               

  • Making LDAP calls to update Active directory attributes

    Hi,
    I see a lot of postings about authenticating using LDAP, Ibut I am trying to make LDAP calls to update Active directory attributes
    How can I do this from my BPEL process ? My input xml file will have a list of users whose attributes need to be updated.
    I need to query by making LDAP calls and update as needed.
    I am a novice to a step by step guidance will be very helpful.
    Thanks much!

    This is really an AD question. Basically the easist way is to expose a web service to do this then BPEL calls that web service. I think later versions of AD do this out of the box.
    Otherwise there are many examples on Google using differnt technology.
    cheers
    James

  • I need to have COMMit WORK with in a FM, which is calling in UPDATE task

    Hello
    I am sending out the custom IDOC from SAP to partner application by writing a custom my_OB_IDOC_FM, well.
    With in this my_OB_IDOC_FM, for some functionality, i am using a standard SAP FM and I need to use a COMMIT WORK immediately after this standard SAP FM call.
    But, all my IDOC is calling in update task, so once am triggering IDOC (inturn my_OB_IDOC_FM is calling in UPDATE task) am getting dump because of that inside used COMIT WORK statement!
    So, pls. let me know how can replace this COMMIT WORK  or hoe can i fix my issue? can i do like CALL FUNCTION standard_SAP_FM in background task/seperate task? so that i can use COMMIT WORK?
    Thank you

    I've dealt with something similar before.
    You could make a new z-program and run in a background job... like this:
    * create the job
    CALL FUNCTION 'JOB_OPEN'
          EXPORTING
              JOBNAME          = mv_JOBNAME
          IMPORTING
              JOBCOUNT         = mv_JOBCOUNT
          EXCEPTIONS
              CANT_CREATE_JOB  = 1
              INVALID_JOB_DATA = 2
              JOBNAME_MISSING  = 3
              OTHERS           = 4.
    * submit the program to the job
        SUBMIT ZPROGRAM
          WITH i_ebeln in mr_ebeln
          WITH updall = 'X'
          WITH wq_simul = ''
          TO SAP-SPOOL
            DESTINATION sv_output_device
            IMMEDIATELY ''
            KEEP IN SPOOL 'X'
            WITHOUT SPOOL DYNPRO
          USER sy-uname
          VIA JOB mv_jobname NUMBER mv_jobcount
          AND RETURN.
    * submit the job
    CALL FUNCTION 'JOB_CLOSE'
        EXPORTING
            JOBCOUNT             = mv_JOBCOUNT
            JOBNAME              = mv_JOBNAME
            STRTIMMED            = 'X'
        EXCEPTIONS
            CANT_START_IMMEDIATE = 1
            INVALID_STARTDATE    = 2
            JOBNAME_MISSING      = 3
            JOB_CLOSE_FAILED     = 4
            JOB_NOSTEPS          = 5
            JOB_NOTEX            = 6
            LOCK_FAILED          = 7
            OTHERS               = 8.

  • Update Marketing attributes in Interactive Scripting

    Hi All,
    I would like to know if anyone knows how to :
    1. Display multi value fields in Interactive Scripting 5.2
        In standard IS editor, there is a dynamic answer "Marketing Attribute 5.1". We need to create new ones. What it the process ?
    2. Update Marketing Attributes (or any other multi value fields) in IS. In addition to that, IS Editor in 5.2 don't have "ABAP Call" and "RFC ABAP Call" type actions in the  repository, where 4.0 comes with these types. I would like to make a RFC call to R/3 from IS, and display the returned value in the IS.
    Thank you,
    Vadim Boriskevich.

    Hello Mike,
    Yes, You have to clearly define what type of marketing attribute it is. i mean whether person or organization.
    It is not possible to use marketing attributes which are valid for persons AND organizations for survey.
    For eg.   If the marketing attribute is of type person(you can see this in the trx Crmd_prof_templ) and the BP is of type Organisation then it wont work for you.
    In this case either change the attributes to Organization type ,reattach them in the survey suite and then try.
    If you  have attribute of person type then the BP should be of the same type.Actually in the code there is a string which matches from both the sides.So in case of any mismatch the updation would not be there.
    Hope this answers your question.
    Thanks
    Raja  Pamireddy
    CRM Marketing forum Moderator

  • Calling another FM, in the FM which is called in Update task

    Hi Experts,
    I have created the implicit  enhancement in the Function module say 'X' .
    This 'X' FM is called in  Update Task.
    Now i am calling another FM say 'Y' in this 'X' FM.
    The FM 'Y' has got its own commit statement.It is updating some tables.
    Here are my findings,
    When i commented the explicit 'commit and wait' from the 'Y' Fm , the data that i needed to be saved was being saved and updated successfully.
    However , when i added an extra parameter say 'No Commit' in the 'Y' FM to by pass the explicit 'commit and wait'  ,  the FM 'Y' itself is not getting called for strange reasons.
    The update gets interrupted.
    Please suggest why this FM is not getting called.
    Any thing that i may be missing.
    Regards,
    Abhishek Kokate

    Hope you have called the FM correctly with the additional importing parameter , also check if your FM is RFC enabled then check the "pass by value" option.

  • Update AD Attribute directly from OIM

    Hello,
    I just want to change one attibute in AD from a process task in OIM.
    This process task is using an adapter that calls a Java method. In that method i'm initializing a com.thortech.xl.integration.ActiveDirectory.tcUtilADTasks instance and then calling its setUserAttributes(objectGUI,hastable) method. However no changes are reflected in AD..
    I guess i'm not taking the right approach so I'd appreciate ur help.
    Thanks.

    Thank you.
    That's the way to provinsion a field from AD User Form to AD. What I need is to write a Java code to update an attribute directly in AD to the desired value. Some thing like this:
    Pseudocode: UpdateValue(ObjectGUI,pInstance,attribute,newvalue)
    I guess I have to use methods from tcUtilADTasks in com.thortech.xl.integration.ActiveDirectory package, however I've tried several times without success...
    Any suggestion?

  • How to update xml attributes as multiple rows

    I am new to this technology, but i need to show the result
    in xml document i have to update these attributes get from Databse utility class.
    <equipment object="" manufacturer="" part_number="" type="" model="" items="" accessories="">
    <equipment object="" manufacturer="" part_number="" type="" model="" items="" accessories="">By using XSLT Doucment i have to show this in table format multiple rows of data.
    I'll be happy if anyone tell me the example.

    Now the changed data must be exported back into the XML file, meaning that the content of certain elements must be updated. How can this be done with XSLT?
    XSLT approach:  check these online tutorial
    http://www.xml.com/pub/a/2000/08/02/xslt/index.html
    http://www.xml.com/pub/a/2000/06/07/transforming/index.html
    ABAP approach:
    for example you have the xml (original) in a string called say xml_out .
    data: l_xml  type ref to cl_xml_document ,
            node type ref to if_ixml_node  .
    create object l_xml.
    call method l_xml->parse_string
      exporting
        stream = xml_out.
    node = l_xml->find_node(
        name   = 'IDENTITY'
       ROOT   = ROOT
    l_xml->set_attribute(
        name    = 'Name'
        value   = 'Charles'
        node    = node
    (the above example reads the element IDENTITY and sets attribute name/value to the same)
    like wise you can add new elements starting from IDENTITY using various methods available in class CL_XML_DOCUMENT
    so how do I access the XML file in order to update it?
    you have already read this XML into a ABAP variable right?
    Sorry couldnt understand your whole process, why do you need to read local XML file?
    Raja

  • Update an attribute's Min. & Max. Attribute value after opening date

    Hi
    We have created an attribute 'projected price' on a bid invitation. The minimum and maximum attribute values will only be known after all bids have been submitted. So we need to populate the minimum and maximum attribute values after the opening date before running the evaluation report. Any assistance on how we could do this will be appreciatted.
    Regards

    I've managed to solve this by doing the following.
    <b>1) Get the items on the Bid Invitation</b>
    CALL FUNCTION 'BBP_PROCDOC_GETDETAIL'
    EXPORTING
       I_GUID                        = ip_guid
       I_OBJECT_TYPE                 = 'BUS2200'
    IMPORTING
       E_HEADER                      = ls_header
       ET_ATTACH                     = lt_attach
       ET_CONDITIONS                 = lt_conditions
       ET_DYN_ATTR                   = lt_dyn_attr
    TABLES
       E_ITEM                        = rt_items.
    <b>2) Get all the weightings for these items.</b>
      CALL FUNCTION 'BBP_PDWGT_GETDETAIL'
        EXPORTING
          i_p_guid            = ip_guid
          i_p_kind            = 'B'
          i_object_type       = 'BUS2200001'
        tables
          e_weight            = rt_weights.
    <b>3) Then updated the specific attributes values.</b>
      DATA: lt_x_weight TYPE bbpt_pds_weight_ic,
            ls_weight TYPE bbp_pds_weight_ic,
            lt_y_weight TYPE bbpt_pds_weight_ic.
      CLEAR ls_weight.
      SELECT SINGLE * INTO CORRESPONDING FIELDS OF ls_weight
        FROM bbp_pdwgt WHERE guid = ip_guid.
      IF sy-subrc NE 0.
        EXIT.
      ENDIF.
      APPEND ls_weight TO lt_y_weight.
      ls_weight-value_amount1 = ip_min.
      ls_weight-value_amount2 = ip_max.
      ls_weight-kz            = 'U'.
      APPEND ls_weight TO lt_x_weight.
      CALL FUNCTION 'BBP_PDWGT_DB_UPDATE'
        TABLES
          i_x_weight = lt_x_weight
          i_y_weight = lt_y_weight.
      IF sy-subrc EQ 0.
        COMMIT WORK.
      ENDIF.
    Regards

  • How to cause them to associate my Case Number 185689167 with the real phone number I need to be called at:

    I purchased a one year subscription to Acrobat Pro, and after installation on my MacBook, in the LaunchPad (aside from the normal Adobe Acrobat Pro, Acrobat Distiller, and Forms Central for Acrobat) a folder containing two icons.  The first was (I forgot the name) and the second entitled AAMLauncherUtil.  Shortly after installation I ran the AAMLauncher Util, and it downloaded and "updated" Acrobat Pro and installed Creative Cloud.  I was told by some person in Tech Support that I didn't need these two additional icons in LaunchPad, and I could just drag them to the trash.
    The folder would not go in the Trash, so I dragged them out of the folder and then the one whose name I don't remember was able to go to the Trash, but not the AAMLauncherUtil icon.
    I called Tech Support again, and got a technician whose name I will withhold, but although he tried to solve the problem, basically he was clueless and I could hear him asking other people in the background what to do and they were giving him suggestions, mucking around my library and deleting anything that sounded like it was associated with AAMLaucher, and in the end all he succeeded in doing was making my Creative Cloud not work anymore and produce messages that it was corrupted and had to be removed and reinstalled.  Finally he gave up and said that he was referring my Case 185689167 to the next level higher of tech support, who would call me within 24 hours.  Of course they never did that so I called Apple Support and a representative there went way beyond what he needed to do and we were able to uninstall and reinstall Creative Cloud and make it work again, although the AAMLaucherUtil icon remains there.  Currently, it doesn't update anything like it did the first time I ran it, or act like it is trying to update anything, but it does open Creative Cloud if you have closed it. 
    Several days later (not the promised 24 hours) I got an email from my Voicemail Service with a  transcribed message from Adobe Tech Support saying that they had tried to call me... at the number listed in my subscription payment details... NOT at the number I had told them to call me at, and since I am 7000 miles away from my billing number I didn't get the call.  The message requested me to call them back.  I did so, and the message on the VRU said I would have to wait approximately 30 minutes. Two and one half hours later (not 30 minutes) someone answered who was not Second Level Tech Support, and reiterated that it was not possible to transfer me to them, and he would note that I had called back and they would call me within 24 hours.... yeah right.  By then after waiting all that time to speak to someone I was so mad that I forgot to mention the correct number to call me at... although I had mentioned it previously.  Several days later (not 24 hours) they called the wrong number again, and when I didn't answer it then sent me an email that they were considering the case solved and closing it, and I could reopen it within 14 days. 
    I then called back and this time waiting 3 hours on hold, and the person who I spoke with (whose name I withhold for now) said he would reopen the case and they would call me within 24 hours... again he couldn't transfer me to them.  Again I forgot to reiterate the correct phone number that I had told them the first time since I was so mad about waiting 3 hours on hold.
    The next day, I realized that I had not reiterated the correct phone number, and I went into my account settings and changed the phone number in both places it exists, and then tried calling back to make sure they would call the correct phone number.  This time I waited on hold for 4 hours, and finally gave up without ever being able to speak to a person.
    The next day... still no call even to the wrong number since my Voice Mail would have informed me it there was a call.... I called Sales since that seemed to be the only way to talk to a real person, and screamed at them about this issue and was informed they couldn't do anything about Tech Support, or about associating my phone number with my case number, but he would put me in the queue for tech support since nobody was in the queue so they should call me back right away. 
    I did get a call in a few minutes, which said "If Valued Customer is available, press 1" so I pressed 1 and it went to music.  I then waited for 15 minutes of music with no answer, after which I got an email from my Voicemail Service transcribing the message saying:
    "Reschedule this call back for a later time press three to cancel this call back press nine. Your response was not recognized. Please try again. When valued customer is on the line press one to speak to a support specialist. If you need time to get valued customer on the line press two. To reschedule this call back for a later time press three to cancel this call back press nine. Your response was not recognized. Please try again. When valued customer is on the line press one to speak to a support specialist. If you need time to get valued customer on the line press two. To reschedule this call back for a later time press three to cancel this call back press nine."
    ... more. Please listen to your voicemail for the remainder of this message.
    They can't recognize me pressing 1?????  So who know... I was listening to music but did that mean I was really ever going to reach a real person, or was the Voicemail message correct and I would be listening to music forever?
    So this morning I tried calling again only to receive message the the Tech Support Telephone Lines were down for scheduled maintenance until August 10th... I tried chatting... that is offline also.
    Is there a way to associate my actual phone number with my case number... maybe somebody from Adobe actually reads these diatribes?  I need to be called at or after 17:00 Pacific time.... I was told the hours are on Pacific Time.... although  one representative who I was trying to coordinate the timing of the call with was very confused about the time zones. He was trying to tell me that the current time was 09:00 Pacific Time, which I knew to be wrong, and he finally admitted, after I challenged him to look on www.timeanddate.com, that it was  09:00 in Bangalore, and Pacific time was 20:00.

    Thanks for your answer TSN!
    I did try Chat yesterday and it didn't work.... said unavailable.  I'll will try it again. 
    I do understand that this is a Community Forum, but it appears that some Adobe staff persons do read and respond to some messages, so since all other avenues of contact seem to not work, I thought I would try this just in case somebody from Adobe happened to read it and could do something.
    A secondary reason I posted the whole explanation is that I thought maybe somebody else had experienced this issue as well and might comment on it.
    As for it being a problem or not, maybe it is not.  Adobe did work when I installed it.  When I invoked that icon "AAMLauncherUtil" the first time, it updated Acrobat Pro and Installed Creative Cloud (which the original trial subscription had not installed).
    I then noticed that these two icons didn't seem to do anything useful.  The first time I called and was able to connect to support, the rather poor attitude person who answered just said to delete both icons in the folder... that they weren't needed.  When I found that one of them could be deleted and not the other one "AAMLauncherUtil" could not be deleted, and since the tech support person had suggested deleting them both, I called back.
    The next rather clueless person in tech support spent a lot of time trying to help get rid of it, but couldn't.  When he was mucking around in the "Library" he deleted everything named "AAMLauncherUtil" from the Library (but left some stuff I would have imagined could have been deleted like references to my previous trial subscription.
    After he got done, Creative Cloud no longer worked and he couldn't figure out how to fix it... we were getting messages the Creative Cloud was corrupted and needed to be uninstalled.  He said he was going to refer the problem to a  higher level tech support, and that he couldn't transfer me there... they would have to call me which would be in 24 hours.
    The next day (since the higher level tech support failed to call back) I called Apple Support, and they helped me find a Creative Cloud Uninstaller and we ran that and re-downloaded and installed Creative Cloud again.
    I would expect from the name "AAMLauncherUtil" that this icon would Launch Adobe Application Manager and perhaps try to update my product(s) like it did the first time, OR report that my software is up to date... as most other software update attempts would do.  However what it really does now when I invoke the "AAMLauncherUtil" icon is just to open Creative Cloud just as if I had clicked on the icon in the top menu bar of my Apple Menu Bar.  The Apple person suggested that MAYBE it is supposed to do that if you have shut down Creative Cloud for some reason, and want to start it up again without restarting the computer.  Maybe that is so, but if it is, then I would have expected that they would have renamed the icon to Creative Cloud or something more descriptive of what it is supposed to do.
    As is is now, I am not sure if it is a leftover remnant of my original updated installation that should have gone away when I updated and it installed Creative Cloud, or if everyone else running Adobe Acrobat Pro XI has this icon in their Launchpad as well and it is supposed to be there for some unknown reason to perform some unknown function.
    After all that happened, I did update Creative Cloud, but that was within Creative Cloud itself when it reported having an update available, and not using the "AAMLauncherUtil" icon at all, so that would appear to negate it's possible update functionality wouldn't it?
    Assuming you are using a Mac, do you have such an icon in LaunchPad?
    Thanks for your help!

  • How do i update the software on my ipod touch? i went to settings, then general, but theres no option called software updates.

    How do i update the software on my ipod touch? i went to settings, then general, but theres no option called software updates.

    You needing to be running iOS 5 or later in order to do a Software Update from the device.  To run iOS 5 you need a 3G or 4G iPod Touch.  So if you really have a 4G iPod Touch, connect it to iTunes and you should be prompted about an update to its version of iOS.
    See here for more information: iOS: How to update your iPhone, iPad, or iPod touch
    B-rock

  • Insufficient access error while updating AD attributes

    Please find the attachment, I have tried to update the lastLogon attribute to replicate in global catalog, then the error has occurred as follows. I have enterprise administrative power, then also not able to update the attribute, please help
    thanks in advance.

    I would agree with Martin. You simply need to be member of Schema Admins
    group. You can add that using dsa.msc.
    By the way, why are you trying to do that? Lastlogon attribute should not be replicated as it maintained locally on each DC. If you want to get the user exact last logon date and time then you can use my script here: https://gallery.technet.microsoft.com/scriptcenter/Get-Active-Directory-User-bbcdd771
    This posting is provided AS IS with no warranties or guarantees , and confers no rights.
    Ahmed MALEK
    My Website Link
    My Linkedin Profile
    My MVP Profile

  • User interface for updating/adding attributes in OID

    Hello,
    I have not done the develop work in OAS10g (web, oid, +) though I have years experiences as DBA in OAS and Oracle database servers.
    I need to develop a user interface for users to add or update the user's attributes such as sn, manager etc.
    The IDM system is working in prod: OAS 10g r2, installed (upgraded to) with infrastructure and oid 10.1.4.3.
    OID: user attributes have been loaded with: CN, UID, mail and etc.
    The requirement
    User interface: an app based Ohttp web 10g
    I'd like the interface works like:
    The user accessing the web interface, is prompted with UID and mail. if the user correctly fills the fields, then will be prompted with the attributes which user can add or update.
    Because I have Not done any development in OAS (web, oid), I need know what skills I need to aquire. ANd how should I proceed?
    I may know the skills would be Ohttp development and OID API (LDAP), but I need these be specific as much as possible.
    Can any point the direction with examples and docs?
    TIA
    GA

    ajaybabu007 wrote:
    For managing the user related activities (create,update,lock,unlock,delete and so on) through an Web UI interface can be administrated with the Oracle Identity Management Self Service Console (http://infra_host_name:7777/oiddas) which is an inbuild component of OID/OSSO. Please provide orcladmin/<password> credentials for accessing this Web UI.
    ---ABP thanks.
    1) the app for user to add/update the attributes. we cannot give orcladmin to them
    2) though the users as their own can access the oiddas, there are only limit of user info could be updated, which cannot serve the attributes we customized and loaded in OID.

  • Multiple call of update function module

    Hi Everybody,
    I have made implementation to the definition MB_DOCUMENT_BADI( material Document creation).
    While executing this BADI I am getting short dum with this error  Multiple call of update function module.
    Here is the short dump--
    In the FORM routine Buchen_Ausfuehren (program SAPMM07M), an error
    message was issued by a Business Add-In (BAdI) or function module.
    This is not permitted, because it could lead to data             
    inconsistencies. For this reason, the update of the material     
    document was also terminated with a termination message (dump).  
    Note that this message (M7 372) is not the responsible error     
    message.                                                         
    Please any body suggest the way forward.
    Regards,
    Sandeep.

    Hi Kiran,
    Thanks for the reply.
    I have created one implementation to the BADI MB_DOCUMENT_BADI. This badi will hit while creation of material document.I have write the code in method MB_DOCUMENT_BEFORE_UPDATE such that it will act only for certain movement types specially for t-codeMb1a and MB31.
    What problem I am facing i have used a error message "MB_DOCUMENT_BEFORE_UPDATE" in this method.If we got the erroe message then we dont need to post the material dcoument,but here problem is that if the material document could not posted then it corrupt the material and when we performing 261/101 we got error message like " Inconsistency between MM and ML for material and plant"
    I have used following things like-
    1-while updating the customized table using " Commit Work".
    2-Call function vb_change_batch for updating the batch and not in update task.
    3. Dequeue the table after updating the table.
    Will thos things can create any inconsistency to  the MM and ML.
    Please suggest me uor thoughts.
    Thanks
    sandeep.
    Thanks ,
    sandeep.

Maybe you are looking for