cancel
Showing results for 
Search instead for 
Did you mean: 

Bom during configuration

Former Member
0 Kudos

Dear all,

i need to have the bom result data into variant function abap , is there any fm or exit in order to have the following information?

Example:

FG A

Char 1 = A

FG (Configurable)

     SG

         

          Component 1 = $self.char 1 = 'A'

          Component 2 = $self.char 1 = 'B'.

My requirement to have the bom result in the abap function (CU66 , CU01 already created).

Thanks a lot

Daniele

Accepted Solutions (0)

Answers (1)

Answers (1)

Ritz
Active Contributor
0 Kudos

Daniele Pistilli,

Question is not clear , can you please add some more deatils in example and expected results.

I am unable to understand do you need a function like CU50 which gives result for configuration simulation or something else.

Thanks

Ritesh

Former Member
0 Kudos

Hi Ritesh,

i try to clarify my requirement.

I have created a superbom with selection condiction for FG configurable and SG configurable ( only first have the configuration profile).

I have in configuration monitor (CU50 or VA02) the following charatteristics:


Cha1  (type char) -> (single value)   -> value allow A OR B

Char1_Q (Type NUM) -> Refer (STPO-MENGE)

I have to fill the Char1_Q with quantity BOM of item linked by selection condiction  , and after that the user could be modify it in order to set a new quantity bom item and as factor for pricing.



I would like to find a fm in order to have the same result of  CU50 after push bottom "result".


With the standard FM of bom explosion in not possible do it, because don't work with CUOBJ logic.


I find also that the system assgn a temporary cuobj during configuration but i don't know how use it.


Thanks a lot

Daniele

Ritz
Active Contributor
0 Kudos

Daniele Pistilli,

Still i have few questions.

Based upon user selected values and BOM component quantity can be changed by standard VC.

Why do you need an ABAP function to do same?

Based upon user selected value , say you have characterstic QUAN where user specify how many SG he want and based upon user selected value you can pass these to Char1_Q (Type NUM) -> Refer (STPO-MENGE) and BOM quantity will be changed. 

Hope it may help you.

Thanks

Ritesh

Former Member
0 Kudos

Dear Ritesh ,

i would like to use the standard sap, but i don't know is possible.


I have this scenary :


Super bom


FG 


     SG 1

          item 0001   $self.A = 1     q = 1

         item 0002   $self.A = 2     q = 3

    

                 SG 1

                    item 0001   $self.B = 1     q = 3

                   item 0002   $self.B = 2     q = 5

    


Configuration monitor (CU50 or VA01)


char A = 1

char_q = 1 (ref- stpo-menge ) use will change this.   (result desiderated)


char A = 2

char_q = 3 (ref- stpo-menge ) use will change this. (result desiderated)


char B= 1

char_q = 3 (ref- stpo-menge ) use will change this. (result desiderated)


char B = 2

char_q = 5   (ref- stpo-menge ) use will change this. (result desiderated)


Thanks a lot

Daniele


  

Ritz
Active Contributor
0 Kudos

Daniele Pistilli,

It seems your setup is correct only issue could be type of dependency your are using it should be procedure instead of selection condition.

Create procedure with syntax like below.

For Component A , quantity 1 , if char_A = 1 , no dependency needed. as in BOM you can mention quantity = 1,

Component A , quantity 2 (1 +1)  , if char_A = 2 , it means when user select value 2 for char_A component A quantity for component should change to 2. for this create a dependency type procedure with syntax like below

create reference QUANT, which refers to the component quantity in a BOM item.

$SELF.QUANT = MDATA $SELF.QUANT + 1 if CHAR_A = 2. ( please remember to run syntax check and status of dependency should be release (1) )

Assign procedure to item in BOM.  It will work out fine.

Please check and reply if you see any issue.  I am sure it will work for you.

Thanks

Ritesh

Please close the thread if issue is resolved.