O Conhecimento

O conhecimento é inútil a menos que você o compartilhe.

segunda-feira, 28 de janeiro de 2013

KP06 / KP26 / CJR2 / KPF6

Se um dia sua area funcional não derivar em CO então implemente um ENHANCEMENT para lhe salvar.....

CO recebe informação de tudo em quanto é lugar....então as vezes a coisa "engastilha" e NÃO flui como deveria, por N motivos.....então o abap entra em ação E ajuda a turma com alguns ENHANCEMENT (salvação da lavoura, diga-se de passagem).

vamos ao que interessa......

Para atender as quatro transações usadas KP06 / KP26 / CJR2 / KPF6, achar um ponto que atenda as 4 deu um pouco de trabalho no debug mas acho que o resultado valeu a pena....

No grupo de funções KAIN, função K_COEJA_INSERT....


Lembrete importante, função dentro de UPDATE TASK....dai a dificuldade do debug........

segue codigo........

quinta-feira, 17 de janeiro de 2013

Enhancement de Documentos ME21N / ME22N / ME23N

Beleza meu povo......

Mais uma customização para um Cliente ficar feliz.......

Fizemos o seguinte, no pedido somente disponibilizar os documentos anexos para o mesmo uaurio que criou o pedido, assim usuarios que alteram o pedido não podem alterar esses documentos......

vamos aos pontos.....

Dentre as dezenas por não dizer centenas/milhares...rsssss..... de classes usadas no processamento do pedido, identificamos a CL_GOS_ATTACHMENTS (Generic Object Services Attachment List), classe que controla alguns dos tipos de documentos anexados (Attachment), existem vários .....no metodo SET_TOOLBAR, criamos um Enhancement, para trabalhar da seguinte forma se o usuario atual for o mesmo que criou o pedido dai o prog. habilita os botões da janela de documentos anexos para o usuario poder fazer o que é de default.





 Caso o usuario não seja o mesmo dai ele bloqueia alguns botões, deixando somente habilitado o de exibição.




simplorio mas bem bakana e funcional......

abs.


quinta-feira, 10 de janeiro de 2013

ALV GRID Variant - Dicas Para Não Esquecer

Segue link para não se esquecer sobre variantes em ALV GRID

 http://scn.sap.com/message/4170692

 http://scn.sap.com/message/3819429#3819429

segunda-feira, 7 de janeiro de 2013

SPED PIS COFINS e FISCAL II

Para quem tem interesse sobre o assunto, segue umas notinhas SAP para o Sped.....


Lógico a aplicação das notas não depende somente desta lista, mas cada ambiente exige uma analise do que deve ser aplicado para o relatório (extrator) do SPED funcione corretamente, além é claro dos acertos em BADI, includes Z, etc....etc....


quinta-feira, 3 de janeiro de 2013

Mudança Parâmetro máximo de Tempo de Execução de um processo

Mudança Parâmetro máximo de Tempo de Execução de um processo

(How To…change the maximum dialog runtime of a process)


Cenário:

A caixa de diálogo de trabalho parâmetro de tempo de execução processo é limitado a 600 segundos.
Esta restrição irá cancelar um processo de trabalho de diálogo após este tempo de execução tenha sido atingido.
Isso tem efeito sobre a realização de uma consulta on-line ou se um processo em lote é executado em paralelo.
Um processo em lotes em paralelo, por exemplo, é a mudança de execução paralela.

Os documentos abaixo descrevem sobre como realizar a alteração dos parâmetros....

Process Chain Tips


How_To_Change_the_Maximum_Dialog_Runtime_of_a_Process_in_NW2004s


Link de Consulta SAP ABAP......

Muita coisa bakana mesmo....fala de tudo um pouco.....desde performance até ABAP Connectivity (RFC, ICF, Connectors, Web Services).. de muito completo vale a pena guardar.....

http://wiki.sdn.sap.com/wiki/display/ABAP/ABAP+Development+and+Programming

só para se ter uma ideia dos tópicos/LINKS.....

General

Miscellaneous

Community Projects

Child Pages (388) Hide Child Pages | View in Hierarchy



abap2xlsx
ABAP-ALV with Traffic Signals using classes
ABAP Application Server
ABAP code snippet to upload Excel file into an internal table and display it in alv format
ABAP-Creating Tabs in Report program
ABAP-Developed a Tool For Downloading Programs
ABAP - Developing Interactive ALV Report using OOABAP
ABAP Message Error Handling Standards
ABAP Performance Tips
ABAP Programs
ABAP system fields
ABAP Tip-How to Debug Pop-up window
ABAP Tips and Tricks Database
ABAP-Traffic Signals in ALV using Classes
Add a custom header for every new program
add days , weeks, months,years to date
Adding Pictures Material Master Data
add or subtract dates, months,years to date
A list of Tables and Function about Global Class' information
ALV Edit Program
ALV grid control with 2 different approaches!
ALV Grid Program
ALV Grid Report - with Object Oriented SALV Classes
Alv in Detail
ALV TUTOTIAL FOR BEGINERS WITH EXAMPLES
alv with pagenos and subtotals
An sample Report program for Printing Adobe forms Configured in NACE
APO CRM Interface Program
APO Data Dictionary Program
APO Delete Master Data
APO Demand Planning LiveCache
APO to Mapped Network Drive
Append Structure OIUVKDFI missing in VKDFIF after upgrade
Application Log Methodology in SAP
Application Log Methodology Part II
Application Server Browser Program
Application Server Program
A Program to demonstrate how to declare, implement and use methods in abap objects
Assign Smart form translations to a transport request
Authorisation Check Program
Avoiding dumps in a program
Avoid loosing long text maintained in sales order when sold to party changed in sales order
BAPI_GOODSMVT_CREATE And BAPI_GOODSMVT_Cancel
BAPI_TRANSACTION_COMMIT versus COMMIT WORK
Barcode Printing in SAP
BDC - How to handle error log file to upload the data in call transaction method
BDT Configuration Comparison between clients
Beetle car
Bunch of Plant Maintanence Tables
Call Adobe Form through ABAP Program
Call FM to generate alv tree and deal with user action
Cancel billing document (VF11)
Change outbound delivery (VL02)
Changing the default password for sap use
Checking for a leap year.
Clone hunter
Code Snippet of printing adobe forms configured in NACE
Commonly asked questions in ABAP
Consuming WebServices in Adobe FLEX
Control Files
Control Recipe, PI Sheet Program
Conversion from external to internal number format
Converting Scripts Output Into Pdf Form
Copy of SAP Business Workflow
Create and Delete folder on presentation server
Creating a Custom Page Format for Device Type
Creating Adobe Forms
Creating a role with S_Tcode (only)
Creating dynamic variant using table TVARV
Creation two OOPS ALV with editable fields & Save
Custom Idoc Transfering from One application server into Another application server
Custom Mandatory Message for Standard Selection Screen
Daily Production Report
Data declaration based on data-type declared in Global class
Data Dictionary - FAQs
Data Dictionary Program
Data Dictionary Program in APO
Date Validations
Debugging workflows and generating sub-workflows
Deleting file from Windows
Deleting PO History
Deleting the Batch Input Sessions
Designing Selection Screen
Developers' Transaction Codes
Development Class Program
Different Pop_Ups in ABAP
Disable popup when uploading excel files with macros
Display Characterestics in APO
Display Characteristics of Elements of a PDF-Based Form in ALV
Display File (captured in XSTRING format) from webdynpro and display in native SAP GUI
Displaying 3D Graphs in ABAP
Displaying ALV on the Selection Screen
Displaying TOP-OF-PAGE at Right, Center and Left
Display two or more ALVs on one screen using Splitter Control
Document for configuring SAP R3 to send mail to external domain
Download All programs and FMs of a package
Download File in UTF-8 encoding
Downloading all the programs belonging to a specific package.
Downloading internal tables to Excel
Dump inconsistent format error
Duplex printing in SAP
Dynamic Content Upload Interface
Dynamic Content Upload Interface File Version
Dynamic Content Upload Interface Idoc Version
Dynamic Selection screen popup using FM - POPUP_GET_VALUES_USER_HELP & data extraction
Dynamic Structures and Components in CU62
Dynamic Tabstrip in ABAP
Dynamic Variant Program
Easy Step To Debug a Smartform
ECC5.0 And Above
EDI Invoice Outbound Program
Editable ALV through OOPS
Enhancement Detail Program
Enhancement Finder
Enhancement Program
Examples and demos by SAP
Excel files - CSV format
Excel with SAP - An overview
Exclude Execute button and add custom push buttons on selection screen of report
Exertion of SAP notes
Expected Deliveries Report
F4 Help for Appl.Server and GUI Files using CL_RSAN_UT_FILES
Factory Production Report
Fetching IP Address of Application Server in ABAP
Fetching Value Range Text from Domain
Few Keyboard Shortcuts
Few Keyboard Shortcuts in New ABAP Editor
FI Document Status Report
File Copying using SAP Program
File Deletion from SAP program
File Hex Viewer
File to Idoc FACT Program
File to Inbound Idoc Program
Find a BADI in a minute
Find Application class with Exits and Badis for a Transaction
FI PA to SAP Interface
FI Rebate Currency Discount Program
FI SAP to ISS Interface
Flight Data Application - Demo Example for Integration Technologies
Functional location Bulk creation
Function Module related on Date calculations
Function Module to create PO using BAPI
Function Module to Upload and Download files from and to Application Server
Function to get total service period of a employee
Function to get Transport request Logs
Get Changed Value In ALV Grid Dynamically.
get the name of the month , date and year
Getting a input field populated on entering the value in one Input field
Global Macro
Goods Movement Program
Help Documentation and Translation Tools BC-Doc*
Hierarchical ALV from list display
How to assemble PDF form pages into one file
How to create table maintenance generator?
How to Create you own Number Range ? (SNRO)
how to display internal table data in excel with picture using OLE
How to do Explicit Enhancement
How To Do Implicit Enhancement
How to find classic BAdIS
How to get the variant for which a report went to Dump
How to include an authorization group restriction in an SAP query
How to initialize LDB screen elements add element with LDB screen ?
How to make table maintenance generator
How to Protect your Programs from Copying or Changing.
How to Reset Device Type Cache
How To search the Transaction by text
HR Forms
HR Programming - Read Infotype
Human Resource Tables - a quick reference guide for an ABAP HR Consultant
Idoc Workbench Program
Implementing Tabstrips through selection screen
Important Function Modules In SAP
Important Parameter names and description
Important Transaction Codes used in CTS
Inbound Idoc Creation Program
Inbound Idoc Interface in CU62
Interactive Reporting - FAQs
Interface creation using BAPI
Internationalization - BC-I18*
Introduction To GuiXT
Inventory Analysis Program
Invoice DAF Program
Junction Functions
Know the difference between Class and Function Module
Label Text for Drop Down shows '???????'
last date of a month later some years, months,days
Learn making First Smartform Step by Step
Learn Making First Table Control
List all Methods,Attributes,Events of a Class
List of BAPI's
List of Commonly Used Function Modules
List of Customized Sapscripts
List of programs not assigned to any TCode
List of system exceptions as of 46C
List of Transaction codes
List processing
Locating SD User Exit routines
lock and unlock delivery document
Lock and Unlock User IDs
Logical Database – Simple Selection Screen
Logical Database with Report HR Report Category Selection Screen
Logo Display
Logo Display By ALV OOPS
LSMW Steps in Detail
Maintaining Change Log for Database Tables
Make First SAP Script step by step
Making ALV to react to Change data automatically
Manufacturing Development
Manufacturing Variance Report
Material Master Upload Program
Materials Handling Program
Material Wastage Report Logic
METHOD IF_EX_ME_PROCESS_PO_CUST~CLOSE.
Missing Days Extract
MM Create RFQ program
MM Material Master Program
month in words date in number
My first SAP Script step by step
Netweaver Overview presenter
New ABAP Debugger
New ABAP Editor
NEW FM in Place of Obsolete FM
notes on work process
No traffic lights in "multiple select" option
Number of days in a year
OBJECT ORIENTED ALV Guide
OBSOLETE Move a file from source to target directories or Delete file
Obsolete system fields
Online Text Repository (OTR)
ON VALUE-REQUEST event
Opening MS-Word doc on selection-screen from presentation server
Pallet Traceability Report
Parallel Processing
Parse an xml file and insert values in ABAP
Passing data from one ABAP program to another
Payment Program Development
Payroll Results Using Classes
PDF Download By Creating Spool Request
PDF files in SAP
Planned Order Idoc Program
Planned vs Actual Report in Manufacturing
Planning Data Loading
Plant Maintenance Stock Parts Program
Plant Maintenance Update Network Program
PP Plan vs Actual Report
PP Production Declaration Program
Pricing Condition Program
Pricing System Program
Printing a line after Subtotaling in an ALV
Printouts print an extra cover page
print the selection screen data on the report output
Process Order Development
Process Order Goods Movement Report
Process Order Report
Process Orders Variance Report
Process Output types through program
Production Declaration for a Process Order
Production Order Idoc Program
Program to evaluate formula in a string
Program to generalize the conversion exits dynamically
program to get the archiving object size
Prog to upload from XL to DDIC Table
Purchase Order Data Extraction using ABAP Classes
Purchase Order Info Records
Purchase Order Release Strategy Data Using ABAP Classes
Purchase Order Release using ABAP Classes
Purchase Req. Header Long Text using Badi - ME_PROCESS_REQ_CUST
Purchase Req. Line item Data manipulation using BADI - ME_PROCESS_REQ_CUST
Purchase Requisition Detail Report
Read and Write on App.Server Files Using CL_RSAN_UT_APPSERV_FILE_READER and CL_RSAN_UT_APPSERV_FILE_WRITER
Read any OTF Data in Adobe Reader
RECYCLE BIN for old wiki pages
Reduced Message Types
Relationship between tables
Relevant ALV Grid Programs
Replacement of VC_I_GET_CONFIGURATION for perfomance tunning
Retrieving and Manipulating Attachments to SAP Business Objects (SAPOffice, BDS, DMS, GOS, ...)
REUSE_ALV* Function module
RFC for Subscription Order creation with Reference to Existing one and Update Customer Fields
RFC Purchase Order Change from Ariba
RFC Purchase Order Creation from Ariba
S_DEVELOP issue after applying HRSP
Sales Order Interface
Sample program to open excel sheet using OLE
SAP APO Demand Planning Program
SAP Books
SAP Business Workflow
SAPChess
SAP Custom Development Process
SAP Customizing Tools
SAP Enhancement Finder
SAP Enhancement Program
SAP Graphics
SAPGUI shortcuts
SAP Idoc Workbench
SAP Interactive Forms by Adobe
SAP Logging and Authorisation Concepts
SAPmvc
SAPmvc Documentation
SAP Network Update Program
SAP Pricing Condition Report
SAP Proxy Maintenance Tool
SAP Scripts in Detail
SAP Spool Request Owners at OS Level
SAP TechEd09 - Phoenix Session CD205 - Tips and Tricks to Learn and Leverage Newer Technologies
SAP Upgrade Program I
SAP Upgrade Program II
SAP Utility Program
SCANS a transaction Code
Scheduling background job by triggering an event
SCM Variance Report
SDN-4121
SD Pricing Report
SE78 And OAER bmp Image Creating
SELECTION SCREEN Design In Reports
SELECT Statements and CURSOR statement - Performance Analysis.
select the text from lower case data element
SeleniumABAP
Semaphore 43 on Spool Work Process
Send External Mail with attachment
Sending Mails - Home Page
Send Message to External email id and SAP User id via ABAP
Send Smartform As .Xls As Spread Sheet
Service numbers from ServiceEntrySheet using PO Line Item
Shared Sql area
Short Notes on PERFORMANCE MONITORING
SHP_GET_SD_DATA - Function module for Extracting Sales order Details
Simple Exercise to upload data using SXDA
SM36 – Define Background job
Sokoban...
Spool Creation Time in TSP01 Differs from SP01
Spool file size is excessively large due to graphic
Standardized dialogs (popup function modules, etc.)
Standard SAP FTP programs
Step by step of PDF form programming in GUI
Storage Management
Subroutines And Their Use In SAPScript
Supply Chain Management Program
Supress popup when using ALSM_EXCEL_TO_INTERNAL_TABLE
SYSTEM_IMODE_TOO_LARGE
System Bar Code and using it in SAPscript
System Bar Code and using it in SAPscript layout for printing
System fields for LISTS.
Sy-Subrc
Table Maintenance Program
Tabstrips in ABAP
test1
Test1234
Test page
Text Instant Comparator
The Events in Table Maintenance Generator SM30
The SAPFTP Library - FTP Programming in ABAP(Under Construction)
time difference between two dates in hours or minutes
To activate objects programmatically
To apply batch split in an outbound delivery
To convert the Unit of Measure to alternate UOM
to create worklist for users
To get pricing condition of a Sales Order
To send 2 int tables data as two attachments to mail id outside sap system
Transaction variants
Transferring An IDoc From One Application Server To Another
Transporting Table Entries in ABAP programmatically
Transport Remote Comparison Program
Tree ALV
Triggering a Business Object event using Function Module enhancement
Tuning and Optimizing ABAP Developments
Unlock login ID
Update Network From Order
upload blank lines in to the internal tables
Uploading data dynamically into structure and components
Upload xml to database table ABAP
Useful SAP System Administration Transactions
Useful Transactions in SAP Workflow
Use of BAPI_SHIPMENT_CREATE concerning shipping statuses (and deadlines)
Using the ALV Grid in SAP Reports
Validation of a string in terms of case
Vendor Master Upload Program
Web Service Publishing
What are Authorization Objects
when saving the spreadsheet file, it get save in '.txt' instead of '.xls'
Working with files
XLSX Upload - SAP GUI and Webdynpro ABAP
XSL transformation for complex tree structure to tables
ZAPP_INTEGRATOR
ZGEOCODE
ZOA
ZOA - SAP integration without the guesswork 
 
Blogger Templates