‎2010 Apr 21 9:08 AM
Hi all,
i ahve a requirement to create pur req through bdc(me51) , and i m facing a problem while craeting is how to uplaod the long text for item , i have uploaded long text in int table, but i don't know how to save it in me51 tcode , i know about save_text fn module but problem is taht i don't know what to pass in header parametr , coz i don't have text name until i save my pr , so how to create text while creating pr.
thanks
regards
sarabjit
‎2010 Apr 21 9:29 AM
Hi Sarabjit,
Try to use any userexit which triggers before save and or during preparing for save, at this point you can get the document number and item number from buffer tables.
Check the user exits which suits your requirements.
Regards,
Dinakar.
‎2010 Apr 21 9:29 AM
Hi Sarabjit,
Try to use any userexit which triggers before save and or during preparing for save, at this point you can get the document number and item number from buffer tables.
Check the user exits which suits your requirements.
Regards,
Dinakar.
‎2010 Apr 21 10:08 AM
HI,
In header of save_text function module you have to pass the following:
TDOBJECT = EBAN
TDNAME = CONCATENATE PR NUMBER(LENGTH 10) AND ITEM NUMBER(LENGTH 5 TOTAL 15)
FOR EXAMPLE PRNUMBER 10001304 AND ITEM NUMBER 10 FOR THIS TD NAME IS 001000130400010
TDID = B01 (FOR ITEM TEXT)
TDSPRAS = SY-LANGU
I hope this will help you.
Regards and Best wishes.
‎2010 Apr 21 10:42 AM
thnaks to kiran and dinakr , but kiran i don't know what is pr no , coz i haven't save my pr yet so , i don't have the pr no, but i will try diankar's solution and revert back.
nways thanks to both of u
sarabjit