Smartforms need to generate one DC NO

Hi Experts,
I am developed one Delivery challan smartform.
It's working is fine, but the probelm is i am create one ZTABLE with the fields (Date, Delivery Number,Route ,DCNO and CDCNO) while i am execute the smartforms i need to update the DCNO with some number like 1234 with check the condition Delivery no is not euql to space and DC no is space then i need to generate the DC NO .
How to proceed DC NO like 1234 , 1235 1236 like that.
Pls helpme.
Thanks in Advance
purnaneelu

hi
These are all the Randon no gene, FM
Please check it ...
RANDOM_AMOUNT
RANDOM_C
RANDOM_C_BY_SET
RANDOM_F8
RANDOM_I2
RANDOM_I4
RANDOM_INITIALIZE
RANDOM_P
RANDOM_TABLE_ENTRY
NUMBER_GET_NEXT
GUID_CREATE
Thanks
Dharma

Similar Messages

  • Why do v need 2 generate new smartform from scratch when v have a standard

    hi experts
    why do v need 2 generate new smartform from scratch when v have so many standard smartforms can any one explain in detail the scenario where v have 2 do that
    thanks
    bhanu

    Hello Bhanu,
    Standard smartforms are for standard SAP applications.
    Every client will customise standard SAP to suit their own requirements. So if there is a requirement specific to the cleint, they can ask us to develop a custom Smartform.
    Award points if found useful.
    Regards
    Indrajit.

  • How to generate one invoice for a sales order with product returns

    Hi All,
    I have a sales order that has been delivered and goods issue posted. Now the customer returns some of the product and I generated a Return using VA01 - document type RE, generated a returns delivery and posted a goods return.
    I need to generate an invoice that will only consider the quantities that were not returned.
    I have checked the sales process pertaining to returns, but all I have found consider generating a Credit Memo.
    Is there a way to generate an invoice that will only invoice the quantities that were not returned? Say I sold 10 pcs, and 2 were returned, so I want to invoice 8.
    Many thanks in advance.
    Oscar

    Hi Sandeep, Jyotsana, Goutham. Thank you all for your time and your replies.
    What is happenning here is that there is a vendor-client relationship where there is a constant flow of purchase orders, and the orders are large.
    I understand that it is standard SAP procedure, but in this case, it is not the most efficient. I have two alternatives the way I see it:
    1. Post the invoices according to SAP Standard, and then the Credit Memo.
    2. Reverse the Purchase Order.
    There are disadvantages with both alternatives:
    1. I get much more paperwork than I really need.
    2. When I get the returns, the delivery, picking and goods issue have been posted, and I would have to reverse all that. Not a very good Idea I think, especially if I have a purchase order with 150 different materials and I get a return of 2 items of one material.
    Again, thanks for your replies. From what you have told me I am thinking that what I'll need is to implement a User Exit or Badi.
    Best Regards,
    Oscar

  • Need to generate the excel file with diffrent sheets using utl_file package

    Hi,
    Sorry for previous message in which I had missed the usage of " UTL_FILE " package
    I need to generate the excel file with diffrent sheets . Currently I am generating the data in three diffrent excel files using
    " UTL_File " package and my requirement is to generate this in a single excel file with diffrent sheets.
    Please help on this
    Thanks & Regards,
    Krishna Vyavahare

    Hello 10866107,
    at Re: How to save a query result and export it to, say excell? you can find links to different solutions. At least the packages behind second and fourth link support more than one worksheet.
    Regards
    Marcus

  • Generate one time authentication for Guest on Cisco WLC

    Hi All
    Sorry for my question, because I just started to work with Cisco WLC.
    I have created some WLAN for local users with authentication by 802.1x + Radius by certificate.
    For Guest I used PSK with MAC-filtering.
    But I see that is not comfortable for Guests, each time they come and want to access our wireless, we have to come and get their MAC.
    I checked on Internet and find that the wireless solution for Hotel, Resorts are very easy.
    I also googled and see that Cisco WLC support Lobby Ambassador to generate Guest username/password. But as I checked, this username/password might only use with Web-Auth, this method is not comfortable for Guest who don't know they have to go to Web-Auth to do authentication (e.g: when they only get pop3 email, or vpn, ... not use browsers)
    Could I use this method (or another method) for creating one time Guest wireless username/password or Guest PSK that can be used for authentication when Guests click to Wireless-SSID name only (no need to open web browser to do Web-Auth).
    Regards
    Hai

    Hi Choudhary
    Thank you much for your information
    Could I reconfirm about my concern.
    With Cisco WLC, I can use WebAuth with Guest user only
    If I want to use Guest user for authentication when guests connect to SSID (not by WebAuth, I means use Layer 2 security only, not Layer 3), I will have to use additional Radius Server.
    And if I understand right, could you please recommend me software based Radius Server with support generate one time username/password for Guest, because I checked IAS/NPS on windows server may not have this function (ISE is not appropriate for us at this time, due to high expense)
    Regards
    Hai

  • Can not generate one xsd file  for message type in xi

    Dear Experts.
    I am not able to generate  one XSD file from  message type from XI 3.0, When i select message type and go to XSD tab  then click on export xsd to file, it is generating two xsd files MainSchema.xsd,  Schema1.xsd  into one zip file, but i need only one xsd file to import it into MDM.
    Could you please help
    Thanks and Regards.
    Sravya.
    The following are the two files. MainSchema.xsd,  Schema1.xsd .

    Hi Harsha,
    Thanks lot for the immediate response. Appreciate it.
    Now I am able to generate the one xsd with your inputs , but i am not able to load it into mdm with out any changes in the generated XSD from Message Type. the below is only the original root tag, where modification required.
    Original  Element : MDM_CUST_MASTER_FILE_REQUEST_MT
    ==============
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:abc.com:MDM_Customer_Master_ECC" targetNamespace="urn:abc.com:MDM_Customer_Master_ECC">
    <xsd:element name="MDM_CUST_MASTER_FILE_REQUEST_MT" type="MDM_CUST_MASTER_FILE_REQUEST_DT" />
    etc.
    Case :.When i modify the above element as below  with out xmlns, targetNamespace
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <xsd:element name="MDM_CUST_MASTER_FILE_REQUEST_MT" type="MDM_CUST_MASTER_FILE_REQUEST_DT" />
    I can import xsd into mdm with the above modification.
    The generated XML out put File from mdm is having message type tag like below
    ?xml version="1.0" encoding="UTF-8"?>
    <MDM_CUST_MASTER_FILE_REQUEST_MT> 
    <CUSTOMER> </customer> ...
    note: no namespace for message type
    Result:
    1.When i send this xml file into XI it is failing in message mapping  because it doesn't have namespace attached to it and failing in message mapping.
    Finally i need your help to generate the xsd or data file like below to avoid mapping problem in xi.
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:MDM_CUST_MASTER_FILE_REQUEST_MT xmlns:ns0=urn:abc.com:MDM_Customer_Master_ECC>
    Appreciate your help.
    Thanks and Regards.
    Sravya.

  • Need to generate 2 idoc"mapping issue"

    Hi Experts,
    When the Purchase_order_type is coming like HIGH,REGULAR,NEW,BOUNCED. In this case i need to generate 2 idoc, based on HIGH is one and Other than HIGH is one, even though if it's REGULAR,NEW,BOUNCED.
    I can't generate. pl suggest
    rgds
    selvam

    Hi,
    Please make sure you will sort the data in your select query.
    Now, you need to have two idocs in mapping. Click on Duplicate Subtree to have second IDOC. Now lets assume, your first IDOC represents mapping when ORDER TYPE is HIGH and your second IDOC represents mapping when your ORDER TYPE is not equal to HIGH that is NEW, BOUNCED, REGULAR etc.
    I have defined Source and Target data type as follows.
    Source Data Type:
    SDN
       <Row>
          <CQ_NO/>
          <ORDER_TYPE/>
          <LINE_NO/>
       </Row>
    Target Data Type:
    SDNTarget
       <IDOC>
          <Node>
             <CQ_NO/>
             <ORDER_TYPE/>
             <ItemNode>
                <LINENO/>
             </ItemNode>
          </Node>
       </IDOC>
    Mapping for IDOC 1:
    IDOC:
    Order Type -->Fix Values --> remove context
    Fix Values (This should have default u201Cfalseu201D and HIGH = true)
    Concatenate Output of point 1 with CQ_NO (Context of CQ_NO should be at SDN)
    Output of point 3 --> Split by value (value changed) -->collapse context
    Output of point 4 will be first input to u201CStart withu201D function and second input will be constant u201Ctrueu201D
    Output of Point 5 --> create if --> IDOC
    Node:
    Map with constant
    CQ_NO:
    Order Type --> Fix Values --> remove context
    Fix Values (This should have default u201Cfalseu201D and HIGH = true)
    Concatenate Output of point 1 with CQ_NO (Context of CQ_NO should be at SDN)
    Output of point 3 --> Split by value (value changed)
    User Format By example. Pass CQ_NO (Context of CQ_NO should be at Row) as first input and second input should be output of point 4.
    Pass Output of format by example that is point no 5, to collapse context --> Split by value (Each Value) --> CQ_NO
    ORDER_TYPE
    Order Type --> Fix Values --> remove context
    Fix Values (This should have default u201Cfalseu201D and HIGH = true)
    Concatenate Output of point 1 with CQ_NO (Context of CQ_NO should be at SDN)
    Output of point 3 --> Split by value (value changed)
    User Format By example. Pass ORDER_TYPE (Context of CQ_NO should be at Row) as first input and second input should be output of point 4.
    Item Node:
    Order Type --> Fix Values --> remove context
    Fix Values (This should have default u201Cfalseu201D and HIGH = true)
    Concatenate Output of point 1 with CQ_NO (Context of CQ_NO should be at SDN)
    Output of point 3 --> Split by value (value changed)
    Output of point 4 will be first input to u201CStart withu201D function and second input will be constant u201Ctrueu201D
    Output of Point 5 --> create if --> IDOC

  • Need to Generate sequence of dates

    Hi,
    Given a Date as sysdate and any number like 10 and we need to generate a sequence of days with an interval on one month.
    we can consider sysdate '25-may-2012' and 10 as inputs to the function and the output need to be something like this.
    else a single select statement shall also work
    '25-may-2012'
    '25-jun-2012'
    '25-jul-2012'
    '25-aug-2012'
    '25-sep-2012'
    '25-oct-2012'
    '25-nov-2012'
    '25-dec-2012'
    '25-jan-2013'
    '25-feb-2013'Please advise.
    Regards

    Just a hint:
    iteration_number starts with 0
    select dt,iter
    from dual
    model
    dimension by (1 as x)
    measures (to_date('25-may-2012', 'dd-mon-yyyy', 'NLS_DATE_LANGUAGE = ENGLISH') as dt, 0 iter)
    rules iterate (10)
    dt[iteration_number] = add_months(dt[1], iteration_number - 1)
    ,iter[iteration_number]=iteration_number
    DT     ITER
    05/25/2012     1
    04/25/2012     0
    06/25/2012     2
    07/25/2012     3
    08/25/2012     4
    09/25/2012     5
    10/25/2012     6
    11/25/2012     7
    12/25/2012     8
    01/25/2013     9no need for -1 therefor ;-)

  • Smartform need to be executed  on multiple cleints.

    Hi all,
    My sceanrio is like i have smartform and that smartform need to be executed on multiple systems.
    We have different clients with different system number but server is at same IP.
    for eg : Client 130
               System Id - 05
               IP - 192.168.101.102
    Another Client - 140
                System Id - 09
                IP - 192.168.101.102
    The smartforms is attached by output type.
    Now sceanrio is when i execute the smartform in client 130 it executes successfully.
    But when i tried to execute the same in client 140 then it says "no runtime object exists for form" .When i execute the smartform in client 140 then it successfully executes.
    So if we have 10 more cleint then everytime we have to execute and generate function module for smartform.
    Is there is some thing i am missing .
    Please advise.
    Regards,

    hi navdeep,
    basically smartform is independent of client.
    plz check the required output type is defined in otherclients also.
    other wise define them in SPRO or NACE.
    then it will work.
    i hope it will help you.
    please reward me if helpful.
    gupta

  • Dreamweaver CC generates one of 3 error messages when using find and replace on Win 8.1 64 bit.

    Dreamweaver CC generates one of 3 error messages when using find and replace is used more than twice in succession. "While executing onLoad in bc_afterSave.htm, the following JavaScript error(s) occurred: At line 188 of file C:\Program Files (x86)\Adobe|Adobe DreamweaverCC|Configuration|Shared|BC\JS\bc_sites.js": out of memory"
    or
    While executing runCommand in File_Save.htm, a JavaScript erroroccurred.
    or
    While exciting getDynamicContent inAdressURL.htm, a Javascript erroroccirred.
    Any thoughts - I end up closing DWCC and reopening. Will work for two additional Find and Replace before the error messaged\s popup again.

    bkaufman43 wrote:
    Thanks Jon. I tried all of those solutions before posting. Same problem. It seems that the problem is tied to DWCC. Do not have the problem when using DW6 on Win8.1. When running DWCC on a Win7 pc, we get the same error message. When running DW6 on Win 7, f&c works fine. It seems to be a bug in DWCC. DWCC works flawlessly on our Macs.
    The same steps apply to DWCC, you just need to choose the CC folders rather than the DWCS4-6 versions that the page talks about. The layout of CC's folders hasn't changed from the older versions which is why, I think, Adobe hasn't updated the troubleshooting page as of yet.
    As Nancy mentions, a 38,500 page site is sort of ridiculously large for a static website, that could be part of the problem, but your response quoted above leads me to think you may have tried the troubleshooting steps in the wrong version of the program. Could you confirm that?

  • Reg : I need to generate a file name sequence number.

    Dear All,
    I need to generate file name in sequence number. Now i have generated file in specific folder. In that folder file i am reading one by one and generating. Problem is folder file some names having special characte those names are not generating while reading 'Cat' Caommand in shell script. Instad of that i want to generate files in 1.ldt,2.ldt to etc..
    Please guide me how to generate in specific folder.
    Thanks in advance.
    Best Regards,
    Velu.

    First, LabVIEW 7 allows you to pass string and path data types directly into the Matlab script node. Otherwise, in LV <= 6.1 you can do the following:
    In LabVIEW, convert the string to an array of U8s using the String to Byte Array function. Then pass the U8 array into the Matlab script node as a Real Vector type. Finally, in Matlab, convert the Real Vector to a string using the char() function. For example:
    stringAsString = char(stringAsRealVector)
    Attached is an image that shows how to do this.
    Good luck,
    -Jim
    Attachments:
    Matlab_Script_Node_String_Input.GIF ‏6 KB

  • Need to generate a TTL pulse of 3 ms using USB Daq 6361

    Hi all,
    I need to generate a TTL pulse of 3 ~ 5 ms to trigger my external device. I am using USB daq 6361 with BNC connectors. I tried to use this examples(attached) but was not succesfull , can any one help me out in this, I just want a TTL pulse out to trigger my device. I tried to modify the example to see the wave form out but all it shows is a straight line. I want to generate a TTL pulse as soon as my program starts.
    Am I using wrong example? should I use somethis else to generate the pulse. please let me know.
    Thanks,
    Attachments:
    Capture.PNG ‏76 KB
    Digital - Continuous Output_ttl.vi ‏65 KB

    AnkitG wrote:
    Jeff·Þ·Bohrer wrote:
    Why would you create an Task with an analog output?  its a Digital line you want to drive! and, just create it in the project.
    Hi Jeff,
    thanks but I couldnt understand , what you meant by create in project? Can you please explain. should I create digital line but I am still getting the same error.
    Creating DAQmx items in Project Explorer saves the DAQmx object properties as part of the *.lvproj file.  This can be very useful when the Task configuration does not change in the built application and you seldom want to use the task elsewhere.  If you want to make minor tweaks to configuration of the run-time app there is even a human readable text file in the build output where properties like scale offsets, timing rates or ranges can be modified without redeploying a new app.  
    Jeff

  • Need to generate Unique User IDs in OIM

    Hi,
    I am working in OIM 9.1 environment right now. I need to generate unique User IDs for all the users who come via self request. My problem is that while creating the user ids, I can search for the existing users in OIM and AD easily, but i am unable to search the users for whom the request has been made but approval is pending. Such user ids are reserved in OIM so if an employee with the same first and last name comes, there might be a conflict which might lead to an error. Can someone suggest any api or query using which I can search for these IDs under request in OIM.

    If i use the userid generator as Pre-Insert, there will be a conflict if two similar named users request at the same time (or if one of the request is yet to be approved).
    I am getting the below error while creating user id as Pre-Insert. What is the correct way of getting this done? Please suggest.
    012-11-20 19:25:41,787 INFO [STDOUT] Running CREATEUSERINOIM
    2012-11-20 19:25:41,788 INFO [STDOUT] Target Class = com.pldt.adapter.createuser.CreateUserInOIM
    2012-11-20 19:25:41,788 INFO [STDOUT] ***********************Inside Create User****************************
    2012-11-20 19:25:41,805 INFO [STDOUT] =====================Before Date Insert===============
    2012-11-20 19:25:41,805 INFO [STDOUT] =====================hiredate===============1970-01-01
    2012-11-20 19:25:41,805 INFO [STDOUT] ***************************section***************XTNL Active
    2012-11-20 19:25:42,647 INFO [STDOUT] Running DISABLEUSERINOIM
    2012-11-20 19:25:42,649 INFO [STDOUT] Target Class = com.pldt.adapter.disableuser.DisableUserInOIM
    2012-11-20 19:25:42,649 INFO [STDOUT] Entered Method retrieveUtility in SelectApprovalUser class
    2012-11-20 19:25:42,662 INFO [STDOUT] *************************************Inside disableOIMUser**********************
    2012-11-20 19:25:42,662 INFO [STDOUT] *************************************2**************
    2012-11-20 19:25:42,663 INFO [STDOUT] ******************tcUserIntf**********Thor.API.Operations.tcUserOperationsClient@5fd3131f
    2012-11-20 19:25:42,663 INFO [STDOUT] *************usrkey**********713
    2012-11-20 19:25:42,664 INFO [STDOUT] *************usrkey**********XTNL Active
    2012-11-20 19:25:42,664 INFO [STDOUT] ********************employeeGroup check Value*************XTNL Active
    2012-11-20 19:25:42,664 INFO [STDOUT] returning False
    2012-11-20 19:25:42,797 INFO [STDOUT] ***********************User Created Succesfully****************************
    2012-11-20 19:25:42,848 INFO [STDOUT] **************************Employee Group**********XTNL Active
    2012-11-20 19:25:44,199 INFO [STDOUT] Running CREATEUSERINOIM
    2012-11-20 19:25:44,200 INFO [STDOUT] Target Class = com.pldt.adapter.createuser.CreateUserInOIM
    2012-11-20 19:25:44,200 INFO [STDOUT] ***********************Inside Create User****************************
    2012-11-20 19:25:44,212 INFO [STDOUT] =====================Before Date Insert===============
    2012-11-20 19:25:44,213 INFO [STDOUT] =====================hiredate===============1970-01-01
    2012-11-20 19:25:44,213 INFO [STDOUT] ***************************section***************XTNL Active
    2012-11-20 19:25:44,255 ERROR [XELLERATE.SERVER] Class/Method: tcUSR/verifyUserLogin Error :User Loginid is duplicate.
    2012-11-20 19:25:44,258 ERROR [XELLERATE.SERVER] Class/Method: tcUSR/eventPreInsert Error :User login is not correct.

  • IMovie Needs To Generate Thumbnails

    When I open iMovie I get this message:
    iMovie needs to generate thumbnails for the videos in your iPhoto library. This process may take several minutes.
    You can postpone this operation by clicking Later, but your iPhoto videos will be unavailable until the next time you restart iMovie.
    I can either choose Later or Now. When I choose now, it begins to "generate my thumbnails", but the time remaining starts at about 2 minutes and continues to climb until the time remaining is as high as 100 minutes and I have to force quit. When I choose later, all of my clips have an exclamation point in the corner and I am unable to view any of them.
    How do I fix this?

    Hey!!!!
    What imovie is doing is basically making all the movie clips from iphoto accessible. The amount of movie clips you have in iphoto affects the time. You might try going through your movies in iphoto and cutting back on the ones you don't need. Or you could just wait.
    Sometimes the mac estimated time things do the climbing thing. Depending on what you are doing, they sometimes drop as quickly as they climb.
    The fact of the matter is that it might just take that long. So you just have to be patient.
    -Hooked

  • IPhoto needs to generate thumbnails, then freezes. What can I do?

         When I open iPhoto, it says that it needs to generate thumbnails. As it does, popups say "Alert cannot find file." There are about one to two hundred of these popups, and they have two buttons: "Find file" and "cancel." A loading bar shows the progress, but it only advances when I click "cancel." After an infuriating twenty minutes, the status bar is finally complete, only to have iPhoto freeze. It cancels logout and shutdown; the only way to get out of it is to perform a cold stop. What can I do?
         I should tell you that my photo library is enourmous. It has almost seven thousand high-quality photos and videos. Is this part of the problem?
    Thank you,
    MrMacMan1

    Seven thousand photos is not a big library these days. We've seen reports from people with in excess of 300,000 images in their. I have a library more than 6 times the size of yours, so we can take it that the quantity is not an issue.
    iPhoto is telling you what the problem is - it can't find the files that are meant to be in the Library.
    Are you running a Managed or a Referenced Library?
    A Managed Library, is the default setting, and iPhoto copies files into the iPhoto Library when Importing. The files are then stored in the Library package
    A Referenced Library is when iPhoto is NOT copying the files into the iPhoto Library when importing because you made a change at iPhoto -> Preferences -> Advanced. (You unchecked the option to copy files into the Library on import) The files are then stored where ever you put them and not in the Library package. In this scenario you are responsible for the File Management. 

Maybe you are looking for

  • Reference to control on main front panel fails when subvi front panel is closed?

    Hi All, I'm experiencing an odd bug. In my code, I use a subvi to control a piece of hardware. This subvi has controls for all of the functions of my hardware. I'm changing the value of one of these controls from my main front panel by running a refe

  • Outlook 2007 - Blocked Images "Red X" for HTTPS Links

    Exchange 2007 SP1 / Outlook 2007 SP1 - One of my users receives their airline tickets via email from Delta.  The barcode image in the email is linked to a secure HTTPS site.  Outlook blocks this image but other ISPs (GMail, Charter WebMail, etc...) d

  • Suddenly, outgoing mail is not working

    Hi, I've had the iPhone for 3 months now, and it's worked as advertised. Very glad. I have one email account set up on the phone - one which uses a POP server. Again, for the most part it's worked very well (every so often, when trying to send an ema

  • HT203970 Home Sharing fix is unreliable and not permanent

    Going by other posts on the Apple Forums, this fix is unreliable and not permanent... https://discussions.apple.com/thread/6601112?tstart=0 The fact that this article exists indicates that Apple are aware of the issue yet nothing has been done to res

  • Query regarding Non-RAC to RAC Migration

    Hi, We are migrating a stand alone 11g R2 Database on Linux x86-64 systems to RAC. Should I move my database files to ASM before running rconfig, or rconfig automatically does it. Regards, Charan