Have you were lacking sometimes the documentation of a FM or BAPI or a manual how to do things that should be possible to do easily but you cannot find it nowhere? If yes I hope you can find what you're ...
When you open standard transaction you may be surprised sometimes that although you're able to attach standard attachments while creating document, you're not able to attach business document at ...
... need a a method to link business documents of PR to PO. This is not so hard as we have in disposition class cl_alink_connection which allows to do such operations. Of course the time when you're copying ...
You might have a task to use or download one or all files attached to document saved via CV01N transaction. This is not a big deal really, you just need to use some FMs available in standard of SAP like ...
... parse XML using for example CL_XML_DOCUMENT class, or you can create a transformation that will convert the XML into internal table.
I've choosen the second option in this example, as I've never done ...
The main functionality of the ROLLNAME is to provide a data element that will be responsible for showing F1 help on the grid cell. If in data element the documentation is available, then it will be shown. ...
... document number. When you setup the value of this field to ‘X’, then the column(s) will be always visible. While scrolling the fields after the last field which has this flag will be moving left or right. ...
... can be used:
Custom container
Splitter container
Docking container
Dialogbox container
1. Custom container
Custom container can be created with a class CL_GUI_CUSTOM_CONTAINER, ...
... this class (and all supporting ones) with abapGit https://github.com/fidley/Customers.
As there is no much documentation about this class yet, I will extend this article in future with more details, ...
... all that I have found on 7.50 SP2 NW system.
report zab_alv_symbols.
parameters: dummy as checkbox.
initialization.
data(grid) = new cl_gui_alv_grid( i_parent = new cl_gui_docking_container( ...
... to create outbound delivery without reference document.
method create_delivery_wo.
data: error_log type bapiret2_t,
dates type standard table of bapidlvdeadln, ...
... in a pop-up. You can easily copy the types of FM parameters or preview the ABAPDoc and standard documentation
v. Refactoring – well, this function is really one of the nicest, select ...
Everybody sends mails from SAP, some are still using old FM SO_NEW_DOCUMENT_ATT_SEND_API1 but some CL_BCS class. This class is really powerful but it has one disadvantage - it does commit work, and not ...
... document. If you don't have it, then create it. It will take a while, but once done it's done. After such lecture your young Padawan should be able to write "Hello World" programs ...
... one of the MM t-codes like ME22N, ME51N or MIGO you see that always you got on the screen one of the latest open document there. Sometimes not last but one of the lasts and you want to make it always last. ...
Let's discus following scenarios with MM standard transactions: When you open one of the MM t-codes like ME22N, ME51N or MIGO you see that always you got on the screen one of the latest open document ...
... which are the same as in MB51 should be coded with the same names so we can pass them to RM07DOCS by method call_mb51_static. I used REUSE_ALV here just to be able to do it faster, but ALV OO can be used ...
I can already call MB51 from previously created method but still I need to add an implicit enhancement into RM07DOCS so I'll be able to export results from MB51 and leave the program without displaying ...
I've got method to get selection screen parameters to table so I can call MB51 by submitting program RM07DOCS. Of course if I do that without any changes of parameters then I would get not this list ...
As I have needed types I can start to create methods which I need. Firstly fast method the read select-option data from any program which will call our class. I will use here FM RS_REFRESH_FROM_SELECTOPTIONS . ...
... which contains most of the fields which are available in MB51 (structure list in RM07DOCS). Just after t_list you'll find type tt_list which is just table type for t_list. *--------------------------------------------------------------------* ...
... both needs - additional fields and direct display of ALV grid. So I started to dig and debug to see what is possible to do and these possibilities I found: Copy program RM07DOCS (MB51) to Z-one and to ...
...
data: fo_req type ref to if_purchase_requisition.
data: f_document type mepo_document.
data: fo_resetable type ref to if_releasable_mm.
data: f_success type mmpur_bool. ...
Working with Purchase Requisitions in ABAP is quite pleasant job, but sometimes it's not so easy like with other documents types. You cannot easily say if Requisition is rejected and can be reset by ...