Modifying Field in vbap

Hi Experts,
i have to modify VBAP table field Business area(gsber) for creation of sales order(VA01) ,changinng of sales order(VA02) in which user exit i need to write the code..Plz help me on this. I tried in include MV45AFZZ userexit_save_document.but it is not working in case of va01.
Thanks in advance for your help.

Hi,
Have a look @FORM USEREXIT_MOVE_FIELD_TO_VBAP of MV45AFZZ.
I hope this helps,
Regards
Raju Chitale

Similar Messages

  • Free Good Qty as non modifiable field in the Sales Order Level

    Dear Friends,
    I have successfully done the config change for the Free Goods, But now i want make the free good line item qty as a non modifiable field in the Sales Order Level.
    How can i do this.. Please advice.
    Thank U,
    Uwanthi

    Hi
    This is a standard behaviour in the system
    kindly use the below program and user exitexit
    MV45AFZZ and use "Userexit_filed_modification"
    Regfards
    Damu

  • Extractor for the Fields of  VBAP

    HI Gurus,
    Which are the extractors contains fields from VBAP,vbak & marc
    Regards,
    Sus

    hi Susan,
    use http://help.sap.com, click 'search documentation',
    and choose option netweaver. type in VBAP e.g and search, you will get the datasource used
    http://help.sap.com/saphelp_nw2004s/helpdata/en/3c/7b88408bc0bb4de10000000a1550b0/frameset.htm
    2LIS_11_VAKON
    http://help.sap.com/saphelp_nw2004s/helpdata/en/ba/0b853c01c89d7ce10000000a11405a/frameset.htm
    2LIS_11_V_SCL
    and don't miss Roberto's excellent weblog
    /people/sap.user72/blog/2005/09/05/sap-bw-and-business-content-datasources-in-pursuit-of-the-origins
    hope this helps.

  • Problems modifiing field data

    I am having a problem using SetProperty to modify fields in a multipage pdf file.
    First i use xmpMeta.DumpObject ( DumpCallback, sLogFile );
    to dump the existing data to a terminal window.
    At first run this works fine and i get the existing value set in the Category field of the "Categories" Panel.
    Next i use xmpMeta.SetProperty ( kXMP_NS_Photoshop, "Category", "2" );
    to change the value of a field and then call xmpFile.PutXMP ( xmpMeta ); to save the file.
    When i open the file again in my test application the data is empty when doing the dump to the terminal window.
    If I open it in acrobat, however, the data is there. I am some how corrrupting the data when wrtiting it. Can anyone help quide me as to what I may be doing wrong?
    here is a sample of my code:
    static void EditProperties ( const char * fileName )
    bool ok;
    SXMPMeta xmpMeta;
    SXMPFiles xmpFile;
    XMP_FileFormat format;
    XMP_OptionBits openFlags, handlerFlags;
    XMP_PacketInfo xmpPacket;
    xmpFile.OpenFile ( fileName, kXMP_UnknownFile, kXMPFiles_OpenForUpdate );
    ok = xmpFile.GetFileInfo ( 0, &openFlags, &format, &handlerFlags );
    if ( ! ok ) return;
    ok = xmpFile.GetXMP ( &xmpMeta, 0, &xmpPacket );
    if ( ! ok ) return;
    // Remove extaneous properties to make the dump smaller.
    SXMPUtils::RemoveProperties ( &xmpMeta, "http://ns.adobe.com/camera-raw-settings/1.0/", 0, true );
    SXMPUtils::RemoveProperties ( &xmpMeta, "http://ns.adobe.com/tiff/1.0/", 0, true );
    SXMPUtils::RemoveProperties ( &xmpMeta, "http://ns.adobe.com/exif/1.0/", 0, true );
    SXMPUtils::RemoveProperties ( &xmpMeta, "http://ns.adobe.com/exif/1.0/aux/", 0, true );
    SXMPUtils::RemoveProperties ( &xmpMeta, "http://ns.adobe.com/pdf/1.3/", 0, true );
    SXMPUtils::RemoveProperties ( &xmpMeta, "http://ns.adobe.com/xap/1.0/t/pg/", 0, true );
    SXMPUtils::RemoveProperties ( &xmpMeta, kXMP_NS_XMP, "Thumbnails", true );
    SXMPUtils::RemoveProperties ( &xmpMeta, "http://purl.org/dc/elements/1.1/", 0, true );
    SXMPUtils::RemoveProperties ( &xmpMeta, "http://ns.adobe.com/xap/1.0/", 0, true );
    SXMPUtils::RemoveProperties ( &xmpMeta, "http://ns.adobe.com/xap/1.0/mm/", 0, true );
    SXMPUtils::RemoveProperties ( &xmpMeta, "http://ns.adobe.com/pdfx/1.3/", 0, true );
    //dump the data
    fprintf ( sLogFile, "\n:::::::::: Initial XMP from %s ::::::::::\n\n", fileName );
    xmpMeta.DumpObject ( DumpCallback, sLogFile );
    //change the properties
    xmpMeta.SetProperty ( kXMP_NS_Photoshop, "Category", "2" );
    //dump it again
    fprintf ( sLogFile, "\n\n:::::::::: Modified XMP from %s ::::::::::\n\n", fileName );
    xmpMeta.DumpObject ( DumpCallback, sLogFile );
    xmpFile.PutXMP ( xmpMeta );
    xmpFile.CloseFile();

    Are any of you going to the Adobe Developer Conference scheduled to be held for plugin providers at San Jose on Nov 7/8?

  • Limitation on Adding custom fields into VBAP (Updating from BAPI )

    I have added some custom fields into BAPI structure BAPE_VBAP and corresponding structure to update the custom fields added into VBAP.
    in my code i am passing the value bapiparex-valuepart1 = bape_vbap0(240). bapiparex-valuepart1 = bape_vbap240(240),
    bapiparex-valuepart1 = bape_vbap480(240) and bapiparex-valuepart1 = bape_vbap720(240)
    But, while activation its informing me that more than 441 character length not allowed for the structure. Where the total length should be allowed upto 960.
    is there any OSS notes which i can apply to extend the limit for adding more custom fields into VBAP .
    Please help

    Dear All,
    Good Morining.
    The User creation and Assigining roles is done by the same preson and As i have mentioned above i am disabling the Manage_User action,And if i give the responsiblity of assigining  roles to an other person then he can also create user (standard functionality) where i cannot add my required features.Thereby leading for inconsistency.Therefore we thought that we will also add this funtionality in Webdynpro application and for the same, we have to provide the search criteria where currently we are able to search the role based on data entry(eg:t* or Ume etc) .But we need to search also based on the DataSource(ie Portal Role ,All DataSource and UME).Please Can you guide me in this.
    Also please let me know if we are going in a right approach and also suggest any better approach to achieve the same.
    Thanks and Regards,
    Nishita Salver

  • When does Date Modified field update in cmc  XI3.1

    In CMC > users and groups
    there is a Date Modified field, When does it update? Is there any document describe that?
    For example
    I have test that when I edit a user's properties the Date Modified fields update.
    When a user log onto CMC, some time the logon times is update as Date Modified
    some times is not? Why does this happen?

    Hello,
      If you update the the properties of the group or the user then the last modified date will change to the current date/time.  What kind of user do you have, Enterprise, Windows NT, Windows Active Directory or LDAP.  Sometimes a user doesn't exist until they actually log on to the CMS then their Last Modified date would change.  Have you consistantly seen this happen with a specific user, if so can you reproduce this on demand.
    Jorge

  • Modify fields in ME21n

    Hello All,
    I have a requirement where in I need to modify fields of me21n based on a condition:
    if the user enters a value in the field: MEPO1211-KONNR (Contract no./Number of principal purchase agreement) , then all the conditions (From KOMV table) fileds & all the Pricing terms should be disabled for change/input i.e. should be in display mode.
    I tried to search for an exit for this but could not find an appropriate one to modify screen fields however, the alternae to this requirement is :
    If the user enters a value in the field: MEPO1211-KONNR (Contract no./Number of principal purchase agreement) , then on entry of the conditions(TABLE KOMV) fields and pricing terms user should get an error message so that he cannot proceed.
    Please suggest me a solution for any of the above two requirements.
    Any help on this would be highly appreciated.
    BR
    Ankur

    Hi,
    Why dont you check with the enhancement project LO020 in CMOD.
    Hope this would help you.
    Or use the class CL_EXITHANDLER to find out the BADI used in ME21N for your requirement.
    Regards,
    Ranjith Nambiar

  • Erec Modify Fields in Interfaces

    Hi,
    I am running e-recruitment version 3.0 and I want to make the fields Address and Telephone number mandatory in the communications tab when going through the application wizard. However these fields do not appear in the customizing settings under the node Modify Fields in Interfaces.
    Has anyone been able to add additional pages into this customizing setting?
    Thanks in advance for your help.
    Thanks
    Tom

    Hi,
    Thanks for your help again. I've looked in SE80 and the field names appear to be dynamically generated.
    <hrrcf:formLayoutInputField id       = "street1_<%= lv_index %>"
    So I tried to use the field name street1_1 for the street name of the first address subtype. However this has no effect when I log in and view this BSP.
    Have you managed to get these fields to be mandatory before? Am I missing any other steps?
    Thanks a lot for your help!!
    Tom

  • Populate the KZWI1 to 6 fields (Sub-Total fields) in VBAP, in VA01

    Hello,
    Am looking to populate the KZWI1, KZWI2, KZWI3, KZWI4, KZWI5 and KZWI6 fields (Sub-Total fields) in VBAP, while in the process of creation of Sales Order - VA01.
    So, Is MOVE_FIELDS_TO_VBAP is a good/appropriate user-exit for me?
    Thank you.

    certainly userexit_move_field_to_vbap in MV45AFZZ will allow you to change the values of VBAP fields during order creation.
    I do have concerns about fields KZWI1 etc, as they are subtotal fields on the pricing conditions and consequently derived.
    But yes you should be able to change them here.

  • 7.6.2 stutters on some known good songs then Date Modified field is updated

    Hi All,
    I've just noticed some very peculiar behavior in my 7.6.2 iTunes library on my Leopard MacBook. While clicking around on some songs in my library (~51,000 songs) directly, iTunes will hesitate (ie stutter) at the beginning of the song and then resume playing it. This does not occur on every song in my library though, and appears to repeat itself say on 80% of my songs, now. Occurs in playlists, as well.
    I remembered that by adding album art to an album (a manual cut and paste job) to a selection of files while one is playing...and when that particular file gets updated with the bitmap...that I would hear a similar stutter.
    So, I opened a Finder window to view an actual file before I clicked it in iTunes. Sure enough, on a stuttering song, the Date Modified field in iTunes and date/time stamp of the file in Finder get updated with the Current Day time. I have no idea what would cause that file to be changed ! Plus, this does not happen with every song.
    I do have numerous Smart Playlists and several AppleScripts, but when this occurs, I'm not actively running any of these.
    Anyone have any ideas on this...and I thank you for your help and ideas....
    -ES

    itunes 7.6.2
    I had the same annoying problem: iTunes would hesitate at the beginning of a song and then resume playing it. This affected ALL tracks in my 17,000+ library. No quarter.
    My fix was to uncheck crossfade playback in preferences. I have never used sound check nor sound enhancer so those boxes remained unchecked.
    Worked for me and ALL tracks play now with no stutter.
    Hope this helps some.

  • "Date Created" or "Date Modified" field for Contacts?

    Is there any way to view -- or sort by -- a "Date Created" or "Date Modified" field in Contacts?
    Or, at the very least, view a single records Date Created/Modified?
    In particular, when exporting the BB's Contacts to an ASCII, I'd love that field to appear.
    Thanks,
    MooShoo

    When I open a search window (command "F") and then press Command "J" or go to "Show View Options" under the "View Menu" it just brings up a window that says: "There are no view options for the "Searching This Mac" window"
    I am using OS 10.5.8 on a 1st Generation MacBook Pro. I have successfully changed view options in other folder windows, but can't in the search window. I have just started trying an Application called "Find Any File" (http://apps.tempel.org/FindAnyFile/) and it looks like it may provide what I want but is MUCH SLOWER than spotlight.

  • E-Recruiting. Issue with "Modify Fields in Interfaces" (VRCFPHTMLB_FLI_C)

    Hi!
    When I modify fields in interfaces in the - spro, example:
    SAP/HRSCP_REQ_MNT/JOBINFO.BSP                      JOBTITLE                Invisible
    nothing change in the page
    (htsap/bc/bsp/sap/hrrcf_start_int?sap-client=200&sap-language=RU&rcfSpId=0005)
    when i create requisition in the bookmark "General Job Information".
    Maybe i forget to change some parameters?

    Well,
    do not modify those pages at all. After SP you will lose your modifications.
    Well have you defined a context which you use for flexibilization?
    If no, do it!.
    Then you need to add the following parameter to URL &rcfContext=myId
    regards

  • Dynamically creating/modifying fields

    Hi there,
    I'm having difficulty dynamically adding or modifying fields in a report using XML.
    My sample report selects all the fields in a table (select * from TableName;), where some of the fields are mandantory for the report. The other fields are optional and selected by a user at runtime.
    So, a user selects the optional fields and passes them in as parameters. I check the parameters in the "After Parameter Form" trigger and, if they're set, I try to add or modify a field in the report using some XML, such as:
    <report name="Test1" author="Mark Kennedy" DTDVersion="1.0">
    <layout>
    <section name="main">
    <field name="F_UDC1" source="LOCATION">
    </field>
    </section>
    </layout>
    </report>
    The above XML tries to dynamically set the source of the field to LOCATION, which is one of the fields in the database table.
    If F_UDC1 exists in the report, I get an error message: "REP-0002: Unable to retrieve a string from the Report Builder message file." If F_UDC1 doesn't exist, nothing happens. No new field is created or shows up in the report.
    Any ideas on what I'm doing wrong? Thanks!
    Mark Kennedy
    [email protected]

    Scott,
    You should be able to do this with a report. You can make columns in a report into text boxes. I'm not sure exactly what I would do, but if you do something like
    select null c1, null c2, null c3, null c4 from
    user_objects where rownum <= :P123_NUM_ROWS
    you should get for null columns. Now go edit each of those columns and make them text fields.
    You can then submit the page and use the htmldb api's to get the values of those text boxes.
    You might also use a collection . . . I'm just thinking as I type, but this should give you some ideas.
    Anton

  • Modify field selection for field "Reservation/Purc.req"  RESBD-AUDISP

    I have alredy modify field in network using OPUA (field selection network header) and set the field "Reservation/Purc.req" CAUFVD-AUDISP make it to only display. But I need to set also the field "Reservation/Purc.req"  RESBD-AUDISP to make it display. How can I do that?

    Hi,
    Business functionality is switched off.
    Check this link:
    <link removed by moderator>
    and search OPS_PS_CI_1 under ENTERPRISE_BUSINESS_FUNCTIONS in SFW5 TCODE and check whether it is switched on or off.
    Regards,
    Harsh.
    Edited by: Virendra Pal on Oct 19, 2010 2:03 PM

  • Additional Fields in VBAP ( Line Item Sales Order )

    H i
    To Add New Fields in Additional Data B Screen of VA01 Screen , Line Items VBAP Table
    1.Create an append structure for VBAP containing the new fields*......(   Plz tell me how to Append and create new field with ZZ)*
    2. modify user exit screen SAPMV45A 8459 to map the new fields...( When i go to VBAK screen -Systemstatus--Screen Program ---*Screen No 4002 instead of 8459  ....... WHAT I NEED TO MODIFY)*
    2. modify user Include MV45AFZZ to add ABAP logic*....... LOGIC PLZ
    Regards
    Rohit

    Hi,
      1.Create an append structure for VBAP containing the new fields*......( Plz tell me how to Append and create new field with ZZ)*
    >>>> Go to table VBAP, click on the button append structure enter a zzname create structure add fields to the strucutre.
    2. modify user exit screen SAPMV45A 8459 to map the new fields...( When i go to VBAK screen -Systemstatus--Screen
    Program ---*Screen No 4002 instead of 8459 ....... WHAT I NEED TO MODIFY)*
    8459 is the subscreen that you cna edit to add your custom fields
    2. modify user Include MV45AFZZ to add ABAP logic*....... LOGIC PLZ
    MVMV45AFZZ you can add logic to populate the fields
    Regards,
    Himanshu

Maybe you are looking for

  • Comparing  NVL strings in IF statement

    ORA-06550: line 22, column 12: PLS-00412: list of values not allowed as argument to this function or procedure ORA-06550: line 22, column 1: PL/SQL: Statement ignored if     nvl((lower(v_address),'null') not like (lower(:ADDRESS)))

  • Assets report

    Hi all Can someone help me where from I can take list with all assets which are ever opened for our company. Thanks for any help in advance

  • Quick photo ordering question...

    I am in the process of ordering a bunch of photos, and I have a question: When I select the photos, say 25 of them, then select "Order Prints", I see all of my photos in a list, but I have to select the quantity for EACH PHOTO! Is there ANY way I can

  • How to update BP number of an Org. unit in Org. Model?

    Hi, In Org. Model we have organization units which has BP. They are list together in couple. Can I update BP number of an org. unit in Org. Model? I want change it to another BP. Is that possible? Best regards, Long

  • How do i adjust resolution of preview while importing?

    How do i adjust the size of the preview of a photo before importing?  On my windows machine the preview was of adequate resolution to make a keep/delete decision but on my new imac the preview is thumbnail size and when I zoom the resolution is poor.