We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

[sap-abap] Populating texts in BDC

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Posted by Niceguy7376 (SAP )
on Aug 21 at 2:36 PM

Hi,
Now that I was able to read text from quote, I need to add the same text during the contract creation for the same corresponding line. Business wants to have a bdc created without being saved so that they can take a look at the contract and then click save.

Now, how can I add texts to line items? For each line in VA41, there are multiple options of texts. I need to add to one of them. When I do a recording, I get the screen and the correct text that i need to add but the cursor position is not coming up in the recording. hence I am unable to update the texts.

Any ideas?

Following is the code until now.

* Populate line item text if present in crm quote.
if wa_text_flag = 'Y'.
PERFORM BDC_SCREEN USING :
'X' 'SAPMV45A' '4001' ,
' ' 'BDC_CURSOR' V_FLD3 ,
' ' 'BDC_OKCODE' 'PICK' ,
' ' 'BDC_OKCODE' '=PTEX_SUB' .
PERFORM BDC_SCREEN USING :
'X' 'SAPMV45A' '4003' ,
' ' 'BDC_OKCODE' '=%_GC 123 22' .
loop at it_text into wa_text.
endloop.

After I enter the line item data in main VA41 screen, I select the corresponding line (V_FLD3 has the corresponding material that I entered) and go to texts window. Then I select the corresponding text (Contract text) . The text that i needs to enter is in internal table it_text of same type TLINE).

Ravi

_________________________________________________________________
Windows Live: Make it easier for your friends to see what you're up to on Facebook.
http://windowslive.com/Campaign/SocialNetworking?ocid=PID23285::T:WLMTAGL:ON:WL:en-US:SI_SB_facebook:082009=
__.____._
Copyright © 2009 CEB Toolbox, Inc. and message author.

Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251

0 comments:

Post a Comment

T r a n s l a t e to your language