on 03-06-2018 11:04 AM
Hi Experts,
In va01 when we create one time customer it ask for address which does'nt get stored in the kna1 table.. i have developed smartform where the address is coming but not the case of one customer...i have tried using table sadr and adr2,3,4,5 but not able to find as there is not data... can anyone help me its urgent.
Regards,
Richa
Try passing the order number in VBPA where you take the value of ADRNR and pass it on to ADDRNUMBER in ADRC table
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear G Lakshmipathi,
Can you share query
Can you share query
Not sure what do you mean by this !!!!
If you know how to table join in SQVI, try with the tables suggested above. Else, first execute SE16 / SE16N, input VBPA table and take the value from ADRNR field. Now go back and input ADRC table and pass the ADRNR value in ADDRNUMBER field, so that, you will get the desired result.
Dear G Lakshmipathi,
Please check our query and give me idea how to print Address in ONE Time customer
READ TABLE IT_VBPA INTO WA_VBPA WITH KEY VBELN = WA_VBPA-ADRNR.
READ TABLE IT_ADRC INTO WA_ADRC WITH KEY ADDRNUMBER = WA_ADRC-ADDRNUMBER.
This is not a "query". This is an ABAP code fragment that is reading some internal tables. SCN members can't possibly know what data is in those tables or even what they are. But unless you used a very odd definition it doesn't seem to make sense to me to expect an entry where VBELN = ADRNR.
Simply run the form in debugger and see for yourself what data is where. If you're not an ABAPerr then get an ABAPer locally to help with this.
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.