How to know if iam in tcode  creation or modif  inside abap  prog ?

hello ,
i  want  to  know if there  is any things  that can  help  me to know  if  iam  in tcode  of creation (ME21N) o  modification (ME22N/ME23N) for  PO,  without using  sy-tcode inside a program of smartforms edition.
thanks ,
karim

>
karim sefiani sefiani wrote:
> hello ,
>  
> i  want  to  know if there  is any things  that can  help  me to know  if  iam  in tcode  of creation (ME21N) o  modification (ME22N/ME23N) for  PO,  without using  sy-tcode inside a program of smartforms edition.
>
>  thanks ,
> karim
Please check the value of the variable T180-TRTYP
T180-TRTYP = H - Create - ME21N
T180-TRTYP = V - Change - ME22N
generally 'A' in case of display transactions, however the table T180 shows the value 'V' in case of ME23N also, kindly check

Similar Messages

  • How to know form name and tcode

    Hi,
    I know the  driver program for layout  is PPPRZUGL. How can i come to know the form name and its associated Tcode to see the output.
    Can anybody tell me ?
    Thanks

    hi,
      Go to se11 and select the database table TNAPR .Enter the program name for it in Program name and get the corresponding records from which you can know the form configured for it.This table is used for SD-MM configurations only.Program PPPRZUGL is related to PP module .CO03 is the transaction for getting the production orders.
    Regards,
    Veeresh
    Edited by: veereshbabu ponnada on May 6, 2008 11:02 AM

  • Bex Broadcasting:how to send BI report result to non BI users via abap prog

    Hi guru,
    We have 100 employees who must receive BI Report result by email via Bex broadcasting .
    We don't want to fill in the broadcast setting manually but via an abap program that will execute the boradcasting.
    Can you help me finding a program that can perform this task ?
    Thanks in adavnce

    Hi....
    You can use ABAP program RSRD_BORADCAST_STARTER with the variant value set to Broadcaster Technical Name.
    for more info : [Bex Broadcast creation user - best or common practice;
    Regards,
    Chintan

  • How to know the output type for particular tcode

    Hi
    how to know the output type for the VL10D & VAL TCODES.
    Can anybody help me out.
    Thanks and Regards
    Krishnarao

    Hi Krishna,
    GO to NACE and select your application and click on output types and in the next screen select your output type and and dbl click on Processing routines.
    Here you will come to know about which driver program is used for which smartform or Script.
    and for Program details you can refer table: REPOSRC
    Regards,
    Sachin

  • Purchase Order with RFQ.....How to Know...??

    Hi Gurus,
    How to know the purchase order created with one quotation or not. because when i am trying to create PO with /ME21N through DOcumen Overview on. there is list of Quotation. i created PO with XYZ quotation. and after creation of PO i am trying to create another PO with another quotation but in that list still XYZ quotation is Displying. so how to knows once PO cretd with Quotation or not. . and I dont wanted to disply quotation once created Po.
    Thanks in Advance.
    Anthyodaya

    Dear,
    You can distingush between open and close RFQ.
    Go to Document Overview in PO, Select RFQ, then in RFQ Screen
    Go to Dynamic Selection --> Discription of Selection paramater --> Sel;ection Paramerter
    here select open --  A-OFFPN
    and other selection also avaible.
    this may help u
    Reagrds,
    Pardeep Malik
    Edited by: Pardeep  Malik on Mar 16, 2009 5:31 AM

  • How to know the PO  Created with RFQ or Not..??

    Hi MM Gurus,
    How to know the purchase order created with one quotation or not. because when i am trying to create PO with /ME21N through DOcumen Overview on. there is list of Quotation. i created PO with XYZ quotation. and after creation of PO i am trying to create another PO with another quotation but in that list still XYZ quotation is Displying. so how to knows once PO cretd with Quotation or not. . and I dont wanted to disply quotation once created Po.
    Thanks in Advance.
    N.A.Reddy

    Hi Pradeep. Thanks for the mail.
    the problem is ....with *quotation...*
    How to know the purchase order created with one quotation or not.
    because when i am trying to create PO with /ME21N through DOcumen Overview on. there is list of Quotation.
    I created PO with XYZ quotation. and after creation of PO i am trying to create another PO with another quotation but in that list still XYZ quotation is Displying.
    so how to knows once PO cretd with Quotation or not. .
    and I dont wanted to disply quotation once created Po.
    Thanks in Advance.
    N.A.Reddy

  • How to know whether my Windows Phone 8.1 App is Associated with the store or not?

    How to know whether my Windows Phone 8.1 App is Associated with the store or not? 
    I have an Windows Phone 8 app already in the store , Now i upgraded it to 8.1 it got upgraded to Windows Phone Silverlight 8.1.
    Now iam trying to use Single Sign on feature on this app but it is showing the error message like
    the App is not Configured correctly i followed the process from  Signing users in to OneDrive
    please guide me how to do this?
    Mohan Rajesh Komatlapalli

    You should post to publish forum.

  • How to know VAT cleared documents?

    HI,
    After receiving AR/AP for that period, I will clear VAT for some documents for that month, then how to know that which documents are VAT cleared and which are yet to be cleared. I want to create a report for the above requirement.
    So in which table, I find that, documents cleared with VAT and documents are not cleared with VAT, any one help me on this?
    regards
    Niv

    Hi,
    Tcode : FBL3N
    Enter the GL Account of VAT and Check All Items (third option) Execute and you will have the cleared and open item of VAT.
    Regards.

  • How to know the timings of the run time of thr report

    Hi,
    Can you please tell me how to know the run time of the query , i mean how much time it took for the query to dispaly the results .
    Also we have these queries in the workbook. How to refresh the work book . is it enough if i refresh the query.
    Thanks
    Sruthi

    Hi
    How can we check in RSRT tcode?
    And how can we do i RSRTRACE?
    Can  I know the procedure.

  • How to know file name in FTP/file Adapter

    Iam new to FTP/file Adapter,
    when ever we use ftp/file adpter,
    afrter pick file from remote server/local system.
    how can i fine filename,?
    how can handling a fault,if file picked,but data is wrong ?
    How we know the picked date, time of that picked file ?
    please give me solution

    Check this : http://docs.oracle.com/cd/E25178_01/integration.1111/e10231/adptr_propertys.htm#CHDJBDHC
    Search for this topic : Table A-5 JCA Properties for Oracle File Adapter: Normalized Properties.
    After the file has been picked up, you can easily fetch the file details using "jca.file.FileName" etc (see above).
    Rest should be dealt by you, depending upon the scenario you have.
    HTH

  • How to know precisely when the revision of a content item is released?

    Hi,
    I have written a filter to handle delete event of content item revisions. Whenever a revision of a data file (WCM data file) is deleted my filter gets triggered and and checks for some criteria on our meta data. When the criteria is met it has to compare the contents of the revision that is deleted with the new revision. Since the revision will be deleted when my filter is exited, I copied the contents of the revision that is deleted and invoked a java thread with required document information.
    In that thread I am checking for when the revision is successfully deleted so that I can read the contents of new revision and compare them with old revision.
    For that I calling DOC_INFO_BY_NAME service from my thread and am checking until the following values for below meta data are in effect
    dStatus=RELEASED
    dReleaseState=Y
    Unfortunately this is not working properly. I am still seeing the data file content of deleted revision only. For testing purpose I put a sleep of 10 seconds in my code instead of reading the meta data values which is making the code work as expected. I am to get the contents on new revisions after the sleep time. But I don't want to work this way as this is not a guaranteed mechanism.
    How to know for sure when the revision is released?
    Regards,
    Pratap

    Hope as you mentioned I would be able to use link manager. That would make my work much simpler. But just want to ensure that we both are on the same page relating to my requirements. I still feel there is some gap in what I have tried to explain and what you understood. May be I couldn't put it in simple words.
    I will try my best to explain the requirements again in a simpler manner. This is only to ensure that I wouldn't end up spending lot of time in understanding new stuff but only to relaize at later time it may not work for me. I haven't used Link Manager before. That is why I am speculating a bit. I will start looking into the documentation of the Link Manager and Related Content to checkout if they work for me.
    First thing is that the links are not just present in static lists. They can also be in content generated using WYSIWYG editors and Image elements.
    Second when I talked about HTMLs they are not true content items. We are generating these HTMLs based on the structure of the site studio data file that is checked-in. I think it would be more clear if I add more details here.
    The data files that I have been referring so far are bit complex. Our site studio contibution site allows creation of parent content items like detailed page, news articles etc and child items like RelatedSections, FAQ Items etc. The child items are referenced in the parent content items for organizing the parent content item's structure. All these site studio content items are XML files and each of them can internally contain links to other items. In fact the child items can have references to parents items or other childd items as static list (with link selector elements) and WYSIWYG editors are used while creating these content types (parent and child items).
    Finally we generate the HTML only for parent items and display them on our portal. Child references are used only for defining parent item structure and the generated HTML for the parent item contains the details of child items. Our differentiation of parent and child is in the context. HTMLs that I have been talking so far are these ones only. They are not real content items.
    The HTML will be generated when ever the parent item is updated and approved in the last step in our workflow. Now since parent item's HTML is dependent on child items, whenever a child item is updated and approved in the last step of workflow we should look up for all the parent items that are referring to this child and regenerate the HTML for those parent items using updated contents of this child.
    Similar logic of HTML regeneration should be applied in the delete events.
    Finally the revision related issues that I listed for data files apply for images as well. Since the images are also managed content items with multiple revisions they are maintained in site studio content items with their dDocName instead of its file file path and extension. Lets say an image is being referred in one of the parent content items and the image extension at the time it was initially used in the parent item is gif. The HTML contents for this parent that get generated will have gif extension for this image item. Now after some time if the user checks-in a new revision for this image item and lets say the extension now is png. But the HTML generated for the parent item is still having .gif in the img src attribute. Which means we need to re-generate the HTML in this case by checking where all this image item is referred.
    If link manager can be helpful in meeting the above requirements it would be great. It shouldn't matter if there is bit of customization work involved.
    Regards,
    Pratap

  • How to know latest version of workbook

    hi,
    i have 3 workbooks with same name. but how to know which is latest? donn tell me see creation date. any other option other than that?
    neeraja

    I have seen this happen a lot when users save versions of the workbook as favorites, but do not change the name. In this case, you can use the Admin Workbench (RSA1) --> Metadata Repository --> Workbook to see details about each of the workbooks in question, including date & time of latest change, ID of user who did the change, the role where the workbook resides (if any), etc. In our case, the role is usually the one I look for to tell if it is the "original" or a copy.
    Hope this helps...
    Bob

  • How do know multiple  deliveries of a sales order

    could anyone tel me   how do know multiple deliveries of a sales order.
    Any  Table  or Tcode.

    Hi ,
    you can get details in the likp or lips table  ,
    vbfa can give you the detail of preceding document  .
    Regards
    Digvijay Rai

  • How to know portal server starting time

    Dear gurus
    How to know the portal system or portal process's  (server0/server1/SDM/dispatcher)  starting time or stopping time. like in Tcode: ST02 it will show the server started time
    as i want to know when it has restarted...
    Thanks in advance

    You can use the SAP MMC (windows application) or Java MMC online : http://server:port+13
    e.g. if your port is 50000 then the Java MMC is on port 50013
    Is there you can have what you need.
    Fabien.

  • How to know what are the T Codes used by client in SAP HR module in  qualit

    hi experts,
    i have a access of quality server given by my client in SAP HR.I dont know what are the Tcodes used by client.So how i can know what are the Tcodes client is using frequently.i have to list out all TCodes urgently.
    PLZ reply ASAP.
    Thanx in advance..

    Hi
    You can do this by going to SUIM-Transactions-Executable for User
    Then give the user name/id as in user master record and execute.  Now the system will display the list of transaction codes used by that particular user.
    Regards
    Santhosh.S

Maybe you are looking for

  • Time capsule printer server and HP 1600

    I have an HP 1600 which doesn't have MAC drivers from HP. Now what if I connect this printer by USB to the Time Capsule? Would I be able to print using the airport network? It might be a silly question, but I'm looking to solve this problem. Thanks,

  • Video won't play on certain websites

    Hi, I'm having some trouble with the adobe flash player.  It will play in some websites like YouTube without a problem; however in other websites, like cnn or msnbc, it won't show the videos (the audio will still work, I just get a white box where th

  • Why is a simple Java applet not diplaying properly in its window bounds?

    Hello, I am having difficulty displaying applets on the Mac. Here is one of the simplest applets copied exactly from the Sun java website. This applet runs fine on PCs, unfortunately, on my sister's Mac, it does not display properly. It looks like th

  • How to handle a multi-department scenario?

    Hello,      I've used WLI 8.1sp2 in the scenario of one administrator handling all processes of a company. However, I have a need to use a single installation to support multiple departments. Each department has its own set of users/roles, and has it

  • A question to Nokia N91 owners/ex owners...

    Having the Nokia N91 years back, I loved the audio quality and the shaking bass effect from the standard earphones (Nokia Music Headset HS-28, AD-36) however I am looking at getting some good earphones for the Nokia N8 and I was thinking of the: Senn