Can we create two different forms in one program

Hi Experts,
i have to create a smartform in which there is two type credit and second is invoice.If the type is invoice then open a different form in size also and if it is credit then open a different form . Is it possible that we can craete two different forms in one program.can hide the form according to type.

Hi
Yes u can just simply
START-OF-SELECTION.
  PERFORM CHECK_INVOICE.
For Credit Memo
  IF W_DOC_CAT = 'O'.
    PERFORM GET_HEADER_DATA1.
    PERFORM GET_DATA_ITEM1.
    PERFORM GET_FOOTER_DETAIL1.
    PERFORM GET_HEADER_TEXTS1.
    PERFORM DISPLAY_SMARTFORM_CREDIT.
  ENDIF.
For Debit Memo
  IF W_DOC_CAT = 'P'.
    PERFORM GET_HEADER_DATA2.
    PERFORM GET_DATA_ITEM2.
    PERFORM GET_FOOTER_DETAIL2.
    PERFORM GET_HEADER_TEXTS2.
    PERFORM DISPLAY_SMARTFORM_DEBIT.
  ENDIF.
try and

Similar Messages

  • How can I use two differant iphones on one itunes

    I can i use two differant iphones on one itunes, and keep the content seperate?

    You can sync as many iphones/ipod/ipads as you like to one computer.
    Each is different and is recognized as such

  • How can i sync two different ipods to one computer

    How can i sync two different ipods to one computer

    How to use multiple iPods, iPads, or iPhones with one computer

  • Can we create two "TS17900100" tasks in one WF to update IT with Wait time

    Hello Folks ,
                  I have scenario in which I have to update two infotypes but with some wait time .  I have created to form scenarios and attached those scenarios in my WF  binding one by one .
    I have two WF TS17900100 task * first one has scenario update_1  and has wait time and also has approval in between .
    For my other WF TS17900100 task  , I have scenario update_2  as well as approval .
    What is the issue .
    It is update Infotype but creating 2 records because of the reason I am executing u201CTS17900100u201D task twice. But my question is it has the different form scenario inside  with different set of fields which I selected back in u201CDesign time u201C .
    Any idea how to get  rid of double entries .  Note: per my requirement I need a wait time in between  process .
    Thanks.
    Khan

    I am doing it already !!
    Thanks .
    Khan
    Check out http://www.aspirehr.com/dynamicforms/

  • Can we create two different Segments at client and company level

    We have a particular requirement in segments reporting. we have to provide product wise segments reporting at client level and for income tax purpose one of our manufacturing plant has to maintain a separate books of accounts for this purpose we want to create a separate geographically at company level of this plant which is in different state. can we create this type of segments for separate books at company level.
    If there is any other process where we can get separate books of accounts.

    Dear,
    Of course you can do this but only worrysome thing will business users will be confused between the Plant and product line business segment.
    You must have Product Line (for e.g. segment 1000) is manufacture at plant 1000 (segment 2000), so when any expense occur in Plant 1000 for Product Line 1000 which segment should be used???
    So give precedence to segment whichever you want......and costantly monitor entries being posted to thses segment...
    Regards,
    Chintan Joshi

  • How can I create two different home pages or set up two different tabs when I open my firefox browser?

    I want to open up my Firefox browser and have two different tabs on my home page. How do I do that? Thanks!

    http://support.mozilla.com/en-US/kb/How+to+set+the+home+page

  • Can I create two different FDM applications in a single database?

    Hi,
    Atpresent we are using separate database (MSSQL Server 2008) for each FDM applications, now our databases have increased in numbers due to increase in number of applications.
    Now we are searching for any possibility to use a single database for more than one different FDM applications inorder to reduce the new database creation numbers in future.
    Any suggestions would be greatly helpful.
    Thanks in advance.
    Abdulla Javeed Hassan

    Yes. Reduce the number of FDM applications you are creating. You can have multiple target system adapters in a single FDM application (i.e. a single database only required). There is no need to create a new application for each target system.

  • Can I have two different accounts on one computer?

    EXAMPLE I HAVE THE IPOD CLASSIC AND THE IPHONE5, I WANT TO HAVE SEPERATE ACCOUNTS FOR EACH ON THE SAME PC. IS THAT POSSIBLE?????????

    Sure... How to Use Multiple iDevices with One Computer
    Also... have a read here...
    https://discussions.apple.com/message/18409815?ac_cid=ha

  • Creating to BDC's in one program

    Hi Experts,
    Can we create two BDC's in one program.

    Hi Lokesh Reddy,
    Ofcourse you can create more than 1 BDC in a single program
    I have myself created 4 BDCs in single program.
    Just remember to call the Transactions in correct order and also loop them properly, at times wrong looping messes up the BDC.
    If you feel all transactions calling in 1 loop are confusing you, then u can club 2 transactions in 1 loop.
    so that your 1st loop executes 2 transactions, once that loop is successfully over, the control moves onto the next loop, with same or different transactions. Dont worry the same data will be used by both the loops, as it'll be looping on the same internal table.
    If your BDCs are not using same data, some are using 1st few columns, some the rest one
    at such times wat u can do is take all data from flat file into 1 internal table and then individually move particular columns to another internal table.
    then the BDCs that require data from 1st internal table, so loop at that internal table
    the ones which need data from another internal table, so loop at the other internal table.
    Please note as many recordings / BDCs u call those many number of time u have to write the statement.
    CALL TRANSACTION.....
    Like I wrote 4 BDCs in single program, I had to write CALL TRANSACTION 4 times.
    Once u finish everything...put a break point and debug the whole program, u'll actually get to see the flow in which ur data is read, used by bdc, enters the data, how the control moves from 1 BDC to another, how the control goes from 1 LOOP to another, etc.
    debug it in foreground 1st mode 'A', once u feel its going fine, then change it to background mode 'N'.
    I hope this would help u All The Best.
    Regards,
    RadhikaS

  • Create two different printer profiles in ePrintCenter.

    Dear,
    I want to create two different printer profiles: one "color" printer and one "black & white" printer.
    In the ePrintCenter you can only create one kind of profile. (Associated with one e-mail address)
    Is it possible to set this up?
    Regards.
    Printer: HP OfficeJet 6500A

    Hello skeg,
    At this point there is not a way to create two different profiles on an account in ePrintCenter. The only way to switch between the two would be manually on the "ePrint Settings" within ePrintCenter.
    If you were trying to do this from an iPhone or Android phone it would be possible to download the HP ePrint home & biz app which would allow you more options regarding printing in color and paper size and type.
    If I have solved your issue, please feel free to provide kudos and make sure you mark this thread as solution provided!
    Although I work for HP, my posts and replies are my own opinion and not those of HP.

  • How can I set two different emails in only one contact form?

    How can I set two different emails in only one contact form?

    To enter multiple email address with the Contact Form Widgets:
    Click the Options icon for the selected widget, then
    In the Email to box, enter multiple emails by delimiting them with a semi-colon. For example: [email protected];[email protected]
    Cari

  • Generally when creating a Word file from either a Mac or Win7 pc and opening it on two different machines (either one first) it always prompts that the file is open and will be opened as read only. However opening a CSS file does not prompt that it is alr

    Generally when creating a Word file from either a Mac or Win7 pc and opening it on two different machines (either one first) it always prompts that the file is open and will be opened as read only.
    However opening a CSS file does not prompt that it is already open on or from any machine which is causing code edits to be lost.
    What we found from out testing:
    - The file can be saved from one user to the server and WILL NOT PROMPT on other machines until the saving machine has the Dreamweaver program closed completely
    - The file can be closed and  Dreamweaver minimised to the launch bar but it still will not register on other machines that it has been changed.
    - Also, until the  Dreamweaver program is closed on the machines, it will continue to open it's saved version of the file. 
    Example Scenario:
    - User 1 opens test.css (which is 2000 lines) and adds some code to the end of the file to bring it up to 2500 lines
    - Meanwhile User 2 opens test.css as well (opens as 2000 lines as User 1’s edits have not yet been saved) and adds in code to bring it to 2300 lines
    - User 1 saves his file and closes it - but  Dreamweaver is still open.
    - User 2 also saves his file and leaves  Dreamweaver  open.
    - The server will report the size and last edit of the file the same as User 2 as he was the last person to save it (and if you open from the Win7 Machine it will show as User 2’s 2300 line version)
    - If User 1 then open's the file again (from either the 'recent' in Dreamweaver OR clicking on the file directly in Finder...which version opens.... The version that User 1 saved! Not the true version on the server, but the version that User 1 edited and saved with 2500 lines in it.
    - Same for User 2, he will open 'his' version with 2300 lines in.
    Other information:
    - Files are opened directly from the server
    - Sometimes the users will save incrementally and re-open
    - Most of the time users will save incrementally and keep the files open
    - The users will never not save incrementally and just save when closing the file once finished
    - The users are usually working on the files all day
    - It is always the bottom lines of code that are lost. It could be a case of the two versions being mixed up and cutting off the newly added lines based on the line count (possibly).
    It is as if Dreamweaver is holding a cache of the version locally and then only properly looking back to the server when it has been completely closed. It is very difficult to see how the server is causing such an impact on these files, there are very few logs which are giving any indication to the root cause of the problems.
    Anyone know if this is a known issue?
    Is there a way that there can be a featured implemented on the server that doesn't allow another user to open a file if it is already open on another machine?
    Thanks

    Your server file handling has nothing, and really nothing to do with Adobe software. If files don't get locked for (over-)writing and/or lose connection to the program opening them, then your server is misconfigured. It's as plain and simple and that. Anything from "known file types"/ file associations not being set correctly, MIME types being botched, crooked user privileges and file permissions, missing Mac server extensions, delayed file writing on the server, generic network timeout issues and what have you. Either way, you have written a longwinded post with no real value since you haven't bothered to provide any proper technical info, most notably about the alleged server. Either way, the only way you can "fix" it is by straightening out your server and network configuration, not some magic switch in Adobe's software.
    Mylenium

  • How can we have two different Itunes libraries on one computer?

    How can we have two Itunes accounts on one computer?  I found info on the itunes help page but I do not know how to follow the steps given because I am not prompted with what it says I should be prompted with? Please help I don't want to delete one of our libraries

    Launch iTunes with the Shift key held down as needed, or use different Windows XP user accounts.
    (74282)

  • Have two i phones owned by one person.  Gave older I phone 4 to spouse.  All synced items going to both phones.  Created two different Apple ID Accounts but still having problems.  Bought more icloud for one device but it went to the other one didnt need

    How can i seperate to i phones that have been synced together.  I created two different Apple Id accounts but for instance my icloud purchase didnt go to the phone i needed it to go to

    If you look at Settings > iCloud on each phone, is the Account different? The Apple ID listed there should control iCloud storage allocation.  [I assume your "icloud purchase" was more storage capacity.]
    The Apple ID is separately specified to control iMessage, iTunes and App Store purchases, etc.

  • Can I use two different devices with different apple ID for backing up data on one machine without losing any data that was backed up with one device earlier?

    Can I use two different devices with different apple ID for backing up data on one machine without losing any data that was backed up with one device earlier?

    The link is to a discussion started on 12/18 in the FiOS Internet forum.  Here's the link I get now, however it is different than the link I pulled a few hours ago.  If this system changes the link again, it may not work.
    http://forums.verizon.com/t5/FiOS-Internet/Frustration-and-just-confused-with-internet-help-please/t...
    You can also look for the topic, "frustration and just confused" in the FiOS Internet forum.
    Here's a link that is in the thread that gives more detail.
    https://secure.dslreports.com/faq/15984
    Good Luck!
    P.S.  "Copper Contributor" is my "rank."  gs0b is my user name.
    If a forum member gives an answer you like, give them the Kudos they deserve. If a member gives you the answer to your question, mark the answer as Accepted Solution so others can see the solution to the problem.

Maybe you are looking for

  • Error while exporting Quincy demo data in ATG 9.3

    Hi there, I am trying to export ATG 9.3 quincy demo data from Solid to Oracle but I get this strange problem while running the command. Environment = Ubuntu 11.10 64 bit, Jboss EAP 4.2, ATG 9.3, Sun JDK 1.6 Update 26 Went to ATG Home/bin tenzing:$./s

  • Creating a DVD without any Menus (No Themes)

    I know how to set iDVD to create a DVD to play immediately when inserted in a DVD player. However, when the show is over, it goes to a menu. Which I do not want it to do. How can I create a DVD without any menu?

  • How do i find what generation my iPad is

    how do i find what generation my iPad is

  • Web Services Timeout

    I have a problem to specify the timeout of a service web. I have a client who accedes with Axis to a service web. I have the following code but it does not work: locator= new Locator(); servicio= locator.getPort(); ((org.apache.axis.client.Stub)(serv

  • InDesign Cc trial

    The InDesign icon show as up to date in my CC window, but is not visible in my applications folder.