cancel
Showing results for 
Search instead for 
Did you mean: 

From which table in SRM venor address is comming to BBP_PO smartform

Former Member
0 Kudos

Hi All,

From which table in SRM the vendor address is comming to smartform, we are getting # 's in the smartform , so we need to correct the error.

Can any one tell us from which table the vendor information comming.

Regards

-


cb

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

solved

Former Member
0 Kudos

Hi,

If you have Vendor Partner number, then goto table BUT021_FS, give the partner number then you will get the addresses related to that vendor, take that address which is marked as 'Default' and then go to table ADRC, to check the address details.

Former Member
0 Kudos

Hi All,

we are able to fine the souce from where the vendor address is comming it is from ADRC table ,but out problem is as below

While creating the PO user has changed the vendor address in 'Partner Overview"   and the spaces which are added in the po sceen are converting into # in the samartform

Can any one let us know why this happening.

Regards

-


cb

laurent_burtaire
Active Contributor
0 Kudos

Hello,

What is your SAP SRM component version ?

For SRM 7.0, you could check OSS note 1407946 - Tab in longtext is displayed as # in PO smartform and its related notes (which include lower SRM component versions).

Regards.

Laurent.

Former Member
0 Kudos

Hello Laurent ,

thanks a lot for your reply, but we are using SRM5.0 with 16th package upgrade.

Regards

-


cb

former_member183819
Active Contributor
0 Kudos

Note 1093851 - In PO Smart Form Preview Line break not displayed correctly

In header text and item texts of Purchase Order line breaks are not reflected in the print preview when using smart forms as the output medium. Instead # is displayed after each sentence.

Other terms

Smart Forms, Purchase Order, BBP_PO, Header Text, Item texts, smartforms, Print Preview, cl_abap_char_utilities, newline, linebreak.

Reason and Prerequisites

This problem is due to program error.

Solution

1. Implement following steps manually:

2. Run transaction 'smartforms' .

3. Open the smartform BBP_PO in change mode.

4. Expand the node 'Global Settings' from the left hand navigational panel.

5. Double Click on the node 'Global Definitions' under the main node 'Global Settings'.

6. On the right hand pane, click on the 'initialzation' tab.

7. Scroll down to the bottom of the editor once it opens up.

8. Add the following code to it.

9. *******Start of insertion

10. *-- Code for line breaks

DATA: lt_txt1 TYPE STANDARD TABLE OF string .

DATA: ls_ltxt1 TYPE string ,

ls_ltxt TYPE bbp_pds_longtext .

DATA: lt_item TYPE bbpt_pd_longtext ,

lt_header TYPE bbpt_pd_longtext .

DATA: lv_counter TYPE ec_counter .

*-- Header Text

LOOP AT gt_ltxt INTO ls_ltxt WHERE tdid EQ 'HTXT'.

DELETE gt_ltxt INDEX sy-tabix .

ls_ltxt1 = ls_ltxt-tdline.

SPLIT ls_ltxt1 AT cl_abap_char_utilities=>newline INTO TABLE lt_txt1.

LOOP AT lt_txt1 INTO ls_ltxt1 .

ls_ltxt-tdline = ls_ltxt1 .

APPEND ls_ltxt TO lt_header .

CLEAR : ls_ltxt-tdline , ls_ltxt1 .

ENDLOOP .

CLEAR lt_txt1 .

ENDLOOP .

CLEAR ls_ltxt .

LOOP AT lt_header INTO ls_ltxt .

ADD 1 TO lv_counter .

ls_ltxt-counter = lv_counter .

MODIFY lt_header FROM ls_ltxt INDEX sy-tabix .

ENDLOOP .

APPEND LINES OF lt_header TO gt_ltxt .

CLEAR : lt_txt1 , ls_ltxt .

*-- Item Text

LOOP AT gt_ltxt INTO ls_ltxt WHERE tdid EQ 'ITXT'.

DELETE gt_ltxt INDEX sy-tabix .

ls_ltxt1 = ls_ltxt-tdline.

SPLIT ls_ltxt1 AT cl_abap_char_utilities=>newline INTO TABLE lt_txt1.

LOOP AT lt_txt1 INTO ls_ltxt1 .

ls_ltxt-tdline = ls_ltxt1 .

APPEND ls_ltxt TO lt_item .

CLEAR : ls_ltxt-tdline , ls_ltxt1 .

ADD 1 TO ls_ltxt-counter .

ENDLOOP .

CLEAR lt_txt1 .

ENDLOOP .

APPEND LINES OF lt_item TO gt_ltxt .

******End of insertion

11. Check, Save and Activate the form.