cancel
Showing results for 
Search instead for 
Did you mean: 

Credit check does not dismiss picked quantity

daniel_hermann
Explorer
0 Kudos

Hello,

I have a problem with

BaDI LE_SHP_DELIVERY_PROC

Method CHANGE_DELIVERY_ITEM

Here I insert the picked quantity on creation of the delivery:

if ( cs_likp-vkorg NE '1000' )

   and ( IF_FLAG_NEW_ITEM = 'X' ).

     cs_lipsd-pikmg   = cs_lips-lfimg.

     cs_lipsd-g_lfimg = cs_lips-lfimg.

     cs_lipsd-vrkmp   = cs_lips-vrkme.

     cs_lipsd-updkz   = 'u'.

     cs_lipsd-lips_up = 'u'.

     cs_v50agl_cust   = 'x'.

     perform pickmenge_bearbeiten in program sapfv50p.

endif.

Now I got the problem that without this coding I am not able to insert a picked quantity because of credit check.

"Subsequent function '' not possible due to a credit block" should appear in here but it doesn't.

How could I get this message or how do I prevent my code to be executed when a credit block is active?

Could anyone help me please.

Accepted Solutions (0)

Answers (1)

Answers (1)

moazzam_ali
Active Contributor
0 Kudos

Hi

You should ask this question in ABAP forum because this is more related to ABAP development.

Thank$

daniel_hermann
Explorer
0 Kudos

Thank you.

I've created a new one

http://scn.sap.com/thread/3366581