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

IDoc Problem.

Former Member
0 Likes
623

i am trying to update invoice throught a z function via idoc. This works good if i try to post it through we19. but when the idocs are directly inbound from external system this fails. and give the below error.

“Entry too long (please enter in the format ____.__.__ ) “

but if process the same idoc using we19 it gets posted.

Further to add on if try to re post this with program rdbinput then i also gets posted but if i try to use the same program in background job the again gets the same error.

so a bit confused. can anybody help here.

5 REPLIES 5
Read only

former_member404244
Active Contributor
0 Likes
558

Hi,

what i feel is when the idoc is coming directly from external system,the date format is different and when u r using in WE19,it might be different...kindly check the same...try to use the same format and check..

Regards,

Nagaraj

Read only

0 Likes
558

thanks for reply.

but if try to re´post the same external idoc via we19 it gets posted... so the data in both the case is same ... then why it only fails when it directly inbound or when these are executed in background.

Read only

0 Likes
558

Hi Hema ,

Please check the Partner Profile in WE20 .Check process code and Function module .

Read only

0 Likes
558

thanks!! they are perfect ... in dont think there is any problem ....

Read only

Former Member
0 Likes
558

After looking in sap notes found that this is standard bug in 4.7. and all our exploration to resolve this leaded us to only one solution and that was to service pack upgrade. This was not a wise acitvity so i had to scrap by bdc in idoc and wrote a bapi to accomplish my task.

So if bdc is failling in background mode (i had this probelm in sap 4.7) or via inerface from external system then better write a BAPI or direct table update (not recommended).