12-16-2008 6:41 AM
Hi All,
Need your help ...
Which Inbound IDOC i can use for Updating the Customer Credit Limit(Tcode FD32)...
I had searched but i could not get any information, Please suggest me on how to update and post customer credit limit in SAP
Or do any BAPI exists for this?
Please Help me...
Thanks and Regards,
Sridhar Reddy
12-16-2008 6:47 AM
12-17-2008 2:20 AM
Hi Gautham,
I have tried using CRESTA01 IDOC, but it is updating the Table KNKKF1 (BAPI DebtorCreditAccount.ReplicateStatus -->FM BAPI_CREDIT_ACCOUNT_REP_STATUS)
But as per The TCODE -->FD32 the field Customer Credit Limit is from Table KNKK so we need to update that table as any of the IDOCs not updating them.
I have tried a FM CREDITLIMIT_CHANGE which is updating the KNKK table. and which is being reflected in FD32. BUt problem is that FM we need to pass information to another table KNKA. \
Please can you let me know if we can create a new FM such that we can Insert/update only KNKK table..
Thanks and Regards,
Sridhar Reddy
11-28-2011 8:20 AM
Hi
U can use CREDITLIMIT_CHANGE FM only it will works fine, KNKA ia mandatory parameter but u cant pass the knka related parameters, See the sample code below
UPDATE KNKK-CL WITH UKMBP CL
move-corresponding gis_knkk to i_knkk.
i_knka-kunnr = i_knkk-kunnr.
move-corresponding i_knka to yknka.
move-corresponding i_knkk to yknkk.
upd_knkk = 'U'.
upd_knka = ''.
if not gis_final-convalue is initial.
i_knkk-klimk = gis_final-convalue.
else.
i_knkk-klimk = gwa_ukmbp-credit_limit.
endif.
xneua = space.
xrefl = space.
if gis_knkk-mandt = '900'.
call function 'CREDITLIMIT_CHANGE'
exporting
i_knka = i_knka
i_knkk = i_knkk
upd_knka = upd_knka
upd_knkk = upd_knkk
xneua = xneua
xrefl = xrefl
yknka = yknka
yknkk = yknkk.
if sy-subrc EQ 0.
commit work and wait.
endif.
Thanks
Gupta
06-16-2009 8:00 AM
10-09-2023 8:15 AM