Skip to Content
author's profile photo Former Member
Former Member

CFM1 flags

Hi experts,

I am working on a complex CIF for Material master, customer material and customer material info record.

I am writing logic in function exit EXIT_SAPCLMAT_001. My requirement is based on the check boxes in CFM1, I need to write logic .(MATLOC , MARC etc data).

I am unable to get the all the check boxes/flags of CFM1 tcode to this exit.

Could anybody help me

1)how to get the selection screen checkbox data from CFM1 to this exit. if not this exit, how to handle this requirement.

2)when selected 'customer material'....Customer material details are populated. How to get Customer number (KUNNR) value to this exit? I tried to search all CIF importing/changing tables in exit like MATLOC/MARA/MARC ..etc, but unable to get customer number

example: in CFM1 ---> material dependent object --> check box 'material' ... CB 'customer Material'...

I have done lot of searching on this forum, but unable to get the information.

Thanks for your help.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Sep 29, 2014 at 07:30 PM

    Hi,

    For material master you can use BAdI: SMOD_APOCF005.

    In case you need to read more information from ECC when the materials are CIF'd you can use FM: 'RFC_READ_TABLE' in APO using this BadI.

    Check this document that has a sample code:

    APO SNP - Master Data Automation

    Now for Customer material I have never enhanced the CIF. I made a quick search and I am not sure if there us a badi or exit for it.

    Maybe you can debug the CIF when the custmer material is CIF'd and check if there is an exit or badi or enhancement point available for your requirement.

    Read this article if you don't know how to debug the CIF:

    Debug a CIF

    Kind Regards,

    Mariano

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.