‎2010 Jun 08 10:26 AM
Hi all,
i use function GN_DELIVERY_CREATE to create an outbound delivery.
I am passing the values in structures IT_GN_TEXTH (Header text), IT_GN_TEXTL (Item text) but texts
are not created in delivery.
Does anybody know THE MINIMUM FIELDS TO PASS TO THOSE STRUCTURES.
Same problem without a solution is described in post
thx in advance
Markus
‎2010 Jun 08 11:49 AM
Hi,
you can see how these tables are processed in routine gn_match_texts_wms in include LV50SFWM. SO you can put a break point here and call your FM to see what is going on and what you need to set up.
Cheers
‎2010 Jun 08 10:47 AM
In 'IT_GN_TEXTH' you have to pass RFBEL, RFPOS, TDOBJECT, TDNAME, TDID, TDSPRAS. And in 'IT_GN_TEXTL', you have to pass RFBEL, RFPOS, TDID, TDSPRAS, TDFORMAT, TDLINE.
Remember for header texts, leave value of RFPOS as blank.
‎2010 Jun 08 10:53 AM
Hi Birendra Chatte,
thx for your answer.
Concerning the parameters RFBEL and RFPOS: I dont know which values I have to pass. When calling the
function i dont have the delivery number (RFBEL??) and the position (RFPOS??)...
Could you give an example?
Markus
‎2010 Jun 08 11:49 AM
Hi,
you can see how these tables are processed in routine gn_match_texts_wms in include LV50SFWM. SO you can put a break point here and call your FM to see what is going on and what you need to set up.
Cheers
‎2010 Jun 09 1:11 PM
Hi Martin,
thx for this hint, but debugger does not stopp in this FORM you posted.
Any other ideas?
‎2010 Jun 09 1:13 PM
Hi Markus,
In 'IT_GN_TEXTH' you have to pass RFPOS, TDOBJECT, TDNAME, TDID, TDSPRAS. And in 'IT_GN_TEXTL', you have to pass RFPOS, TDID, TDSPRAS, TDFORMAT, TDLINE.
Remember for header texts, leave value of RFPOS as blank.
Regards,
Birendra
‎2010 Jun 10 7:47 AM
‎2010 Jun 11 4:15 PM
Hi Markus, oje, all diese Leute, die nur labern, es aber nie probiert haben... )
So your lucky as I had the same issue today Here's the my solution (Inbound delivery for purchase order):
First, you have to fill the parameter IS_BORGR_CONTROL-SAVE_TEXTS = 'X'. Now you will see the mentioned break-point is reached.
Surprisingly for a PO reference you have to use these:
RFBEL=EKKO-EBELN and RFPOS=EKPO-EBELP
If you have no reference try RFBEL='$ 1' (8 spaces!) and RFPOS='000010' counting. I did not try this! Maybe you can give some feedback here.
Gruß Uwe.
Edited by: Uwe Beyer on Jun 11, 2010 5:16 PM
‎2010 Jun 17 3:49 PM
Hello Uwe,
leider ist im SDN die Methodik frage->googeln->irgendwas_antworten weit verbreitet... das kann einem ganz schön auf den Zeiger gehen....danke für Deine Mühe...
thx for you answer. Unfortunately it didn't work out for me, texts are not created even if I fill the parameters like you proposed.
I have to find another solution.
Regards,
Markus
‎2010 Sep 24 12:52 PM
Hi Markus,
now I had the problem to create a header text for an inbound delivery without reference. The point is - leave RFBEL and RFPOS initial!!! See Form gn_match_texts_wms(saplv50s) called in kopieren_endrunde.
And take care the text control customizing is set up properly!
Gruß Uwe.
Edited by: Uwe Beyer on Sep 24, 2010 1:52 PM