cancel
Showing results for 
Search instead for 
Did you mean: 

MDG-S Excel upload utility

Former Member
0 Kudos

I want to add extra standard SAP fields to the upload for business partner / vendor.  I’m using this process: http://scn.sap.com/docs/DOC-48343. 

It uses methods of an implementation class for BADI_MDG_FILECONVERTER. I've managed to add incoterms to the load because there was a field in the structure of CS_PROXY of method MAP_FIELDS_TO_PORG which I could map the csv field to. 

I just added the line below to the method and it works without having to do anything else:

READ TABLE it_fields INDEX 28 INTO cs_proxy-purchasing_terms-incoterms-classification_code."Incoterms LFM1-INCO1

I also want to add the following standard SAP fields:

Table

Field

Description

LFM1

KALSK

Group for Calculation Schema (Vendor)

LFM1

WEBRE

Indicator: GR-Based Invoice Verification

LFM1

KZAUT

Automatic Generation of Purchase Order Allowed

LFB1

REPRF

Check Flag for Double Invoices or Credit Memos

LFB1

FDGRV

Planning group

LFA1

BRSCH

Industry key

The problem is, those fields don’t appear in any of the cs_proxy structures for any of the methods.

I've looked through the documents in Configuration and Enhancement of SAP Master Data Governance http://scn.sap.com/docs/DOC-7858 but this situation doesn't seem to be mentioned.  What do I need to do to get these extra fields to appear in the cs_proxy structures?

Regards,

Simon

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member219747
Participant
0 Kudos

Hi Simon,

Could you please share your working code for this BADI Implementation as a reference?

We have a similar requirement currently.

Thanking you well in advance.

Regards,

Mrityunjai