cancel
Showing results for 
Search instead for 
Did you mean: 

CV04n webgui access

madhuananth
Participant
0 Kudos

Hi,

We are trying to construct a webgui URL to access a document through the transaction cv04n and pre-populate the document information. Here is the URL:

http://xxx:1234/SAP/BC/GUI/SAP/ITS/WEBGUI?~transaction=*cv04n DRAW-DOKNR=9878;DRAW-DOKAR=SWD;DRAW-DOKVR=00~OKCODE=ONLI

However the URL takes us only till the transaction cv04n but does not help in pre-populating the document information. Any suggestions?

We did refer to previously published articles/questions on this topic but the discussions are inconclusive.

thanks

Ananth

Accepted Solutions (1)

Accepted Solutions (1)

former_member189631
Active Contributor
0 Kudos

Hi Ananth,

The point is, your Ok code value should be.

SEL

Best Regards,

Ram

madhuananth
Participant
0 Kudos

Excellent Ramganesan Karuppaiah ! Thank you.

Regards,

Ananth

Answers (4)

Answers (4)

former_member189631
Active Contributor
0 Kudos

Hi Anath,

Please use the name STDOKSA-LOW for he status field.

The URL will be as below in this case,

https://<server>:<port>/sap/bc/gui/sap/its/webgui?~transaction=*CV04N%20STDOKNR-LOW=100534;STDOKSA-L...

Best Regards,

Ram

madhuananth
Participant
0 Kudos

Hi Ramganesan,

thanks for your response. I did try the link you had shared but it would still not fill the status field. I tried STATUS=RE instead of STDOKSA-LOW and it worked correctly. However thanks for spending time on this and providing your feedback.

Regards,

Ananth

former_member189631
Active Contributor
0 Kudos

Hi Ananth,

Please try this for CV04N.

https://<server>:<port>/sap/bc/gui/sap/its/webgui?~transaction=*CV04N%20STDOKNR-LOW=<DocNo>;DYNP_OKC...

Here, <DocNo> is your document number.

Best Regards,

Ram

madhuananth
Participant
0 Kudos

Ramganesan,

Another question on this topic. I want to pass a value to the status field for example "RE". I used the following link.

http://xxx:1234/SAP/BC/GUI/SAP/ITS/WEBGUI?~transaction=*CV04n STDOKNR-LOW=100534;STSTABK-LOW=RE;DYNP_OKCODE=SEL

For some reason, the status field value does not get passed to the screen. Could you help with this?

thanks,

Ananth

cris_hansen
Advisor
Advisor
0 Kudos

Hi Ananth,

Please try following the SAPGUI troubleshooting.

If you have it working via SAPGUI, then WEBGUI should work too.

Regards,

Cris

cris_hansen
Advisor
Advisor
0 Kudos

Hi Ananth,

You should follow the syntax from this Wiki page.

Kind regards,

Cris

madhuananth
Participant

Hello Cristiano,

Thanks for your response. I am not sure which part of the syntax I had referred above is incorrect. I did go through the wiki and I found that the syntax is in line with what I had mentioned above. However instead of OK code I changed to

DYNP_OKCODE=OKCODE but still the screen does not get pre-filled.

REgards,

Ananth