MIGO creating New Smartform for BARCODE label

Hi ,
Creating a new smartforms form MIGO Tcode --- i.e. BARCODE LABEL. - From scrach
Input is P.O No. but while writing program from where I have to take input for this ....?
After writing logic where to attach driver program in NACE. ?
Tks:
Maddy

HI ,
As suggested you  can use the standard smartform , by downloading  the package or else you can go for  your own smartform  and print program do it as follows :
for Po  the standrd program uses the form entry_neu  . you call this form in your custom driver program . say in ZPOUCHASE ORDER
form entry_neu using ent_retco type sy-subrc
                               ent_screen type c.
perform get_data.
*****" here get the po number from  nast table  like this  " move nast-objky(10) to g_ebeln." ******
perform get_formname.
get it like this : select single sform
    from tnapr
    into tnapr-sform
   where kschl = nast-kschl " Output Type
     and nacha = nast-nacha " Message transmission
     and kappl = nast-kappl." Application
  if sy-subrc = 0.
    g_formname = tnapr-sform.
endif.*********************************
perform zcallform.
use call function 'SSF_FUNCTION_MODULE_NAME' **************
perform zupdatenakt.
do it like this  **********
nast-vstat = 1.
  nast-usnam = sy-uname.
  nast-datvr = sy-datum.
  nast-uhrvr = sy-uzeit.
  call function 'RV_MESSAGE_UPDATE_SINGLE'
    exporting
      msg_nast = nast.
endform.
assign this driver program in NACE transaction  along with the smartform  name
*****Please use the proper    condition type. NEU in this case "
and since you are getting the value of PO number  from nast  you  can pass this as importing parameter to your custom smart form
and once the po number is known the other values can be easily extracted

Similar Messages

  • New Smartform for Sales Order

    Dear Gurus,
    We need to Print Sales Order & we are creating new Smartform for the same.
    The standard Output type for Sales Order is BA00, but we have created new output & assigneed the same in Output determination.
    Now to the best of my knowledge, the Output type (e.g. BA00) calls a particular standard SAP Program (e.g. RVADOR01) & subsequently that Program transfer Sales Order number & othre data to the SAPScript which Prints the out in required format.
    Now that we are creating a new Smartform our ABAPers are facing a problem on how to import the Sales Order Number in Z-report.
    Can anyone please help...
    Thanks,
    Jignesh mehta

    RVADOR01 is for SAPscripts only, there is a different program for Smartforms. Unfortunately, we don't have it right now and I can't remember the name, but you can find it through the SAP Marketplace or on SDN.
    Even if you have created a custom Smartform, you can still use the standard processing program, as long as the interface is the same. But if you have to develop a custom output program, it probably makes sense to make an exact copy of the standard one and then only to change what's necessary. For example, take a look at the Smartform program for billing output RLB_INVOICE, it wouldn't be much different for the orders. In NAST table you'll get the document number and partner data and you can go from there.
    Hope this helps.

  • Set new smartforms for Plant

    Hi All,
    I have new plant, When  I create new smartform, but a don know how to assigned new form to that plant ?
    Please help me do it !

    I have function in package on database which is param is String and return value is also String(VARCHAR2).
    That function calculate some field on db and return a result.That is OK
    I made VO in my AM.
    "SELECT package_name.func_name("string") from dual" and that is OK also.
    When I start that module I recive valid result from database based on string which I passed to function.
    And that works fine.
    Question :
    How can I change value or how can I set new value for the package_name.func_name(variable) in VO
    during runtime in my application ? ^^^^^^^^
    JDeveloper 9.0.3.988 1. When using stored procedures it would be better to use it in following way:
    Connection conn = //get it some how
    CallableStatement cs = conn.prepareCall("{call myPackage.do_something(?)}");
    cs.registerOutParameter(1, java.sql.Types.VARCHAR);
    cs.execute();
    2. You could parameterize it like this:
    CallableStatement cs = conn.prepareCall("{call " + packageName "." + funcName + "(?)}");
    cs.registerOutParameter(1, java.sql.Types.VARCHAR);
    cs.setString(1,"someString");
    cs.execute();
    String result = cs.getString(1);
    where packageName and funcName are defined elsewhere
    --hery

  • Need Help to create new screen for RF Sapconsole

    Hi Guru's
    I'm new on RF (but some years in ABAP) since last week.
    I need help to create new screens for RF (SAPLLMOB).
    Can someone explain me the procedure to create screen (with ABAP code after) or perhaps someone have an exemple (simple or not) ?
    I have to develop 2 new screens with really few time.
    And, another subsidiary question :
    how SAP can transfert information between the flash gun and the screen i have developped.
    Is there some code to add to enable this functionality or it is include in SAPLLMOB on standard fields ????
    It's a new strange world for me today...
    Many thanks to everyone who can explain me
    Alain

    hi,
    I am facing this problem as well. Is there any reference to create the new screen?
    Hope someone can help! Thanks!
    Regards,
    Darren

  • Create new session for each window opening

    From a jsp page i open a page called student.jsp by clicking on students admision no.Therefore lots of pages can be opend in new windows with relevent student details.
    but when i click on the link i called a servlet, get relevent details and redirect to student.jsp. The problem is ,all opened windows have same session id and there are session conflicts.
    How can i create new sessions for each page thru the servlet or is there any other alternatives

    I actually was working on a problem that was similar to this, and the problem is with how each web-browser works with sessions...
    Each browser window (Except in one case with IE) will use the same session in each window.
    However, you might be able to use URL-Rewritting to manage your sessions and get around using cookies for for session tracking. I personally haven't tried this, but I'm betting that it will work.
    Best of Luck,
    Nate

  • How to create new scope for SharePoint calendar?

    How to create new scope for SharePoint calendar?
    I have a calendar list to which I want to create following scopes-
    Annual View
    Half Year 1 (Jan-June)
    Half Year 2 (Jul-Dec)
    Quarter 1 (Jan-Mar)
    Quarter 2 (Apr-Jun)
    Quarter 3 (Jul-Sep)
    Quarter 4 (Oct-Dec)
    How this can be created. Any help appriciated. Thanks.

    Hi Pratima,
    Can you please see below link and code snippet for how to
     format date in gridview.
    http://www.aspdotnet-suresh.com/2011/05/how-to-set-date-format-in-gridview.html
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
    <title>Gridvew Date format</title>
    </head>
    <body>
    <form id="form1" runat="server">
    <div>
    <asp:GridView runat="server" ID="gvdetails" DataSourceID="dsdetails" AllowPaging="true" AllowSorting="true" AutoGenerateColumns="false">
    <RowStyle BackColor="#EFF3FB" />
    <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
    <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
    <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
    <AlternatingRowStyle BackColor="White" />
    <Columns>
    <asp:BoundField DataField="Date1" HeaderText="Date1" HtmlEncode="false" DataFormatString="{0:s}" />
    <asp:BoundField DataField="Date2" HeaderText="Date2" HtmlEncode="false" DataFormatString="{0:D}" />
    <asp:BoundField DataField="Date3" HeaderText="Date3" HtmlEncode="false" DataFormatString="{0:m}" />
    <asp:BoundField DataField="Date4" HeaderText="Date4" HtmlEncode="false" DataFormatString="{0:d}" />
    <asp:BoundField DataField="Total" HeaderText="Total" HtmlEncode="false" DataFormatString="{0:C2}" />
    </Columns>
    </asp:GridView>
    <asp:SqlDataSource ID="dsdetails" runat="server" SelectCommand="select * from DateFormat" ConnectionString="<%$ConnectionStrings:dbconnection %>"></asp:SqlDataSource>
    </div>
    </form>
    </body>
    </html>
    Hope this will help you.
    Regards
    Soni K

  • Problem in creating new implementation for filter dependent badi

    Hi Experts,
       I want to use badi NOTIF_EVENT_POST.It is a filter dependent badi. It is asking filter type while implementing thro se19. Could anyone pls tel me how to create new implementation for the filter dependent badi. Existing filter type is QMART. is there any problem if i change the filter type?
    Thanks in Advance!

    Hi ,
    NOTIF_EVENT_POST is filter dependent and filter values are based on QMART value in table TQ80. You need to specify the filter value ie : QMART value before implimentation , before that check all active implimentations for the same , if u have to impliment on same filter value , you need to deactivate the one which is implimented on same filter value .
    You are not supposed to change the filter type.
    Regards,
    Vamsi
    Edited by: CH. VAMSHI on Sep 29, 2009 11:58 AM

  • Problem in creating new versions for existing DIR using CV01N

    I am working in SAP ERP 6.0 EHP 4.0 system.
    I have problem in creating new versions for existing DIR using CV01N
    I create a DIR version 00 with functional location and mpd cycles. Then when i try to create a new version by copying the contents created from already created document.I change the MPD cycles in the new version and save it.
    once when i display the first document created the mpdcycle specified in version 01 is copied to the 00 version.
    The document is inconsistent where versioning of document doesnot work properly wrt MPDCYCLE and MP HEADER.
    The problem which i found was the document identification guid remains the same for all the document versions getting created.
    The same is working fine in SAP ERP6.0 EHP3.0 sytem.
    Please someone help me in resolving the above issue.
    Regards,
    Prasad.B

    There is a change in the standard code.The reason for the above problem was  because of a missing Enhancemnet point in a standard function module 'CV110_DOC_CREATE_WITH_TEMPLATE'.
    IS-ADEC-MPD  - Enhancement to copy MPD data
    ENHANCEMENT-POINT CV110_DOC_CREATE_WTEMPL_01 SPOTS ES_SAPLCV110.
    +*$*$-Start: CV110_DOC_CREATE_WTEMPL_01----------------------------------------------------------$*$*+
    +**ENHANCEMENT 1  ZSF_AD_MPD_SAPLCV110.    "active version**+
    +*** copy MPD relevant data from templ. doc to current doc**+
      +**CALL FUNCTION 'MPD02_COPY_MPD_DATA'**+
        +**EXPORTING**+
          +**is_draw = ls_draw**+
        +**TABLES**+
          +**ct_drad = lt_drad.**+
    +*ENDENHANCEMENT.**$*$-End:   CV110_DOC_CREATE_WTEMPL_01----------------------------------------------------------$*$*+
    Created a custom enhancement point similar to SAP ECC6.0 EHP 3.0 system.
    The reason was the buffer was not getting cleared previously.After inserting the above code the DIR's are getting created withot any issues.
    Regards,
    Prasad.B

  • Unable to create new domain for ORM in Weblogic 8.1

    Hi,
    I have installed Oracle Role Manager(ORM) 10.1.4 and to run ORM in weblogic i have to create a new domain for ORM.
    I tried to create a new domain in weblogic 8.1 in configuration wizard by selecting the orm_createdomain_template_103.jar but i m getting an error
    "There is a problem with the template".
    This template is to create new domain for ORM in weblogic 10.3
    Kindly help me to resolve this issue.
    Regards,
    Manju

    I have installed ORM 10.1.4.1 on weblogic 10.3
    I have also created a new domain for ORM in weblogic.
    When i start the Managed server using startManagedWebLogic.cmd i m getting the following
    errort
    t3://localhost:7004/jndi/weblogic.management.mbeanservers.domainruntime.
    java.io.IOException: Unable to resolve 'weblogic.management.mbeanservers.domainr
    untime'. Resolved 'weblogic.management.mbeanservers'
    at weblogic.management.remote.common.ClientProviderBase.makeConnection(C
    lientProviderBase.java:156)
    at weblogic.management.remote.common.ClientProviderBase.newJMXConnector(
    ClientProviderBase.java:79)
    at javax.management.remote.JMXConnectorFactory.newJMXConnector(JMXConnec
    torFactory.java:338)
    at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFacto
    ry.java:247)
    at weblogic.management.mbeanservers.runtime.internal.RegisterWithDomainR
    untimeService.getDomainMBeanServerConnection(RegisterWithDomainRuntimeService.ja
    va:199)
    Truncated. see log file for complete stacktrace
    javax.naming.NameNotFoundException: Unable to resolve 'weblogic.management.mbean
    servers.domainruntime'. Resolved 'weblogic.management.mbeanservers'; remaining n
    ame 'domainruntime'
    at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(Basic
    NamingNode.java:1139)
    at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.jav
    a:252)
    at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.j
    ava:182)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:20
    6)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:21
    4)
    Truncated. see log file for complete stacktrace
    >
    <Jul 3, 2009 10:08:52 AM GMT+05:30> <Notice> <WebLogicServer> <BEA-000365> <Serv
    er state changed to RUNNING>
    <Jul 3, 2009 10:08:52 AM GMT+05:30> <Notice> <WebLogicServer> <BEA-000360> <Serv
    er started in RUNNING mode>
    Please help me to resolve this issue.
    Regards,
    Manju

  • How to create new version for material

    Hi expert,
    Can anyone please guide me step by step on how to create new version for material and vendor? Please also mention transaction and details step by step.
    Thanks

    HI,
    Do you mean to have version management for purchasing documents?.
    Best Regards,
    Arminda Jack

  • How to Create New Application for iPhone

    Hi,
    Can anyone guide me how to create New Applications for the iPhone.
    Regards,
    Mustafa Ali Qizilbash

    If you think Apple's is making a profit off the $99 it collects for the iPhone Developer Program membership, you're badly underestimating how much it costs to run the program.

  • How to create new structure for SOP?

    How to create new structure for SOP? and transfer data for long term planning?

    hi dear
    For SOP there are two types
    1. Standard SOP : this the standard SOP  configured by SAP consider the Level by Level planning and planning done for product group .
    2. Flexible planning SOP: this option is given, so that Rough planning/SOP planning can be done as per the client requirement.e.g planning structure can be sales orgn., distribution channel, division, plant, material
    For configuring the flexible planning SOP follow steps
    1. Define info structure in IMG
    where u define the characteristic and Key field
    2. Set parameters for info structures and key figures
    Sales & Operations Planning >Master Data>Set parameters for info structures and key figures
    where u define  Planning method
    Consistent planning
    Level-by-level planning
    Delta planning
    and aggregation type
    1. Average calculated
    2. Total created
    3. No aggregation
    3. create Planning type with reference to info structure
    Regards
    Suresh

  • Do I need to create new group for standby redo log files?

    I have 10 group of redo log files with 2 members for each group for my primary database , Do I need to create new group for standby redo log files for the standby database
    Group#     Members
    ==============
    1              2
    2              2
    3             2
    4             2
    5             2
    6             2
    7             2
    8             2
    9             2
    10           2
    If So, The following statment is correct? or nto
    ALTER DATABASE ADD STANDBY LOGFILE GROUP 1 ('D:\Databases\epprod\StandbyRedoLog\REDO01.LOG',D:\Databases\epprod\StandbyRedoLog\REDO01_1.LOG');
    please correct me if am doin mistake
    becuase when I issue the statment I getting error message sayin the group is already created.

    Thanks John
    I just find the answer
    Yes, it's recomeded to add new group , for instnace If I have 10 group from 1 to 10 then the standby shoudl be from 11 to 20
    Thanks I found the answer.

  • Error message at the time create new Hierarchy for Cost Centers (OKEON)

    Dear Experts,
    we have create new company code with reference to old company code. at the time  create new Hierarchy for Cost Center with t code OKEON system given the error message "Overlapping intervals or identical values have occurred".
    we have already checked the duplicate entry but not found the same.
    Please help.
    Regards
    BK GAIKWAD

    the long text to the message is:
    Diagnosis
    You want to use cost center together with activity type . For this combination, however, no master data record was created in fiscal year . The record is defined in CCA during activity type planning.
    System Response
    Procedure
    1.Create the master data record.
    Activity type planning
    1.Or, check your entries.
    I think you should discuss it with your functional consultant

  • Create new mailbox for existing users?

    Hi All,
    I am new to JNDI concepts. I need to create new mailbox for existing users in domino directory. is it possible?
    Scenario is : I have some users in domino directory. They dont have mail account now. I want to create it.
    Kindly guide me...
    Thanks,
    Ram

    Hi,
    You can try LSMW (Direct method) for uploading class values.
    Upload file can hae following structure:
    OBJEK     |     ATINN     |     KLART     |     ATWRT
    Release Grou+Release strategy |     Characteristic name     |     Class type     |     Class Value
    e.g. rel grp is PO, rel strategy is 01, characteristic name is EBAN_EKORG, and class value is 1000 then
    OBJEK     |     ATINN     |     KLART     |     ATWRT
    PO01     |     EBAN_EKORG |     032     |     1000
    multiple characterstics can be
    OBJEK     |     ATINN     |     KLART     |     ATWRT
    PO01     |     EBAN_EKORG |     032     |     1000
    PO01     |     EBAN_EKGRP |     032     |     100
    Regards,
    Yogesh

Maybe you are looking for