Using LSMW how to handle Value contracts create/change (VA41) /(VA42)

Hi Experts,
Please suggest me how to create and change of value contracts using LSMW.
Actually i got one  standard batch input program RVINVB10 in LSMW  for create/change for value contracts. but the problem is one field ZWERT - Target Value in Document Currency is not present in the Target structure at item level.
ZWERT - Target Value in Document Currency field is required for my scenario.
Points will be awarded for the Correct answers.
Regards,
Tirumala Reddy

Hi Ramky,
Thanks for your response.
In LSMW first we have to map all source structure fields to Target structure fields right, ZWERT field is there in my source structure and there is no field matching with ZWERT in the Target structure.
Field name :ZWERT
Field Description: Target Value in document currency.
If you know solution please reply me soon.
Regards,
Tirumala Reddy

Similar Messages

  • How to get value when OAMessageLovInputBean Change

    How to get value when OAMessageLovInputBean Change
    I want to get lov value atfer user select value return page

    As you wanna get the value in process form request, get the value from the VO column attached to the bean, if not you can attach a tranient Vo attribute!
    --Mukul                                                                                                                                                                                                                                                                                                                                                                               

  • How to find Value contract details used as reference in order

    Hi SAP team,
    We are creating a order with reference to a Value contract line item. After saving the order, from the document flow we can see the value contract number and line item it is referred. But before saving the order, is there any way to see value contract and line item number it is refered to.
    Regards,
    Madhuri.

    Hi Madhuri
    Its not possible to see the preceding document when u raise a order with reference to Contract.
    After saving the order only u can see the preceeding document in number in Document Flow.
    When u r in create mode of sales order u cannot see the document Flow button .. Only after saving the order only v can see the document flow..
    Because at the time creation the system gathers information only. after saving only it will confirm the number of preceeding document.
    I tried in my system ..
    Regards
    Srinivas.

  • How to handle value change events of select list in custom component?

    My HelloUIComp code...How to handle events for "Select"...if i choose option1 from select then one text box is to be displayed in custom component and if i choose another option then some other text box is to be displayed in custom components...
    public class HelloUIComp extends UIComponentBase {
        public static final String account="custom.account";
        public static final String RENDERER_TYPE = null;
        HtmlCommandButton button = createButton();
        //HtmlSelectOneMenu select=createSelect();
        public void processDecodes(FacesContext context) {
             Calling the lifecycle method "processDecodes" on the
             internal button is absolutely critical to create action events
             button.processDecodes(context);
             super.processDecodes(context);
        private HtmlCommandButton createButton() {
             FacesContext context = FacesContext.getCurrentInstance();
             HtmlCommandButton newButton = new HtmlCommandButton();
             newButton.setId("Add");
             newButton.setValue("Add");
             newButton.setType("submit");
             //newButton.setOnclick("return func_1(this,event);");
             MethodBinding binding = context.getApplication().createMethodBinding("#{pc_MyProjectView.go}", null);
             newButton.setAction(binding);
                  newButton.setParent(this);
             return newButton;
      /*  private HtmlSelectOneMenu createSelect()
             HtmlSelectOneMenu selectCategory=createSelect();
             return selectCategory;
         public void encodeBegin(FacesContext context) throws IOException {
              String style = (String)getAttributes().get("style");
              String startdate = (String)getAttributes().get("startdate");
              String enddate = (String)getAttributes().get("enddate");
              //String add=(String)getAttributes().get("add");
              ResponseWriter writer = context.getResponseWriter();
             writer.startElement("table", this);
            writer.writeAttribute("border","2","2");
            writer.startElement("tbody", this);
            writer.startElement("tr", this);
            writer.startElement("td", this);
            writer.writeText("Account Category", null);
            writer.endElement("td");
              writer.startElement("td", this);
              writer.writeText("Reg-No", null);
              writer.endElement("td");
              writer.startElement("td", this);
            writer.writeText("Account-No", null);
              writer.endElement("td");
              writer.startElement("td", this);
            writer.writeText("", null);
              writer.endElement("td");
              writer.startElement("td", this);
            writer.writeText("Start-Date", null);
              writer.endElement("td");
              writer.startElement("td", this);
            writer.writeText("End-Date", null);
              writer.endElement("td");
              writer.endElement("tr");
              writer.startElement("tr",this);          
              writer.startElement("td", this);
              writer.startElement("select", this);
            if (style!=null)
                   writer.writeAttribute("style", style, null);
            writer.writeAttribute("name","category","category");
            writer.startElement("option", this);
              writer.writeText("Select", null);
              writer.endElement("option");
              //to access data
              Account accountObj;
              AccountData accountDataobj;
              List listOfAccounts;
              int noOfAccounts;
              accountDataobj=new AccountData();
              listOfAccounts=accountDataobj.getAccounts();
              noOfAccounts=listOfAccounts.size();
              for(int i=0;i<noOfAccounts;i++)
              writer.startElement("option", this);     
              accountObj=(Account) listOfAccounts.get(i);
              writer.writeText(accountObj.getCategory(), null);
              writer.endElement("option");
              //System.out.println(accountObj.getRegNo());
              //System.out.println(accountObj.getAccountNo());
              writer.endElement("select");
              writer.endElement("td");
            writer.startElement("td", this);
              writer.startElement("select", this);
              if (style!=null)
                   writer.writeAttribute("style", style, null);
              writer.writeAttribute("name","regno","regno");
              writer.startElement("option", this);
              writer.writeText("Select", null);
              writer.endElement("option");
              for(int i=0;i<noOfAccounts;i++)
              accountObj=(Account) listOfAccounts.get(i);     
              writer.startElement("option", this);
              writer.writeText(""+accountObj.getRegNo(), null);
              writer.endElement("option");
              writer.endElement("select");
              writer.endElement("td");
              writer.startElement("td", this);
              writer.startElement("select", this);
              if (style!=null)
                   writer.writeAttribute("style", style, null);
              writer.writeAttribute("name","accno","accno");
              writer.startElement("option", this);
              writer.writeText("Select", null);
              writer.endElement("option");
              for(int i=0;i<noOfAccounts;i++)
              accountObj=(Account) listOfAccounts.get(i);
              writer.startElement("option", this);
              writer.writeText(accountObj.getAccountNo(), null);
              writer.endElement("option");
              //writer.startElement("option", this);
              //writer.writeText("00200155", null);
              //writer.endElement("option");
              writer.endElement("select");
              writer.endElement("td");
              writer.startElement("td", this);
              button.encodeBegin(context);
             button.encodeChildren(context);
             button.encodeEnd(context);
            writer.endElement("td");
              writer.startElement("td", this);
              writer.startElement("input", this);
              if (style!=null)
                   writer.writeAttribute("style", style, null);
              writer.writeAttribute("type","text","text");
              writer.writeAttribute("name","startdate","startdate");
              writer.writeAttribute("value",startdate,startdate);
              writer.writeAttribute("readonly", "","");
              //writer.endElement("input");
              writer.endElement("td");
              writer.startElement("td", this);
              writer.startElement("input", this);
              if (style!=null)
                   writer.writeAttribute("style", style, null);
              writer.writeAttribute("type","text","text");
              writer.writeAttribute("name","enddate","enddate");
              writer.writeAttribute("value",enddate,enddate);
              writer.writeAttribute("readonly", "","");
              writer.endElement("td");
              writer.endElement("tr");
              writer.endElement("tbody");
              writer.endElement("table");
         public String getFamily() {
              return "HelloFamily";
         }

    NewEclipseCoder wrote:
    How to handle events for "Select"...if i choose option1 from select then one text box is to be displayed in custom component and if i choose another option then some other text box is to be displayed in custom components...Two ways:
    1) submit the form to the server and render the desired textbox depending on the option.
    or
    2) render all textboxes and use Javascript/DOM to display/hide them depending on the option.

  • LSMW - How to handle delimited records?

    Greetings everyone,
    I want to change infotype records with LSMW. I've done this with the use of a batch input recording.
    This works, but only when the record is not delimited. Otherwise, the first record is modified but an error is given for subsequent records saying no batch input could be found.
    I don't know how to handle this problem. Can anyone please help me?

    The txt file is tab delimited but that is not the problem.
    I'm talking about another kind of delimit
    The problem lies with the database records that I want to change. This works, but the moment the infotype record is delimited (or split), the recording isn't valid anymore (because it doesn't expect another screen).
    So then I get an error saying no batch input can be found, and it skips the record(s) and continues with the next pernr.

  • Contract Create,Change feild selection while processing a contract

    SAP Gurus,
    In create contract feild selection i maintaned one feild mandatory and change contract i dont want to appear that feild as mandatory.
    Create Contract - Field Selection ZES
    Chnage Contract - Field Selection ZMS
    But one feild selection only will be assigned to a contract document type.
    Where exactly i have to configure,Let me know and please suggest me.
    But i want these two thing should get captured in the contract create and change
    Thanks,
    Alam.Sivakumar

    hi,
    please check
    Materials Management -- purchasing -- Contract --Define Screen Layout at Document Level
    Select Create and assign
    Select Change and assign

  • Confirmation using BAPI_ALM_CONF_CREATE - how to handle Longtexts

    Hello,
    we have to create a custom code to create confirmations for service orders.
    At the moment we are using BAPI_ALM_CONF_CREATE within this custom program.
    But this BAPI is not handling longtexts within the service confirmation.
    Is there another BAPI or FM or how could we add the longtexts to the created confirmations.
    Thank you.
    Kind regards
    Manfred

    BAPI Create_Text may work for this. Please check below links.
    problem in SAVE_TEXT  usage
    how to create text using BAPI for sale order BAPI_SALESORDER_CREATEFROMDAT2
    http://help.sap.com/saphelp_nw04s/helpdata/en/fb/787036172511d2b428006094b944c8/content.htm

  • Using screencapture - how to handle save & filenames

    Hello,
    i am trying to use screencapture from within applescript-code using do shell script.
    so a basic snippet would look like this:
    do shell script "screencapture -t png -S /Users/xy/Desktop/foo.png"
    Which results in a fullscreen png image on the defined path with the defined filename.
    I am wondering about two things right now:
    a) how would i manage to just write to filenames like apples shortcuts use for making screenshots ?
    Like first image is named: picture 1.png, second picture 2.png ......
    b) why is the code above only screenshoting the main screen in case of dual monitor setup. Based on the man page i would expect -m would limit my screenshot to main screen.
    Best regards
    fidel

    a) how would i manage to just write to filenames like apples shortcuts use for making screenshots ?
    Like first image is named: picture 1.png, second picture 2.png ......
    The first part is trivial - just provide the file name you want to save the file in. The tricky part is ensuring you don't overwrite an existing file. Typically this means you need to check for existing files before determining the filename to use, e.g. (untested):
    set file_num to 1
    tell application "Finder"
    set file_path to (path to desktop as text) & "Picture " & file_num & ".png"
    repeat until not exists (file file_path)
    set file_num to file_num + 1
    end repeat
    do shell script "/usr/sbin/screencapture - t png -S " & quoted form of POSIX path of file_path
    end tell
    The idea here is that you check if the file exists, incrementing the counter until there's no matching file name.
    b) why is the code above only screenshoting the main screen in case of dual monitor setup. Based on the man page i would expect -m would limit my screenshot to main screen.
    From reading the man page it states:
    SYNOPSIS
    screencapture [-SWCTMPcimswxt] file
    Here you can see the last parameter is files (not file), and furthermore:
    files where to save the screen capture, 1 file per screen
    I infer from this that you need to provide multiple file names if you have multiple monitors.

  • How to handle expired contract ?

    Dear expert,
    our system has lots of expired contracts,  can we archive them? will there any impact if the contract is archived? is this a right way to deal with the expired contracts?
    Thanks!
    Hedy

    Dear expert,
    our system has lots of expired contracts,  can we archive them? will there any impact if the contract is archived? is this a right way to deal with the expired contracts?
    Thanks!
    Hedy

  • BAPI_SALES_ORDER_CHANGE: How to handle route when shipingcondition changed

    Hi Experts,
    This is a question regarding BAPI_SALES_ORDER_CHANGE.
    Normally, through VA02 if we change the shipping condition VBAK-VSBED of a sales order, then a popup will raise from which we can determine the route (VBAP-ROUTE).
    If we pass the same change in shipping condition to BAPI_SALES_ORDER_CHANGE, can BAPI automatically handles the change in route?
    As human intervention is needed to determine the route while trying with VA02 , how this can be handled using the BAPI.?
    Please guide me.
    Regards
    Sunil

    Hi,
    Generally SAP does not recommand any popup windows in the BAPI.So it is not possible to get popup in the bapi.But you can check bapi user-exits any way to get popup windows.But it is not recommanded.
    Thanks,
    radha.

  • Using Spry how to stop Dreamweaver CS3 from Changing Code

    Hi
      I am using Dreamweaver CS3 to build/maintain a website www.ghoter.net. I started using Spry to insert data from an xml file as I need the data in the xml file to show up on several different pages, includeing the home page. The data in the xml file changes from time to time. This is working wery well. But I am having a problem with Dreamweaver automaticly  changing a line of code in the html files every time I make a change to the html file. The line of code that is being changed is in the head of the program.
    This is the line of code that is being changed: The xml's name is data-3.xml The date from the xml file goes at the top of the left collumn.
    The good code is:  var ds1 = new Spry.Data.XMLDataSet("data-3.xml", "customers/customer",{distinctOnLoad:true});
    The above line of code is automaticly being changed to this below, which does not work:
    var ds1 = new Spry.Data.XMLDataSet("data-3.xml", "customers/customer",<MM:BeginLock translatorClass="MM_SPRY" type="MM_SPRY_DATA_REFERENCE" orig="{distinctOnLoad:true}" ><MM_DYNAMIC_CONTENT DYNAMICDATA=1><MM:DECORATION HILITECOLOR="Dyn Untranslated Color">{distinctOnLoad:true}</MM:DECORATION></MM_DYNAMIC_CONTENT></script><MM:EndLock>);
    I can replace the bad line of code with the good code just befor saving the html file and the good line of code will be saved with the file and the web page works as it should.
    Any help would be appricated. Thanks
    Jack Burn

    Hi Jack,
    I think (not sure though) that the Library Item is causing the problem. I never use the Library Item because server side includes are far more efficient and need less maintenance.
    Have a look here http://foundationphp.com/tutorials/sprymenu/ssi.php
    If you have PHP serverside scripting language, use DW to add serverside includes using PHP.
    Getting back to your original problem, try without the Library Item and see if DW still changes the code.
    I hope this helps.
    Ben

  • Material Classification Upload using LSMW

    Hi SAP Experts,
    We are thinking of using LSMW as a means to upload our material master data for the classification view. How is this done?
    Can we use LSMW to upload materials with many class assignments with multiple characteristics?
    Ex. Material A is assigned to class X and class Y. Class X has characteristics 1, 2, and 3. Class Y has characteristics 4, 5, and 6.
    Would appreciate a swift response.
    Thanks in advance!

    Hi All,
        If it is the existing material you need to modify the Classification type. It can be done by BDC. If you instruct the ABAP team they will make it & give. I am not sure about modifying classification type using LSMW. If you need to create a new material master data with classification using LSMW i will give the steps.
    Check out this link for LSMW Steps:
    www.scmexpertonline.com/downloads/SCM_LSMW_StepsOnWeb.doc
    Reward if useful.
    pherasath

  • How to handle user preference which has "_" and " " in the name

    Hi Experts,
    I have a question how to handle value which has like "_" and "space" etc in user preference.
    If setting "a_b-c d", I could not retrieve this because it's escaped in database.
    So this code can't get value even though I can set it.
    Is there any restriction of name? Is there any documentation how to code user prefernece which has non alphabet and number in the name?
    I know it's possible to handle the data like adding escaped data. But I don't think this is the best way to retrieve the data. Because nobody confirm it's not problem in the future.
    Could you tell me the best way to get these user preference?
    Thanks in advance,
    Masaaki Tada
    Here is a sample.
    <%@ page contentType="text/html;charset=Shift_JIS" %><%@ page language="java" import="com.plumtree.remote.portlet.*, com.plumtree.remote.prc.*, java.util.*" %>
    <%
    /** * UserInfo - Simple Page * Display User Information*/
    // VariablesIPortletContext oPortletContext = null;IPortletRequest oPortletRequest = null;IPortletUser oPortletUser = null;IPortletResponse oPortletResponse = null;IRemoteSession s;IUserManager oUser;
    /* Get Portlet Objects */
    try{oPortletContext = PortletContextFactory.createPortletContext(request, response);oPortletRequest = oPortletContext.getRequest();oPortletUser = oPortletContext.getUser();oPortletResponse = oPortletContext.getResponse();} catch (Exception e) {oPortletContext = null;oPortletRequest = null;oPortletUser = null;oPortletResponse = null;}
    String val = oPortletRequest.getSettingValue( SettingType.User, "a_b-c d" );String hoe = oPortletRequest.getSettingValue( SettingType.User, "abcd" );out.println( "a_b-c d: " + val );out.println( "abcd : " + hoe );
    oPortletResponse.setSettingValue( SettingType.User, "a_b-c d", "aiueo" );oPortletResponse.setSettingValue( SettingType.User, "abcd", "bbbb" );%>

    Plumtree recommends that user preference names have only alphanumeric characters in them (a-z, A-Z, 0-9). Any non-alphanumeric characters will be encoded by the EDK.
    I strongly suggest that you change your user pref name to something that's alphanumeric. However, if that is not possible, you can use the following workaround: in the web service editor, enter the encoded name for the user pref. There are several ways to get the encoded name.
    One way is to encode the pref manually, yourself. Plumtree uses the %u encoded format: each non alphanumeric character is converted into %uxxxx, where xxxx is the Unicode representation of the character. For all ASCII characters, just look at the ASCII hex chart. For example, character "-" has a hex value of 2d. So, a preference name "jane_pref" would be encoded to "jane%u002dpref", and you'd enter the latter value on the preferences page in the web service editor.
    The other way to find out the encoded value is to set a preference programmatically and use the HTTP tunnel tool to look at HTTP traffic between the portal server and remote server. The remote server will be sending a HTTP header to the portal server (the header name will probably be CSP-User-Pref) and inside the header you should see the pref name, encoded with %u. Just copy it out of there and into the web service editor.
    Hope this helps,
    Jane

  • Upload Purchase info Records using LSMW

    Hi,
      Im uploading purchase info records using LSMW - direct method
    Object               0060   Purchasing info rec.
    Method               0000
    Program Name         RM06IBI0
    i need step by step process for this. any one have done this using this program help me out.
    Regards,
    Vimal

    Hello Jürgen
    and thank you!
    One additional question: When I import info records using LSMW, one condition record (PB00) is created automatically. Is it possible to change the validity of that condition record using LSMW, too? Or can I only create new condition records?
    Thanks again
    Alicia

  • Validity date of condition records (creation of info records using LSMW)

    Hello gurus,
    we would like to create info records using LSMW with one condition record (PB00). This works fine, we just are not able to influence the validity of the condition record, it's always "creation date until 31.12.9999".
    We tried to maintain the fields BKONP-DATAB and BKONP-DATBI, but that did not change anything.
    Any ideas on this?
    Thanks
    Alicia

    Hello Jürgen
    and thank you!
    One additional question: When I import info records using LSMW, one condition record (PB00) is created automatically. Is it possible to change the validity of that condition record using LSMW, too? Or can I only create new condition records?
    Thanks again
    Alicia

Maybe you are looking for

  • Rstore Defaults fields in Invoices

    Hello to all i have a question about the fields in invoices such as Sales Orders, Purchasing Orders etc. it is able for the users to add or remove fields columns by selecting them through Form Settings button. though, by clicking the Resore Default b

  • How do you export the cover layout to print as it does in iphoto

    Ok here goes, in iphoto, whilst you have the workspace open, you can right click on the workspace and a drop down list of options opens. If you save to pdf in this window, the cover opens up as a single page double spread layout and this can then be

  • What is the DEFAULT BIOS Password for my Probook 6550b?

    I have been struggling to find a DEFAULT password for my 6550b (i5 Windows 7) I want to change my boot order so I can install Windows 8, but I can't since if I install it, I would be stuck in limbo and I don't want to take the risk. I have previously

  • ISE mab authentication with Avaya/Nortel switches

    Currently using Cisco ISE 1.1 to authentication both dot1x and mab from Cisco switches. Both features are authenticating properly. When we use a Nortel/Avaya switch for the authenticator, we are unable to authenticate using mac bypass (non-eap (or ne

  • How to export large .jpeg in indesign

    I'm trying to export a large jpg file from indesign for a commercial printer (Large format bill board Advertising poster). Getting message indicating that the file is too large and to try using a lower resolution - but this does not deliver required