Need to know how komp-evrwr will be as 'X' in the below code(Include LV61A004).

  Guys,
  In debug mode I see komp-evrwr field is coming as SPACE and thats why one of the custom condition type is not coming while I am trying to create billing from a delivery document no. Can anybody help me to know - how komp-evrwr will be as 'X'?
Include          LV61A004
* Determine costs according to item category configuration (TVAP)
form kobed_004.
  sy-subrc = 4.
  if komp-kposn ne 0.
    check: t001-bukrs = t001k-bukrs.
    check: komp-werks ne space.
    check: komp-evrwr = 'X'.
    check: komp-fareg na '45'.
  endif.
  sy-subrc = 0.
endform.
* Prestep
form kobev_004.
  sy-subrc = 0.
endform.
Regards,
Shyamal.

Hi Shyamal,
I think this should be taken care by respective functional consultant. Some field should be checked while creating custom condition type.
ABAP work is not needed here.
Regards,
Siddhesh Satghare.

Similar Messages

  • I need to know how to copy pictures to a cd with the captions showing, elements 8 and windows 7

    I need to know how to copy
    pictures to a cd with the captions showing, elements 8, windows 7

    Here are some suggestions.  Perhaps others will have even better ideas.
    1 -- for viewing on a Windows computer,  you can experiment with making a PSE Organizer slide show creation in which you specify to show the captions. Then save the Output of the slide show as a WMV file that the recipient could play on a computer with Windows Media Player.
    If you have a DVD burner on your PC, you can also use that WMV file as input to the Windows 7 DVD Maker program for making a TV playable DVD. And if your recipient(s) who will view on a computer have DVD readers, you could make video DVDs playable on computers or TV DVD players instead of using CDs.
    The limitations of this approach are that this wmv file you create is really a video file so
    -- it advances photo slides at the rate specified when you create the slide show
    -- the choices to save a wmv file are not very high resolution so that recipients who have high resolution monitors will not see the photo images are not getting the benefit of seeing the photos at their best
    -- your recipients can't print from this video slide show
    2 An entirely different approach is to
    -- For each individual photo, make a copy of the photo file and depending on how high resolution your originals you might want to resize down to monitor viewing sizes.
    -- Then use the PSE Editor Text Tool to place the caption on a layer above the photo. (I think that you could display the existing caption and then do a copy and paste so that you don't need to retype everything.)
    -- You should save this photo copy with the text as a uniquely named JPEG file. Use the file names to control the sequence in which you want the viewer to see the photos.  (Don't save as a PSD because others probably can't read the PSD format).
    -- Then use your computers CD burning software to burn a folder containing all those jpeg files with the captions to CD
    This approach is a bit of work for each photo and you did not say how many photo files you will be doing. However,
    -- computer users should be able to display  the jpegs as high resolution photos on their computer as well as optionally print from those photo files
    -- many TV DVD players can play (display) jpg files from a CD disc which also gives recipients the opportunity to view the photos on their larger TV screen
    Process 2 may seem complicated but once you get started I think it will be more of a production line.
    ADDITION
    Do you have any portrait orientation photos included with those you wish to send ? If yes, we might need to discuss some additional processing for them.

  • I need to know how to authorize or deauthorize a computer when the email address attached to it no longer exists.

    I need to know how to authorize or deauthorize a computer when the email address attached to it no longer exists
    I can't access the account because your system doesn't recognize the last password -- and it won't let me change the password because it says the birthday information is wrong -- it's not.  There is no help item for that either, so somebody PLEASE tell me how to get around this problem.  My music is being held hostage.

    See Here > Apple ID: Contacting Apple for help with Apple ID account security
              Ask to speak with the Account Security Team..

  • My computer crashed.  I now have a new one and I need to know how to sync my iPad without losing all the photos, contacts, podcasts, etc I have on my iPad.

    My computer crashed.  I now have a new one and I need to know how to sync my iPad without losing the photos, contacts, podcasts, apps, etc I have on my iPad.  Can anyone help?

    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    Some items cannot be redownloaded. You will need third-party software for them - Phone to Mac - Pod to Mac | Macroplant.com or Phone to PC | macroplant.com depending on your hardware.
    You might consider modifying your profile information so we will know what your hardware, OS, etc. is. Makes it easier to provided assistance.

  • Need to know how to iterate a list of field from the req xml in page servic

    Hi All,
    Please help me out with java code in which i am able to iterate a list of field coming in the request xml to my page service class under read(Pageheader header) method of mine queryPagemaintenace class.
    package com.splwg.cm.domain.pageService;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.Iterator;
    import java.util.List;
    import com.ibm.icu.math.BigDecimal;
    import com.splwg.base.api.businessObject.BusinessObjectDispatcher;
    import com.splwg.base.api.businessObject.BusinessObjectInstance;
    import com.splwg.base.api.businessObject.COTSInstanceListNode;
    import com.splwg.base.api.datatypes.Date;
    import com.splwg.base.api.lookup.BusinessObjectActionLookup;
    import com.splwg.base.api.service.DataElement;
    import com.splwg.base.api.service.ItemList;
    import com.splwg.base.api.service.PageHeader;
    import com.splwg.shared.common.ApplicationError;
    import com.splwg.shared.environ.FieldDefinition;
    import com.splwg.shared.environ.ListDefinition;
    import com.splwg.shared.logging.Logger;
    import com.splwg.shared.logging.LoggerFactory;
    * @author
    @QueryPage (program = CMUSER, service = CMUSER,
    * body = @DataElement (contents = { @ListField (name = USER_GROUP_LIST)
    * , @ListDataField (name = USR_GRP_ID)
    * , @DataField (name = MESSAGE_TEXT)
    * , @DataField (name = USER_ID)
    * , @DataField (name = PASSWORD)
    * , @DataField (name = LAST_NAME)
    * , @DataField (name = FIRST_NAME)
    * , @DataField (name = USER_TYPE_FLG)
    * , @DataField (name = EMAILID)}),
    * actions = { "add"
    * ,"read"
    * , "delete"
    * , "change"},
    * header = { @DataField (name = USER_TYPE_FLG)
    * , @DataField (name = EMAILID)
    * , @DataField (name = LAST_NAME)
    * , @DataField (name = FIRST_NAME)
    * , @DataField (name = PASSWORD)
    * , @DataField (name = USER_ID)},
    * headerFields = { @DataField (name = USER_TYPE_FLG)
    * , @DataField (name = USR_GRP_ID)
    * , @DataField (name = EMAILID)
    * , @DataField (name = LAST_NAME)
    * , @DataField (name = FIRST_NAME)
    * , @DataField (name = PASSWORD)
    * , @DataField (name = USER_ID)},
    * lists = { @List (name = USER_GROUP_LIST, size = 100, includeLCopybook = false,
    * body = @DataElement (contents = { @DataField (name = USR_GRP_ID)}))},modules = {})
    public class CMUSER extends CMUSER_Gen {
    public static final Logger logger = LoggerFactory.getLogger(CMUSER.class);
         DataElement root = new DataElement();
         PageHeader page = new PageHeader();
         protected DataElement read(PageHeader header) throws ApplicationError{
    I want to know how can i iterate this USER_GROUP_LIST in my read method and get the USR_GRP_ID field data from it.
    A Prompt reply from your end will help me to resolve this issue

    Guru Sir,
    i tried to override the add() method of the framework in that i was able to iterate the field from the list. But now the i am facing there is that i am not able to send back the response to the external system in XML format. I am getting a blank response in my SOAP UI Tool while testing here is the code:
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.Iterator;
    import java.util.List;
    import com.ibm.icu.math.BigDecimal;
    import com.splwg.base.api.businessObject.BusinessObjectDispatcher;
    import com.splwg.base.api.businessObject.BusinessObjectInstance;
    import com.splwg.base.api.businessObject.COTSInstanceListNode;
    import com.splwg.base.api.datatypes.Date;
    import com.splwg.base.api.lookup.BusinessObjectActionLookup;
    import com.splwg.base.api.service.DataElement;
    import com.splwg.base.api.service.ItemList;
    import com.splwg.base.api.service.PageHeader;
    import com.splwg.shared.common.ApplicationError;
    import com.splwg.shared.logging.Logger;
    import com.splwg.shared.logging.LoggerFactory;
    * @author
    @QueryPage (program = CMUSER4, service = CMUSER4,
    * body = @DataElement (contents = { @DataField (name = MESSAGE_TEXT)
    * , @DataField (name = PASSWORD)
    * , @DataField (name = USER_ID)
    * , @DataField (name = LAST_NAME)
    * , @DataField (name = FIRST_NAME)
    * , @DataField (name = USER_TYPE_FLG)
    * , @DataField (name = EMAILID)
    * , @ListDataField (name = USR_GRP_ID)
    * , @ListField (name = USER_GROUP_LIST)}),
    * actions = { "add"
    * , "delete"
    * , "change"
    * , "read"},
    * header = { @DataField (name = USER_ID)
    * , @DataField (name = MESSAGE_TEXT)},
    * headerFields = { @DataField (name = USER_ID)
    * , @DataField (name = MESSAGE_TEXT)},
    * lists = { @List (name = USER_GROUP_LIST, size = 100,
    * body = @DataElement (contents = { @DataField (name = USR_GRP_ID)}))}, modules = {})
    public class CMUSER4 extends CMUSER4_Gen {
         public static final Logger logger = LoggerFactory.getLogger(CMUSER4.class);
         DataElement root = new DataElement();
         PageHeader page = new PageHeader();
         protected PageHeader add(DataElement item) throws ApplicationError{
              BusinessObjectInstance boInstance = BusinessObjectInstance.create("CM-USER");
              String USR_GRP_ID = null;
              try{
              logger.info("Data coming from the Service into the Application is :"+item.get(STRUCTURE.USER_ID));
              logger.info("Data coming from the Service into the Application is :"+item.get(STRUCTURE.FIRST_NAME));
              logger.info("Data coming from the Service into the Application is :"+item.get(STRUCTURE.LAST_NAME));
              logger.info("Data coming from the Service into the Application is :"+item.get(STRUCTURE.EMAILID));
              // logger.info("Data coming from the Service into the Application is :"+getInputHeader().getString(STRUCTURE.list_USER_GROUP_LIST.USR_GRP_ID));
              // Iterator it = STRUCTURE.
              ItemList sourceList = item.getList(STRUCTURE.list_USER_GROUP_LIST.name);
              List userGrpID = new ArrayList();
              logger.info("The Size of the User Group List here is :"+sourceList.size());
              Iterator iter;
              if ((sourceList != null) &&
              (sourceList.size() > 0)) {
              for (iter = sourceList.iterator(); iter.hasNext(); ) {
              DataElement myItem = (DataElement)iter.next();
              USR_GRP_ID = myItem.get(STRUCTURE.list_USER_GROUP_LIST.USR_GRP_ID);
              logger.info("The User Group Id coming in the List here is :"+USR_GRP_ID);
              logger.info("Data coming from the Service into the Application is :"+item.get(STRUCTURE.PASSWORD));
              boInstance.set("user", item.get(STRUCTURE.USER_ID));
              boInstance.set("firstName", item.get(STRUCTURE.FIRST_NAME));
              boInstance.set("lastName", item.get(STRUCTURE.LAST_NAME));
              boInstance.set("emailAddress", item.get(STRUCTURE.EMAILID));
              // COTSInstanceList userGrpList = boInstance.getList("userGroupUser");
              // COTSInstanceListNode userGroupList = userGrpList.newChild();
              COTSInstanceListNode userGroupList = boInstance.getList("userGroupUser").newChild();
              userGroupList.set("userGroup", USR_GRP_ID);
              logger.info("Data coming from the Service into the Application is :"+userGroupList.toString());
              /*boInstance.set
              boInstance.set("userGroup", getInputHeader().getString(STRUCTURE.HEADER.USR_GRP_ID));*/
              // UserTypeLookup.constants.TEMPLATE_USER
              //if(element.get(STRUCTURE.USER_TYPE_FLG))
              //boInstance.set("user", element.get(STRUCTURE.));
              boInstance.set("dashboardWidth","200");
              boInstance.set("homeNavigationOption","CI0000000574");
              boInstance.set("language","ENG");
              boInstance.set("toDoEntriesAge1", new BigDecimal(50));
              boInstance.set("toDoEntriesAge2",new BigDecimal(100));
              boInstance.set("displayProfileCode", "NORTHAM");
              String expirationDate = "2100-12-31";
              String[] array = expirationDate.split("-");
              userGroupList.set("expirationDate",new Date(Integer
                             .parseInt(array[0]), Integer
                             .parseInt(array[1]), Integer
                             .parseInt(array[2])));
              //boInstance.set("userGroupUser", userGroupList);
              COTSInstanceListNode roleUserList = boInstance.getList("roleUser").newChild();
              roleUserList.set("toDoRole","F1_DFLT");
              COTSInstanceListNode dataAccessList = boInstance.getList("dataAccessUser").newChild();
              dataAccessList.set("dataAccessRole","***");
              String expiryDate = "2100-01-01";
              String[] array1 = expiryDate.split("-");
              dataAccessList.set("expireDate",new Date(Integer
                             .parseInt(array1[0]), Integer
                             .parseInt(array1[1]), Integer
                             .parseInt(array1[2])));
              BusinessObjectDispatcher.execute(boInstance,
                             BusinessObjectActionLookup.constants.FAST_ADD);
              page.put(STRUCTURE.HEADER.MESSAGE_TEXT, "User Added Successfully");
              page.put(STRUCTURE.HEADER.USER_ID,item.get(STRUCTURE.USER_ID));
              }catch(Exception e){
                   e.printStackTrace();
                   page.put(STRUCTURE.HEADER.MESSAGE_TEXT, "Caught Exception in the ORMB System. Please reach out to the Admin"+e.getMessage());
                   page.put(STRUCTURE.HEADER.USER_ID,item.get(STRUCTURE.USER_ID));
              return page;
    If you can help me to find out what went wrong here while sending the response back it can close my issue.

  • Need to know how to get those columns to insert in the interface

    when i insert into "RCV_TRANSACTIONS_INTERFACE "
         /* ,TRANSACTION_TYPE
         ,PROCESSING_STATUS_CODE
         ,PROCESSING_MODE_CODE
         ,TRANSACTION_STATUS_CODE
         ,UNIT_OF_MEASURE */ )
    i donot know how to get the values or which tables are those columns found to insert in the interface

    Hi,
    You can find information about what is expected in each column of the interface table in the Oracle Manufacturing APIs and Open Interfaces Manual. For 11i, the manual can be found here. I hope it helps.
    Regards.

  • Still need to know how to do speed dials from keyboard is the

    I would still like a step by step answer how to use speed dials!!,, eg D for Dad M for Mom and so on. Not favorites. Also want to know how to link bbm contacts to contacts, or for the same matter link fb contacts to contacts. Nice phone but all the good features are not here!!!! So bad phone, soRy I took it

    http://docs.blackberry.com/en/smartphone_users/deliverables/50635/amc1343097705599.jsp

  • I need to know how to reset a business owned iPad after the employee that set it up has been terminated and will not divulge his password info

    I have an iPad 2 that we need to restore to factory settings.  The employee for which it was issued was terminated and no longer has the username or password that the iPad and Find My iPhone was established with. 
    I have put it into recovery mode 2x...it still prompts for the user name and password of the person that set it up. 
    What do you suggest. 

    Just had an employee terminated most acrimoniously and had an iPhone 5C that was a brick. Apple support can help remove the lock. Better hold onto your original receipt and record the Serial# !  I do not mean the MEID or IMEI but the Serial# found on the original box or Settings>General>About. In my case no receipt or Serial#.  2 hours on the phone between Apple and Verizon and got what was needed. Submitted form and got reply to allow 2-10 business days.
    Here is the form I had to complete and sent to [email protected]..
    ORIGINAL SALES INFORMATION:
    PRODUCT PURCHASE DATE:
    INVOICE/RECEIPT NUMBER:
    PRODUCT SERIAL NUMBER:
    PRODUCT IMEI/MEID:
    PRODUCT DESCRIPTION:
    BUSINESS/INSTITUTION NAME:
    REQUESTOR NAME/TITLE:
    PHONE NUMBER:
    STREET ADDRESS:
    CITY:
    STATE:
    POSTAL CODE:
    EMAIL ADDRESS:
    UNLOCK AUTHORIZATION STATEMENT: I [YOUR NAME] representing
    [BUSINESS/INSTITUTION NAME] authorize Apple, Inc. to unlock the devices listed.
    Best regards,
    The Apple Support Team

  • I am having to reinstall Adobe Pro because of a hard drive failure. I have lost the License Key and need to know how to retrieve it so I can reinstall the product.

    How do I retrieve the Adobe Pro License key/# so I can reinstall on my computer. I had to have the hard drive replaced due to failure and don't have the necessary information to reinstall Adobe Pro.

    As this was a 1,000 USD + purchase I did registered back in 2008 when I got my copy of "Adobe Creative Suite 3 Design Premium". And now I'm in the same situation as you. I did go to manage my account and found my serial number.
    My disk crashed completely and I got everything back and running from my Time Machine backup. A few days ago Illustrator said there was a licensing issue. I tried all their gradual solutions up to the very last one: Reinstalling.
    I did that and inserted the Serial number; it worked. Now that I'm opening the Adobe Acrobat Pro it requires me to input the serial and it says is invalid!
    Anyone has an idea about this?

  • I just purchased an audio book from I tunes for my I pod and I need to know how to get it from my PC to the I pod?

    How can I transfer the audio book from my PC to my I Pod

    Welcome to the Apple community.
    Connect it to iTunes, select the device in the device list in iTunes, select the audiobook from the various sync options and sync.

  • I need to know how to disable cookies

    I have an Android Alcatel one touch fierce two, I need to know how eliminate cookies. Please advise

    You can clear the already-stored cookies as described in this article: [[Clear your browsing history and other personal data on Firefox for Android]].
    Going forward, see: [[Enable or disable cookies on Firefox for Android]].
    That is not to say that all sites will work correctly with cookies disabled... if you don't mind storing cookies for the duration of the time you are working with a site, you can open it in a private tab instead.

  • Hello I need to know how to export a frame as TIF file

    Hello I need to know how to export TIF or JPEG Files from the Timeline. Thanks for your assistance.

    Place the playhead on the frame you wish to export.
    Go to the menu File > Export > Using Quicktime Conversion . . .
    At the bottom of the pane that open, choose Format: Still Image and click the Options Button
    In the pane that opens, choose either Tif of Jpeg and click OK
    Navigate to where you want the image stored, change the name if you want, and click Save.
    MtD

  • Information about my hyperlinks disappeared from my hyperlinks panel and I need to know how to restore it.

    I am using InDesign CS6 for Windows. Information about my hyperlinks disappeared from my hyperlinks panel and I need to know how to restore it. I clicked on the panel and the hyperlinks section disappeared. I can see cross-references, but not hyperlinks.

    1.  Re: Information about my hyperlinks disappeared from my hyperlinks panel and I need to know how to restore it.
    Thank you. I can see the word, and I tried dragging but there is no moving the divider.

  • My family put multiple devices on the icloud, and I need to know how to manage duplicate entries.  Specifically contacts.  If I fix the contact list on my pc will it push the info out to the other devices and maintain it correctly?

    My family put multiple devices on the icloud, and I need to know how to manage duplicate entries.  Specifically contacts.  If I fix the contact list on my pc will it push the info out to the other devices and maintain it correctly?

    All devices signed into the same iCloud account will finish up with the same contacts. Of course if prior to joining iCloud two family members each had an entry for Uncle Fred, then you will finish up with two contact cards for Uncle Fred, and so on. If you tidy this up on your computer then the changes will propagate to everyone else.

  • I received LR 5 for Christmas but have not downloaded it yet on my computer. I have had LR 3 for about 4 years.  I am due to buy a new computer soon but need to know how many licenses/downloads I will get before downloading LR 5 on my current computer.  I

    I received LR 5 for Christmas but have not downloaded it yet on my computer. I have had LR 3 for about 4 years.  I am due to buy a new computer soon but need to know how many licenses/downloads I will get before downloading LR 5 on my current computer.  I may also purchase a laptop in the next year so that would require 3 licenses altogether (current iMac, future iMac, future macbook).

    You have one license.
    You can download and install it on an infinite number of computers, as long as it is only installed on two of your computers at any one time, and in use on only one computer at any given time.
    So in your case, current iMac, that's would mean its installed on one computer, no problem. Future iMac and future MacBook ... so if you uninstall from current iMac and install on Future iMac and future MacBook, it's now installed on two computers at a time, no problem, as long as you're not using Lightroom on both simultaneously. And if after that, you got two new computers and uninstalled Lightroom from the previous two, you're still good, it's only installed on two computers at any one time.

Maybe you are looking for