Skip to content

Instantly share code, notes, and snippets.

*&---------------------------------------------------------------------&*
*& Report ZMM_PO_MALOTE &*
*& &*
*----------------------------------------------------------------------&*
REPORT zmm_po_hist NO STANDARD PAGE HEADING MESSAGE-ID 00.
TYPE-POOLS: slis, icon.
docker-machine create --driver=vmwareworkstation --vmwareworkstation-memory-size 4096 --vmwareworkstation-cpu-count 4 default
& "C:\ProgramData\chocolatey\lib\docker-machine\bin\docker-machine.exe" env --shell powershell default | Invoke-Expression
docker-compose up --build
docker-compose run web rails db:create
docker-compose stop
*&---------------------------------------------------------------------*
*& Include ZINCL_CUSTOMER
*&---------------------------------------------------------------------*
TYPES: BEGIN OF taddr,
addrn TYPE adrct-addrnumber,
END OF taddr.
DATA: wa_addr TYPE taddr,
wa_kna1 TYPE kna1.
@antelio
antelio / sort_equations.ipynb
Created February 6, 2019 14:02
sort_equations
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@antelio
antelio / gist:563e54745ed30a3d7d5d72f3e4d4582c
Last active February 1, 2019 13:00 — forked from qbrossard/gist:6150277
Basic setup for a vagrant box with jruby for JRuby on Rails development
# vagrant config for jruby rails dev.
# prereqs: vagrant + virtualbox installed
# ubuntu box
vagrant init bento/ubuntu-18.10
# login
vagrant ssh
# java setup
select d.depto, d.dcrdep, c.KOSTL, a.processo, a.code, a.aprov, u.bname, a.SUBS, a.ativo
from
SAPSR3.ZTMM_COMP_DEPTO@SAP d,
SAPSR3.ZTMM_COMP_APROV@SAP a,
SAPSR3.ZTMM_COMP_CCUSTO@sap c,
SAPSR3.USR02@SAP u
where d.mandt = a.mandt
and d.depto = a.depto(+)
and d.mandt = u.mandt
*&---------------------------------------------------------------------*
*& Report ZRMM008
*&
*&---------------------------------------------------------------------*
*&
*&
*&---------------------------------------------------------------------*
REPORT zrmm008.
@antelio
antelio / ZPRAA_POST_DIFER.abap
Created September 27, 2018 16:00
ZPRAA_POST_DIFER
*&---------------------------------------------------------------------*
*& Report ZPRAA_POST_DIFER
*&
*&---------------------------------------------------------------------*
*&
*&
*&---------------------------------------------------------------------*
REPORT zpraa_post_difer.
FORM persist_payment_data TABLES tdata TYPE STANDARD TABLE.
DATA: line TYPE string,
tsplit TYPE TABLE OF string,
field TYPE string.
DATA: payments TYPE TABLE OF zpayment_ccard,
payment TYPE zpayment_ccard.
LOOP AT tdata INTO line.
if (-not ("win32.nativemethods" -as [type])) {
# import sendmessagetimeout from win32
add-type -Namespace Win32 -Name NativeMethods -MemberDefinition @"
[DllImport("user32.dll", SetLastError = true, CharSet = CharSet.Auto)]
public static extern IntPtr SendMessageTimeout(
IntPtr hWnd, uint Msg, UIntPtr wParam, string lParam,
uint fuFlags, uint uTimeout, out UIntPtr lpdwResult);
"@
}