Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Using IDOC_INPUT_COND_A to post pricing failed.

Former Member
0 Likes
966

Hi Gurus,

I have problem here again.

The inbound IDOC (tested in WE19) was successfully processed and in green status. The problem is, when check the pricing in Tcode VK13, it doesn't exist yet!!

Re-processed the IDOC again and debugged in, everything seems fine to me.

The problem now is the pricing is not posted yet.

Any Guru can enlighten me in this?

Thanks.

Best Regards,

Jason.L

3 REPLIES 3
Read only

Former Member
0 Likes
725

Ahh...maybe I should show what data I have entered for testing..

E1KOMG:
KVEWE = 'A'
KOTABNR = '890'
KAPPL = 'V'
KSCHL = 'ZWS0'
VKORG = 'TT51'
VTWEG = '02'
SPART = 'W8'
KUNNR = '0130004059'
MATNR = '000000000100000443'

E1KONH:
DATAB = '20080701'
DATBI = '99991231'

E1KONP:
KSCHL = 'ZWS0'
KBETR = '250'
KONWA = 'RMB'
KPEIN = '1000'

E1VFSCAH:
SCABAS = 'D'
KAPPL = 'F'
**remark: it seems like these two fields are mandatory field to put in some value tha match data in table TVFSCB.
If not short dump error MESSAGE_TYPE_X will be shown.
Functional insist when 3rd party send in the data should not have these value (it's optional, not mandatory).
I have no idea what to do with this as well**

Thanks.

Edited by: KAR SENG LAW on Aug 28, 2008 3:33 AM

Read only

Former Member
0 Likes
725

Hi ,

after your process,have you updated the database.

use group of function modules RV_CONDITION_COPY, RV_CONDITION_SAVE, RV_CONDITION_RESET + commit

thanks

karthik

Read only

0 Likes
725

ahh....yes yes...in the standard program it using these function module as well.

The sequence in the SAP program IDOC_INPUT_COND_A is:

CALL FUNCTION RV_CONDITION_RESET. --> CALL FUNCTION RV_CONDITION_COPY --> CALL FUNCTION RV_CONDITION_SAVE --> COMMIT WORK AND WAIT. --> SET UPDATE TASK LOCAL. --> CALL FUNCTION RV_CONDITION_RESET. --> user exit --> COMMIT WORK AND WAIT. --> SET UPDATE TASK LOCAL.

I don't really understand the syntax WAIT and SET UPDATE TASK LOCAL after read the documentation regarding these syntax.

Is it possible that this is the code that causing the pricing not posted?

Please advice.

Thanks a lot.