Search found 1865 matches

by Gothmog
Mon Mar 02, 2020 5:14 am
Forum: Logistics MM
Topic: User Exit/ BADI for cost center data validation in PR creation
Replies: 2
Views: 477

Re: User Exit/ BADI for cost center data validation in PR creation

You could add some checks in BAdI ME_PROCESS_REQ_CUST.
by Gothmog
Mon Jan 13, 2020 8:54 am
Forum: ABAP
Topic: EXIT_SAPLVEDA_011
Replies: 2
Views: 637

Re: EXIT_SAPLVEDA_011

EXIT_SAPLVEDA_011 is used to make some custom checks on the interpreted IDoc data, not to modify this data mapping.
I'd suggest using exit EXIT_SAPLVEDA_001, that is called for each segment in routine INTERPRET_IDOC_ORDERS.
by Gothmog
Mon Nov 18, 2019 4:45 am
Forum: ABAP
Topic: Notification Auto creation for conditional base maintenance
Replies: 2
Views: 579

Re: Notification Auto creation for conditional base maintenance

You activated the exit, meaning that this user exit function module will be called.
You need to put some code in this function module for it to do anything, though.
by Gothmog
Mon Oct 28, 2019 5:12 am
Forum: ABAP
Topic: SAP RFC "RFC_READ_TABLE" can search for job names like "*" and "%" of sm37
Replies: 1
Views: 726

Re: SAP RFC "RFC_READ_TABLE" can search for job names like "*" and "%" of sm37

Hello!

Each line in table OPTIONS is a WHERE clause in the Open SQL SELECT statement.
The wildcard is %, and the operator is LIKE for such a selection.

Like so:

Code: Select all

StrMaterial = "111-AA1-Y-%"
tblOptions.AppendRow
tblOptions(1, "TEXT") = "JOBNAME LIKE '" & StrMaterial & "'"
by Gothmog
Wed May 29, 2019 4:52 am
Forum: ABAP
Topic: User-exist for material/batch deletion
Replies: 3
Views: 1606

Re: User-exist for material/batch deletion

Strange - this enhancement spot is NOT set as SAP internal. Try this way: - go to module BUCHEN in include MM03GI00 in transaction SE80 - click on the Enhance button in the toolbar - right-click on enhancement point BUCHEN_1, menu Enhancement operations/Create implementation You should be able to ad...
by Gothmog
Thu May 09, 2019 4:32 am
Forum: ABAP
Topic: User-exist for material/batch deletion
Replies: 3
Views: 1606

Re: User-exist for material/batch deletion

Doesn't look like there is one.
In MM06, you could implement enhancement point BUCHEN_01 (for enhancement spot ES_SAPMM03G).
by Gothmog
Wed Apr 10, 2019 7:18 am
Forum: ABAP
Topic: Difficult to list display changes in Vendor Master
Replies: 1
Views: 1096

Re: Difficult to list display changes in Vendor Master

You won't be able to join the tables (type mismatch), but regarding how some of the keys are contructed : - for KRED (for vendor data), the object is LFA1-LIFNR - for ADRESSE for the vendor adress, the object is 'BP ' + LFA1-ADRNR - for ADRESSE for a contact business adress, the object is 'BP ' + KN...
by Gothmog
Wed Mar 27, 2019 5:06 am
Forum: Logistics SD
Topic: SD Delivery Output Query
Replies: 2
Views: 1152

Re: SD Delivery Output Query

Transmission medium 8 is what I've used in similar situations.
Customizing is as usual for an output, but I guess you don't need texts (and obviously no archiving).
by Gothmog
Mon Jan 28, 2019 5:58 am
Forum: Logistics SD
Topic: hour of a time zone
Replies: 1
Views: 991

Re: hour of a time zone

Hi,
You could use function module IB_CONVERT_INTO_TIMESTAMP to convert sy-datlo, sy-timlo in time zone sy-zonlo to a time stamp, then IB_CONVERT_FROM_TIMESTAMP to convert this time stamp into the date and time in a different time zone.
by Gothmog
Thu Dec 13, 2018 4:42 am
Forum: Logistics SD
Topic: Increase sales order items on VA01 screen
Replies: 2
Views: 1920

Re: Increase sales order items on VA01 screen

Hello,
These items are in a table control, with a fixed line size.
You can't increase this wihtout modifying the standard screen.
by Gothmog
Mon May 14, 2018 4:55 am
Forum: General Talks
Topic: Where are they now....
Replies: 10
Views: 12238

Re: Where are they now....

I'm back more often, now that my main customer has unblocked the forum. :)
by Gothmog
Thu Apr 12, 2018 6:38 am
Forum: Logistics SD
Topic: Use of EXIT_SAPLV50E_003
Replies: 3
Views: 1786

Re: Use of EXIT_SAPLV50E_003

Without an ugly hack (using field symbols to get/change the data in the call stack - SAP considers this a modificaiton of standard), that's right. The fields you can't modify are listed in the function module documentation: Client (C_EXPORT_LINE_ITEM_DATA-MANDT) Number of foreign trade data (C_EXPOR...
by Gothmog
Thu Dec 14, 2017 8:22 am
Forum: ABAP
Topic: Find application server
Replies: 2
Views: 1630

Re: Find application server

Try CL_ABAP_SYST=>GET_INSTANCE_NAME( ).
by Gothmog
Thu Nov 16, 2017 8:15 am
Forum: ABAP
Topic: simple code with error: If the new Open SQL syntax is used,
Replies: 2
Views: 5953

Re: simple code with error: If the new Open SQL syntax is used,

The culprits are the commas added in the list of selected fields.
To keep the old syntax, it should be:

Code: Select all

SELECT CONNID COUNT(*) SUM( LUGGWEIGHT ) AVG( LUGGWEIGHT )
by Gothmog
Thu Aug 24, 2017 7:19 am
Forum: ABAP
Topic: FOR ALL ENTRIES
Replies: 3
Views: 3421

Re: FOR ALL ENTRIES

Use:

Code: Select all

where matnr = itab-table_line