Search found 1863 matches

by Gothmog
Mon Dec 05, 2016 5:30 am
Forum: ABAP
Topic: Reporting Deliveries with Batch split
Replies: 5
Views: 2451

Re: Reporting Deliveries with Batch split

You're looking for entries in INOB for batches ? Depend on if the batch is cross-plant (table MCH1), plant-specific (MCHA), etc... The field OBJEK will be the key of the batch table (disregarding field MANDT). For table MCHA, the material number is on the 18 first characters of INOB-OBJEK, followed ...
by Gothmog
Mon Oct 17, 2016 4:26 am
Forum: ABAP
Topic: Making a field mandatory based on sales area
Replies: 1
Views: 1977

Re: Making a field mandatory based on sales area

You could check it in exit EXIT_SAPMF02D_001, and send an error message if it's empty when working on this sales area.
by Gothmog
Tue Sep 20, 2016 9:36 am
Forum: Logistics MM
Topic: How to identify is only classification data changed in MM02
Replies: 6
Views: 2459

Re: How to identify is only classification data changed in MM02

Parameters WMARA and CMARA both hold the current values of MARA (in different structures, one being modifiable). The material descriptions would be in table STEXT. I don't think you get to know if it's been modified in this exit - it's intended to check the material data if it's been potentially cha...
by Gothmog
Tue Sep 20, 2016 5:19 am
Forum: Logistics MM
Topic: How to identify is only classification data changed in MM02
Replies: 6
Views: 2459

Re: How to identify is only classification data changed in MM02

I'm afraid you don't have access to the previous values of mara in this exit, only the current values.
You'd have to play with field symbols to get this in the calling program if you really want to do this here.
by Gothmog
Tue Sep 20, 2016 3:35 am
Forum: Logistics MM
Topic: How to identify is only classification data changed in MM02
Replies: 6
Views: 2459

Re: How to identify is only classification data changed in MM02

It could help to know where (exit ? enhancement ?) you're doing this check.
You could try to compare MARA (current basic data) and *MARA (previous basic data).
by Gothmog
Thu Jul 07, 2016 4:13 am
Forum: Suggestions/Feedback/Errors
Topic: Can't find my recent posts
Replies: 2
Views: 3434

Re: Can't find my recent posts

I also had some serious problems accessing SAPfans recently, and it seems we lost a few weeks of posts.
Maybe an admin could give more details on what exactly happended.
by Gothmog
Wed Feb 17, 2016 4:17 am
Forum: ABAP
Topic: Download data in CA51
Replies: 2
Views: 1926

Re: Download data in CA51

Considering this report does not store data in a convenient internal table, you'd have to copy it (well, you could heavily modify it...) and put some code in nearly every GET event to fill this table.
Add an END-OF-SELECTION event to create your file.
by Gothmog
Wed Feb 03, 2016 4:46 am
Forum: ABAP
Topic: Shared Objects Wrapper
Replies: 3
Views: 2841

Re: Shared Objects Wrapper

I don't think there's a common superclass or interface to the various OB_ROOT classes - you'll have to be very generic in the method parameter definition (TYPE REF TO OBJECT) to return the reference.
What typing problems are you encountering exactly?
by Gothmog
Wed Jan 13, 2016 11:57 am
Forum: ABAP
Topic: View the code in a method for an interface.
Replies: 1
Views: 1633

Re: View the code in a method for an interface.

The method in the interface has no code, only a definition (level, parameters...) - the implementing classes have the code. In SE18 : menu Implementation/Overview, select the implementation that you want to view (or do it in SE19). In this BAdI implementation, you can see the code (of the method in ...
by Gothmog
Wed Jan 13, 2016 4:26 am
Forum: Logistics MM
Topic: Cannot change the PO price because of PIR
Replies: 1
Views: 1761

Re: Cannot change the PO price because of PIR

Exits and badis, maybe - an implementation of ME_PROCESS_PO_CUST could be the culprit.
by Gothmog
Fri Jan 08, 2016 5:47 am
Forum: CRM :: SAP CRM
Topic: Line 'entity ?= current' is failing [RESOLVED]
Replies: 2
Views: 9224

Re: Line 'entity ?= current' is failing

Well, the casting will fail if current is not a ref to cl_crm_bol_entity (or one of its sub-classes).
What is current's actual type ?
by Gothmog
Mon Nov 30, 2015 5:40 am
Forum: ABAP
Topic: Internal tables in abap classes
Replies: 1
Views: 1389

Re: Internal tables in abap classes

Is the data used only within each method? If yes, local data.
However, the table type can be defined in the class, and used in both method.
by Gothmog
Thu Nov 19, 2015 11:08 am
Forum: ABAP
Topic: Logical Database for FBL3N
Replies: 1
Views: 1781

Re: Logical Database for FBL3N

FBL3N => SDF
FBL1N => KDF

This is how you can find out:
- in the transaction, menu System/Status...
- double-click on the Program name
- menu Goto/Attributes
In the attributes, look for Logical database
by Gothmog
Tue Oct 27, 2015 6:34 am
Forum: ABAP
Topic: Logical Database DDF
Replies: 4
Views: 2894

Re: Logical Database DDF

Yes, the logical database uses this function module to determine the due date. A solution would be to calculate/get either one of these fields in additional fields instead of the logical database structure. I'm not sure there is a workaround to fit data from parallel branches of a logical database (...
by Gothmog
Tue Oct 27, 2015 4:23 am
Forum: ABAP
Topic: Logical Database DDF
Replies: 4
Views: 2894

Re: Logical Database DDF

It seems to use function module DETERMINE_DUE_DATE for this (for account types KOART = D or K) - you could check if this works for you.